添加用户隐私协议
This commit is contained in:
@@ -52,14 +52,14 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 服务协议 -->
|
||||
<!-- <view class="pact">
|
||||
<view class="pact">
|
||||
<view class="pact-container">
|
||||
<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>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- denglu QQ weixin -->
|
||||
<button @click="logins">{{ login }}</button>
|
||||
<!-- <u-button :custom-style="customStyle" ></u-button> -->
|
||||
@@ -93,13 +93,9 @@ export default {
|
||||
timer: null,
|
||||
is_sendcode: false, // 60s
|
||||
time_count: 60,
|
||||
consentPact: false,
|
||||
consentPact: true,
|
||||
pactList: [{
|
||||
"id": '3',
|
||||
"text": "《隐私协议》"
|
||||
},{
|
||||
"id": '4',
|
||||
"text": "《使用协议》"
|
||||
"text": "《用户协议与隐私政策》"
|
||||
}]
|
||||
};
|
||||
},
|
||||
@@ -159,8 +155,10 @@ export default {
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
// 不同意协议不让登录
|
||||
if(!this.consentPact) return false;
|
||||
|
||||
// if(!this.consentPact) return false;
|
||||
// 判断是否可以点击
|
||||
// console.log(this.zhanghao);
|
||||
// if(this.clickstate==false){
|
||||
@@ -276,7 +274,7 @@ export default {
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
title: "隐私协议"
|
||||
title: "用户协议与隐私政策"
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user