You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
948 B
45 lines
948 B
<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}, //返回首页
|
|
emits:["selectedItem"],
|
|
data() {
|
|
return {
|
|
countList: {}
|
|
}
|
|
},
|
|
props: {
|
|
|
|
},
|
|
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>
|
|
|