<template>
	<view class="works" @click="$emit('click')">
		
		<userHeadItem :item="item"/>
		
		<activityInfo :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
			style="margin-left: auto;"
			:phone="item.phone" 
			:sexName="item.sex"/>
		</view>
	</view>
</template>

<script>
	import mixinsSex from '@/mixins/sex.js'
	import userHeadItem from '@/components/list/dynamic/userHeadItem.vue'
	import daynamicInfo from '@/components/list/dynamic/daynamicInfo.vue'
	import activityInfo from '@/components/list/activity/activityInfo.vue'
	export default {
		mixins: [mixinsSex],
		components : {
			userHeadItem,
			daynamicInfo,
			activityInfo,
		},
		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;
				margin-left: 10rpx;
				color: rgb(132, 132, 132);
			}

		}
	}
</style>