|
|
- <template>
- <view class="works" @click="$emit('click')">
-
- <userHeadItem :item="item" />
-
- <daynamicInfo :item="item" />
-
- <view class="bottom">
- <!-- 浏览 -->
- <view class="browse">
- {{ item.isBrowse }}
- <view class="bontt">
- <uv-icon name="eye-fill"></uv-icon>
- </view>
- </view>
- <!-- 评论 -->
- <view class="browse">
- {{ item.isComment }}
- <view class="bontt">
- <uv-icon name="chat-fill"></uv-icon>
- </view>
-
- </view>
- <view class="browse">
- 22
- <view class="bontt">
- <uv-icon name="thumb-up-fill"></uv-icon>
- </view>
- <!-- 点赞 -->
-
-
- </view>
- <view class="browse">
- 0
- <view class="bontt">
- <uv-icon name="attach"></uv-icon>
- </view>
-
- </view>
- <callPhone :phone="item.phone" :sexName="item.sex" />
- </view>
- </view>
- </template>
-
- <script>
- import userHeadItem from '@/components/list/dynamic/userHeadItem.vue'
- import daynamicInfo from '@/components/list/dynamic/daynamicInfo.vue'
- export default {
- components: {
- userHeadItem,
- daynamicInfo,
- },
- props: {
- item: {},
- },
- data() {
- return {}
- },
- methods: {},
- }
- </script>
-
- <style scoped lang="scss">
- .works {
- margin: 40rpx 20rpx;
- background-color: #fff;
- padding: 40rpx;
- border-radius: 20rpx;
- box-shadow: 0 0 6rpx 6rpx #00000011;
-
- .bottom {
- display: flex;
- margin-top: 20rpx;
- font-size: 24rpx;
-
- .browse {
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 0rpx 30rpx;
- color: rgb(132, 132, 132);
- margin-left: 10rpx;
- }
- .bontt{
- margin: 0rpx 5rpx;
- }
- }
- }
- </style>
|