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.
 
 
 
 
 
 

42 lines
896 B

<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-receipt :receiptItem="item"></com-receipt>
</view>
</scroll-view>
</uni-popup>
</template>
<script>
import comReceipt from '@/mycomponents/coms/task/comReceipt.vue'
export default {
components: {
comReceipt
},
props: {
},
data (){
return {
showList: [],
}
},
methods:{
openPopup(items) {
this.showList = items;
this.$refs['popupItems'].open("center");
},
openDetail(item) {
this.$emit("selectedItem", item);
this.$refs['popupItems'].close();
},
}
}
</script>
<style>
</style>