裂变星小程序-25.03.04
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.
 
 
 

110 lines
2.6 KiB

<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('user_xy')">裂变星小程序用户服务协议</text>
<text class="highlight" @click="$refs.popup.open('user_ys')">裂变星小程序平台隐私权政策</text>
了解详细信息如你同意请点击下方按钮开始接受我们的服务
</view>
<view class="footer flex">
<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: 30rpx;
font-size: 30rpx;
font-family: PingFang SC, PingFang SC-Regular;
font-weight: 500;
text-align: left;
color: #A2A2A2;
.highlight {
color: #474747;
font-weight: 700;
}
}
.footer {
margin-top: 60rpx;
text-align: center;
justify-content: space-between;
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 10rpx;
width: 258rpx;
height: 92rpx;
font-size: 36rpx;
font-family: PingFang SC, PingFang SC-Regular;
font-weight: 400;
box-sizing: border-box;
margin: 0;
padding: 0;
background: #F2F2F2;
color: #C3C3C3;
&-confirm {
background: #07C160;
color: #ffffff;
}
}
}
</style>