<template>
|
|
<view>
|
|
<uv-modal ref="modal" :showConfirmButton="false">
|
|
<view class="modal__view">
|
|
<view class="header">
|
|
<image class="icon" src="../static/auth/caution.png" mode=""></image>
|
|
<view>
|
|
服务协议和隐私权政策
|
|
</view>
|
|
</view>
|
|
<view class="content">
|
|
请您务必审慎阅读、充分理解用户协议和隐私政策各条款,包括但不限于用户注意事项、用户行为规范以及为了向你提供服务而收集、使用、存储你个人信息的情况等。你可阅读
|
|
<text class="highlight" @click="$refs.popup.open('config_agreement')">《愈然工坊平台用户服务协议》</text>
|
|
和
|
|
<text class="highlight" @click="$refs.popup.open('config_privacy')">《愈然工坊平台隐私权政策》</text>
|
|
了解详细信息。如你同意,请点击下方按钮开始接受我们的服务。
|
|
</view>
|
|
<view class="footer">
|
|
<button class="btn" @click="onConfirm(false)">不同意</button>
|
|
<button class="btn btn-confirm" @click="onConfirm(true)">同意</button>
|
|
</view>
|
|
</view>
|
|
</uv-modal>
|
|
|
|
<configPopup ref="popup"></configPopup>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'agreementModal',
|
|
data() {
|
|
return {
|
|
}
|
|
},
|
|
methods: {
|
|
open() {
|
|
this.$refs.modal.open()
|
|
},
|
|
onConfirm(confirm) {
|
|
this.$emit('confirm', confirm)
|
|
this.$refs.modal.close()
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.modal__view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 12rpx 0 0 0;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
font-size: 32rpx;
|
|
font-family: PingFang SC, PingFang SC-Regular;
|
|
font-weight: 400;
|
|
color: #000000;
|
|
.icon {
|
|
width: 90rpx;
|
|
height: 90rpx;
|
|
margin-bottom: 26rpx;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
margin-top: 24rpx;
|
|
font-size: 28rpx;
|
|
font-family: PingFang SC, PingFang SC-Regular;
|
|
font-weight: 400;
|
|
text-align: left;
|
|
color: #707070;
|
|
|
|
.highlight {
|
|
color: #474747;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
margin-top: 60rpx;
|
|
text-align: center;
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 9rpx;
|
|
width: 223rpx;
|
|
height: 85rpx;
|
|
font-size: 28rpx;
|
|
font-family: PingFang SC, PingFang SC-Regular;
|
|
font-weight: 400;
|
|
background: #f2f2f2;
|
|
color: #707070;
|
|
&-confirm {
|
|
background: #B3997E;
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
.btn + .btn {
|
|
margin-left: 52rpx;
|
|
}
|
|
}
|
|
</style>
|