<template>
	<page-meta root-font-size="18px"></page-meta>
	<uni-popup ref="popupItems">
		<scroll-view scroll-y="true" style="background-color: #EEEEEE;height: 90vh;">
			<view class="popinpop count_shadow" style="width: 90vw;margin: 20rpx 20rpx 30rpx 20rpx;"
				v-for="(item, index) in showList" :key="index" @click="openDetail(item)">
				<com-issue :dataContent="item"></com-issue>
			</view>
		</scroll-view>
	</uni-popup>
</template>

<script>
	import comIssue from '@/mycomponents/coms/task/comIssue.vue';
	export default {
		components: {
			comIssue
		},
		props: {

		},
		data() {
			return {
				showList: [],
			}
		},
		methods: {
			openPopup(items) {
				this.showList = items;
				this.$refs['popupItems'].open("center");
			},

			openDetail(item) {
				console.log("打开子组件", item)
				this.$emit("selectedItem", item);
				this.$refs['popupItems'].close();
			},
		}

	}
</script>

<style>
</style>
