用户协议,隐私政策分开显示

This commit is contained in:
2020-11-27 17:38:15 +08:00
parent a50daa3326
commit 365c797e28
3 changed files with 484 additions and 16 deletions

View File

@@ -57,7 +57,7 @@
<u-checkbox v-model="consentPact" shape="circle" size="30" label-size="26" icon-size="12" active-color="#ff780f">
<text>我已详细阅读并同意</text>
</u-checkbox>
<text class="pact-items" v-for="(item,index) in pactList" :key="index" @click="viewAgreement(index)"> {{ item.text }}</text>
<text class="pact-items" v-for="item in pactList" :key="item.id" @click="viewAgreement(item.id)"> {{ item.text }}</text>
</view>
</view>
<!-- denglu QQ weixin -->
@@ -95,7 +95,11 @@ export default {
time_count: 60,
consentPact: true,
pactList: [{
"text": "《用户协议与隐私政策》"
id: 1,
text: "《用户协议》"
},{
id: 2,
text: "《隐私政策》"
}]
};
},
@@ -270,11 +274,11 @@ export default {
moveHandle(){
return;
},
viewAgreement(index) {
viewAgreement(id) {
this.$u.route({
url: '/pages/login/agreements',
params: {
title: "用户协议与隐私政策"
id: id
}
});
}
@@ -356,7 +360,7 @@ export default {
.title {
font-size: 36rpx;
font-weight: bold;
margin-bottom: 150rpx;
margin-bottom: 120rpx;
color: #fff;
display: flex;
justify-content: flex-start;
@@ -403,7 +407,7 @@ export default {
line-height: 90rpx;
border-bottom: 1px #fff solid;
&:first-child {
margin-bottom: 160rpx;
margin-bottom: 100rpx;
}
&:nth-child(2) {
margin-bottom: 80rpx;