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

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

@@ -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(1)">
<text>用户协议</text>
<image src="/static/image/user/1.png"></image>
</view>
<view class="nav" @click="viewAgreement(2)">
<text>隐私政策</text>
<image src="/static/image/user/1.png"></image>
</view>
<view class="nav" @click="clearCache">
@@ -147,11 +151,11 @@ export default {
url: '/pages/user/' + url
});
},
viewAgreement() {
viewAgreement(id) {
this.$u.route({
url: '/pages/login/agreements',
params: {
title: "用户协议与隐私政策"
id: id
}
});
}