优化 用户协议与隐私政策
This commit is contained in:
@@ -95,7 +95,9 @@ export default {
|
||||
time_count: 60,
|
||||
consentPact: true,
|
||||
pactList: [{
|
||||
"text": "《用户协议与隐私政策》"
|
||||
"text": "《用户协议》"
|
||||
},{
|
||||
"text":"《隐私政策》"
|
||||
}]
|
||||
};
|
||||
},
|
||||
@@ -269,15 +271,27 @@ export default {
|
||||
},
|
||||
moveHandle(){
|
||||
return;
|
||||
},
|
||||
viewAgreement(index) {
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
title: "用户协议与隐私政策"
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
viewAgreement(index) {
|
||||
console.log(index);
|
||||
if (index == 0) {
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
title: "用户协议"
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (index == 1) {
|
||||
this.$u.route({
|
||||
url: '/pages/login/privacy_policy',
|
||||
params: {
|
||||
title: "隐私政策"
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
let token = uni.getStorageSync('token');
|
||||
|
||||
37
pages/login/privacy_policy.vue
Normal file
37
pages/login/privacy_policy.vue
Normal file
File diff suppressed because one or more lines are too long
@@ -27,8 +27,12 @@
|
||||
<text>用户反馈</text>
|
||||
<image src="/static/image/user/1.png"></image>
|
||||
</view>
|
||||
<view class="nav" @click="viewAgreement()">
|
||||
<text>用户协议与隐私政策</text>
|
||||
<view class="nav" @click="viewAgreement(0)">
|
||||
<text>用户协议</text>
|
||||
<image src="/static/image/user/1.png"></image>
|
||||
</view>
|
||||
<view class="nav" @click="viewAgreement(1)">
|
||||
<text>隐私政策</text>
|
||||
<image src="/static/image/user/1.png"></image>
|
||||
</view>
|
||||
<view class="nav" @click="clearCache">
|
||||
@@ -147,13 +151,27 @@ export default {
|
||||
url: '/pages/user/' + url
|
||||
});
|
||||
},
|
||||
viewAgreement() {
|
||||
viewAgreement(index) {
|
||||
if (index == 0) {
|
||||
|
||||
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
title: "用户协议与隐私政策"
|
||||
title: "用户协议"
|
||||
}
|
||||
});
|
||||
}
|
||||
if (index == 1) {
|
||||
|
||||
|
||||
this.$u.route({
|
||||
url: '/pages/login/privacy_policy',
|
||||
params: {
|
||||
title: "隐私政策"
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user