<template>
	<page-meta root-font-size="16px"></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 countList" :key="index" @click="callback(item)">
				<com-count :datacontent="item"></com-count>
			</view>
		</scroll-view>
	</uni-popup>
</template>

<script>
	import comCount from '@/mycomponents/coms/task/comCount.vue';
	export default {
		components: {comCount}, //返回首页
		data() {
			return {
				countList: {}
			}
		},
		props: {

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

			callback(item) {
				this.$emit("selectedItem", item);
				this.$refs['popupItems'].close();
			},

			clear() {
				return;
			}
		},
	}
</script>

<style>
</style>
