emis-sapp/components/buns-privacy-dialog/buns-privacy-dialog.vue
2024-08-31 13:19:52 +08:00

84 lines
1.5 KiB
Vue

<template>
<tpx-dialog type="type-dialog" :show="show" :title="title" @onClose="handleCloseModal()">
<view style="position: relative;height: calc(70vh); width: 600rpx;">
<tpx-layout>
<template v-slot:body>
<rich-text :nodes="content"></rich-text>
</template>
<template v-slot:footer>
<view v-if="showAgreeBtn" class="blcok-white-noradius" style="margin-top: 0;margin-bottom: 0;">
<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> -->
<text>已阅读同意本条款</text>
</u-button>
</view>
</template>
</tpx-layout>
</view>
</tpx-dialog>
</template>
<script>
export default {
// computed: {
// filDataList() {
// return []
// },
// },
props: {
show: {
default () {
return false
}
},
showAgreeBtn: {
default () {
return true
}
},
content: {
default () {
return ``
}
},
title: {
default () {
return ``
}
},
},
data() {
return {
}
},
created() {
},
onHide() {
},
unmounted() {},
methods: {
handleCloseModal() {
this.$emit('update:show', false)
},
handleSureBtn() {
this.handleCloseModal()
},
handleTimeFinish() {
}
}
}
</script>
<style scoped lang="scss">
</style>