<template>
	<view class="works" @click="$emit('click')">
		
		<userHeadItem :item="item"/>
		
		<daynamicInfo :item="item"/>
		
		<view class="bottom">
			<view class="Leavingamessage"
			@click.stop="$emit('del')">
				<uv-icon size="40rpx" name="trash"></uv-icon>
			</view>
		</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'
	export default {
		mixins: [mixinsSex],
		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 {
				margin: 0rpx 30rpx;
				color: rgb(132, 132, 132);
			}

			.Leavingamessage {
				height: 20rpx;
				width: 20rpx;
				margin-left: auto;
			}
		}
	}
</style>