<template>
	<view class="pop_detail" style="height:80%">
		<com-item :dataContent="dataContent"></com-item>
		<u-line></u-line>
		<scroll-view style="height:320px ">
			<!-- 物品 -->
			<detail-basic-info :dataContent="dataContent"></detail-basic-info>
			<!-- <request-detail-basic-info :dataContent="dataContent"></request-detail-basic-info> -->
			<u-line></u-line>
			<!-- 包装 -->

			<!-- 库存余额 -->
			<slot>
				<!-- 每个任务的详情 -->
			</slot>
		</scroll-view>

		<view class="uni-flex u-row-center ">
			<view class="close_button" @click="closePopup">
				关闭</view>
			<!-- button 滚动不好使 -->
		</view>
	</view>
</template>

<script>
	import comItem from '@/mycomponents/item/item.vue'
	import requestDetailBasicInfo from '@/mycomponents/detail/requestDetailBasicInfo.vue'
	import detailRecommendInfo from '@/mycomponents/detail/detailRecommendInfo.vue'
	import detailBasicInfo from '@/mycomponents/detail/detailBasicInfo.vue'

	export default {
		emits: ['onClose'],
		components: {
			comItem,
			requestDetailBasicInfo,
			detailRecommendInfo,
			detailBasicInfo
		},
		data() {
			return {}
		},

		mounted() {},
		props: {
			dataContent: {
				type: Object,
				default: {}
			}
		},

		methods: {
			closePopup() {
				this.$emit('onClose')
			},
		}
	}
</script>

<style>


</style>
