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.

70 lines
1.3 KiB

1 year ago
<template>
<view class="">
<uni-popup ref="popup">
<view class="pop_detail" style="height:80%">
<record-top :dataContent="dataContent"></record-top>
<u-line></u-line>
<scroll-view style="height:400px ">
<recordListCommonInfo :dataContent="dataContent"></recordListCommonInfo>
<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>
<uni-popup />
</view>
</template>
<script>
import recordTop from '@/mycomponents/record/recordTop.vue'
import recordRequestInfo from '@/mycomponents/record/recordRequestInfo.vue'
import recordMainInfo from '@/mycomponents/record/recordMainInfo.vue'
import recordListCommonInfo from '@/mycomponents/record/recordListCommonInfo.vue'
import recordPersonInfo from '@/mycomponents/record/recordPersonInfo.vue'
export default {
emits: ['onClose'],
components: {
recordTop,
recordRequestInfo,
recordListCommonInfo,
recordMainInfo,
recordPersonInfo,
},
data() {
return {}
},
mounted() {},
props: {
dataContent: {
type: Object,
default: {}
}
},
methods: {
closePopup() {
this.$emit('onClose')
},
}
}
</script>
<style>
</style>