Compare commits

..

No commits in common. "master" and "zhy" have entirely different histories.
master ... zhy

6 changed files with 27 additions and 100 deletions

View File

@ -2,8 +2,8 @@
"name" : "德铭阳光商家", "name" : "德铭阳光商家",
"appid" : "__UNI__EA895BE", "appid" : "__UNI__EA895BE",
"description" : "", "description" : "",
"versionName" : "1.0.1", "versionName" : "1.0.0",
"versionCode" : 103, "versionCode" : "100",
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@ -16,19 +16,7 @@
{ {
"path": "pages/login/agreements", "path": "pages/login/agreements",
"style": { "style": {
"navigationBarTitleText": "用户协议", "navigationBarTitleText": "用户协议与隐私政策",
"app-plus": {
"titleNView": {
"backgroundColor": "#FFFFFF",
"titleColor": "#333333"
}
}
}
},
{
"path": "pages/login/privacy_policy",
"style": {
"navigationBarTitleText": "隐私政策",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
@ -73,7 +61,7 @@
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "德铭阳光商家", "navigationBarTitleText": "德铭阳光在线",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",

File diff suppressed because one or more lines are too long

View File

@ -95,9 +95,11 @@ export default {
time_count: 60, time_count: 60,
consentPact: true, consentPact: true,
pactList: [{ pactList: [{
"text": "《用户协议》" id: 1,
text: "《用户协议》"
},{ },{
"text":"《隐私政策》" id: 2,
text: "《隐私政策》"
}] }]
}; };
}, },
@ -272,27 +274,14 @@ export default {
moveHandle(){ moveHandle(){
return; return;
}, },
viewAgreement(index) { viewAgreement(id) {
console.log(index);
if (index == 0) {
this.$u.route({ this.$u.route({
url: '/pages/login/agreements', url: '/pages/login/agreements',
params: { params: {
title: "用户协议" id: id
} }
}); });
} }
if (index == 1) {
this.$u.route({
url: '/pages/login/privacy_policy',
params: {
title: "隐私政策"
}
});
}
}
}, },
onLoad() { onLoad() {
let token = uni.getStorageSync('token'); let token = uni.getStorageSync('token');

File diff suppressed because one or more lines are too long

View File

@ -27,13 +27,11 @@
<text>用户反馈</text> <text>用户反馈</text>
<image src="/static/image/user/1.png"></image> <image src="/static/image/user/1.png"></image>
</view> </view>
<view class="nav" @click="viewAgreement(1)">
<view class="nav" @click="viewAgreement(0)">
<text>用户协议</text> <text>用户协议</text>
<image src="/static/image/user/1.png"></image> <image src="/static/image/user/1.png"></image>
</view> </view>
<view class="nav" @click="viewAgreement(1)"> <view class="nav" @click="viewAgreement(2)">
<text>隐私政策</text> <text>隐私政策</text>
<image src="/static/image/user/1.png"></image> <image src="/static/image/user/1.png"></image>
</view> </view>
@ -153,25 +151,14 @@ export default {
url: '/pages/user/' + url url: '/pages/user/' + url
}); });
}, },
viewAgreement(id) {
viewAgreement(index) {
if (index == 0) {
this.$u.route({ this.$u.route({
url: '/pages/login/agreements', url: '/pages/login/agreements',
params: { params: {
title: "用户协议" id: id
} }
}); });
} }
if (index == 1) {
this.$u.route({
url: '/pages/login/privacy_policy',
params: {
title: "隐私政策"
}
});
}
}
}, },
} }
</script> </script>