<template>
	<view class="works" @click="$emit('click')">

		<userHeadItem :item="item" />

		<daynamicInfo :item="item" />

		<view class="bottom">
			<view class="browse">
				{{ item.isBrowse }}浏览
			</view>
			<view class="browse">
				{{ item.isComment }}条评论
			</view>
			<view class="browse">
				点赞
			</view>
			<view class="browse">
				<view class="icon">
					<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;
				margin: 0rpx 30rpx;
				color: rgb(132, 132, 132);
				margin-left: 10rpx;
			}
		}
	}
</style>