2023-12-09 07:45:02 +00:00
|
|
|
<template>
|
2024-08-07 04:14:51 +00:00
|
|
|
<tpx-dialog type="type-dialog" :show="show" :title="title" @onClose="handleCloseModal()">
|
2023-12-09 07:45:02 +00:00
|
|
|
<view style="position: relative;height: calc(70vh); width: 600rpx;">
|
|
|
|
|
<tpx-layout>
|
|
|
|
|
<template v-slot:body>
|
2024-08-31 05:19:52 +00:00
|
|
|
<rich-text :nodes="content"></rich-text>
|
2023-12-09 07:45:02 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template v-slot:footer>
|
2024-08-31 05:19:52 +00:00
|
|
|
<view v-if="showAgreeBtn" class="blcok-white-noradius" style="margin-top: 0;margin-bottom: 0;">
|
2023-12-09 07:45:02 +00:00
|
|
|
<u-button @click="handleSureBtn()" type="primary" size="large" shape="circle"
|
|
|
|
|
custom-style="height:80rpx;font-size: 30rpx;"
|
|
|
|
|
>
|
|
|
|
|
<!-- <u-count-down :time="3 * 1000"
|
|
|
|
|
format="ss:" :autoStart="true" :millisecond="false" @change="handleTimeFinish"
|
|
|
|
|
></u-count-down> -->
|
2024-08-06 16:12:49 +00:00
|
|
|
<text>已阅读同意本条款</text>
|
2023-12-09 07:45:02 +00:00
|
|
|
</u-button>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
</tpx-layout>
|
|
|
|
|
</view>
|
|
|
|
|
</tpx-dialog>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
// computed: {
|
|
|
|
|
// filDataList() {
|
|
|
|
|
// return []
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
props: {
|
|
|
|
|
show: {
|
|
|
|
|
default () {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-08-31 05:19:52 +00:00
|
|
|
showAgreeBtn: {
|
|
|
|
|
default () {
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-08-07 04:14:51 +00:00
|
|
|
content: {
|
2023-12-09 07:45:02 +00:00
|
|
|
default () {
|
|
|
|
|
return ``
|
|
|
|
|
}
|
2024-08-07 04:14:51 +00:00
|
|
|
},
|
|
|
|
|
title: {
|
|
|
|
|
default () {
|
|
|
|
|
return ``
|
|
|
|
|
}
|
|
|
|
|
},
|
2023-12-09 07:45:02 +00:00
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
onHide() {
|
|
|
|
|
|
|
|
|
|
},
|
2024-01-30 03:09:49 +00:00
|
|
|
unmounted() {},
|
2023-12-09 07:45:02 +00:00
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
handleCloseModal() {
|
|
|
|
|
this.$emit('update:show', false)
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
handleSureBtn() {
|
|
|
|
|
this.handleCloseModal()
|
|
|
|
|
},
|
|
|
|
|
handleTimeFinish() {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
|
|
|
|
|
</style>
|