用户协议和隐私政策
This commit is contained in:
@@ -93,12 +93,17 @@ export default {
|
||||
timer: null,
|
||||
is_sendcode: false, // 60s
|
||||
time_count: 60,
|
||||
consentPact: true,
|
||||
pactList: [{
|
||||
"text": "《用户协议》"
|
||||
},{
|
||||
"text":"《隐私政策》"
|
||||
}]
|
||||
consentPact: false,
|
||||
pactList: [
|
||||
{
|
||||
"id" : 1,
|
||||
"text": "《用户协议》"
|
||||
},
|
||||
{
|
||||
"id":2,
|
||||
"text":"《隐私政策》"
|
||||
},
|
||||
]
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
@@ -272,21 +277,23 @@ export default {
|
||||
moveHandle(){
|
||||
return;
|
||||
},
|
||||
viewAgreement(index) {
|
||||
console.log(index);
|
||||
if (index == 0) {
|
||||
viewAgreement(id) {
|
||||
console.log(id);
|
||||
if (id == 1) {
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
id:1,
|
||||
title: "用户协议"
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (index == 1) {
|
||||
if (id == 2) {
|
||||
this.$u.route({
|
||||
url: '/pages/login/privacy_policy',
|
||||
params: {
|
||||
id:2,
|
||||
title: "隐私政策"
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user