Merge branch 'master' of https://git.luyuan.tk/luyuan/demingshangjia into qxf
This commit is contained in:
@@ -27,11 +27,13 @@
|
||||
<text>用户反馈</text>
|
||||
<image src="/static/image/user/1.png"></image>
|
||||
</view>
|
||||
|
||||
<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>
|
||||
@@ -151,26 +153,23 @@ export default {
|
||||
url: '/pages/user/' + url
|
||||
});
|
||||
},
|
||||
|
||||
viewAgreement(index) {
|
||||
if (index == 0) {
|
||||
|
||||
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
title: "用户协议"
|
||||
}
|
||||
});
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
title: "用户协议"
|
||||
}
|
||||
});
|
||||
}
|
||||
if (index == 1) {
|
||||
|
||||
|
||||
this.$u.route({
|
||||
url: '/pages/login/privacy_policy',
|
||||
params: {
|
||||
title: "隐私政策"
|
||||
}
|
||||
});
|
||||
this.$u.route({
|
||||
url: '/pages/login/privacy_policy',
|
||||
params: {
|
||||
title: "隐私政策"
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user