Merge pull request 'qxf' (#116) from qxf into master
Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/116
This commit is contained in:
commit
3c154f1416
@ -2,8 +2,8 @@
|
||||
"name" : "德铭阳光商家",
|
||||
"appid" : "__UNI__EA895BE",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.0",
|
||||
"versionCode" : "100",
|
||||
"versionName" : "1.0.1",
|
||||
"versionCode" : 103,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
16
pages.json
16
pages.json
@ -16,7 +16,19 @@
|
||||
{
|
||||
"path": "pages/login/agreements",
|
||||
"style": {
|
||||
"navigationBarTitleText": "用户协议与隐私政策",
|
||||
"navigationBarTitleText": "用户协议",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"titleColor": "#333333"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/privacy_policy",
|
||||
"style": {
|
||||
"navigationBarTitleText": "隐私政策",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
@ -61,7 +73,7 @@
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "德铭阳光在线",
|
||||
"navigationBarTitleText": "德铭阳光商家",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
|
File diff suppressed because one or more lines are too long
@ -95,11 +95,9 @@ export default {
|
||||
time_count: 60,
|
||||
consentPact: true,
|
||||
pactList: [{
|
||||
id: 1,
|
||||
text: "《用户协议》"
|
||||
"text": "《用户协议》"
|
||||
},{
|
||||
id: 2,
|
||||
text: "《隐私政策》"
|
||||
"text":"《隐私政策》"
|
||||
}]
|
||||
};
|
||||
},
|
||||
@ -274,14 +272,27 @@ export default {
|
||||
moveHandle(){
|
||||
return;
|
||||
},
|
||||
viewAgreement(id) {
|
||||
viewAgreement(index) {
|
||||
console.log(index);
|
||||
if (index == 0) {
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
id: id
|
||||
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,11 +27,13 @@
|
||||
<text>用户反馈</text>
|
||||
<image src="/static/image/user/1.png"></image>
|
||||
</view>
|
||||
<view class="nav" @click="viewAgreement(1)">
|
||||
|
||||
<view class="nav" @click="viewAgreement(0)">
|
||||
<text>用户协议</text>
|
||||
<image src="/static/image/user/1.png"></image>
|
||||
</view>
|
||||
<view class="nav" @click="viewAgreement(2)">
|
||||
<view class="nav" @click="viewAgreement(1)">
|
||||
|
||||
<text>隐私政策</text>
|
||||
<image src="/static/image/user/1.png"></image>
|
||||
</view>
|
||||
@ -151,14 +153,25 @@ export default {
|
||||
url: '/pages/user/' + url
|
||||
});
|
||||
},
|
||||
viewAgreement(id) {
|
||||
|
||||
viewAgreement(index) {
|
||||
if (index == 0) {
|
||||
this.$u.route({
|
||||
url: '/pages/login/agreements',
|
||||
params: {
|
||||
id: id
|
||||
title: "用户协议"
|
||||
}
|
||||
});
|
||||
}
|
||||
if (index == 1) {
|
||||
this.$u.route({
|
||||
url: '/pages/login/privacy_policy',
|
||||
params: {
|
||||
title: "隐私政策"
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user