8 Commits
zhy ... qxf

Author SHA1 Message Date
亓雪峰
6ed8f3b89e Update index.vue 2020-12-07 17:13:37 +08:00
亓雪峰
fabea38a47 Update manifest.json 2020-12-07 17:13:34 +08:00
亓雪峰
1ac89c4f88 用户协议和隐私政策 2020-12-03 21:50:39 +08:00
qxf
3c154f1416 Merge pull request 'qxf' (#116) from qxf into master
Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/116
2020-12-01 18:03:14 +08:00
亓雪峰
3325704faa Merge branch 'master' of https://git.luyuan.tk/luyuan/demingshangjia into qxf 2020-12-01 18:01:46 +08:00
亓雪峰
125c198f5d 优化 用户协议与隐私政策 2020-12-01 17:55:49 +08:00
亓雪峰
1e06c5067f 隐私政策修改 2020-11-30 14:43:34 +08:00
aad77ed2cb Merge pull request '用户协议,隐私政策分开显示' (#115) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/115
2020-11-27 17:38:55 +08:00
6 changed files with 119 additions and 505 deletions

View File

@@ -2,8 +2,8 @@
"name" : "德铭阳光商家",
"appid" : "__UNI__EA895BE",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"versionName" : "1.0.1",
"versionCode" : 106,
"transformPx" : false,
/* 5+App */
"app-plus" : {
@@ -110,13 +110,13 @@
"splashscreen" : {
"iosStyle" : "storyboard",
"ios" : {
"storyboard" : "/Users/xf/workspace/wwwroot/deming-uniapp/static/CustomStoryboard.zip"
"storyboard" : "../deming-uniapp/static/CustomStoryboard.zip"
},
"androidStyle" : "default",
"androidStyle" : "common",
"android" : {
"hdpi" : "/Users/xf/workspace/wwwroot/deming-uniapp/static/app/start/480x762.png",
"xhdpi" : "/Users/xf/workspace/wwwroot/deming-uniapp/static/app/start/720x1242.png",
"xxhdpi" : "/Users/xf/workspace/wwwroot/deming-uniapp/static/app/start/1080x1882.png"
"hdpi" : "../deming-uniapp/static/app/start/480x762.png",
"xhdpi" : "../deming-uniapp/static/app/start/720x1242.png",
"xxhdpi" : "../deming-uniapp/static/app/start/1080x1882.png"
}
}
}

View File

@@ -16,7 +16,7 @@
{
"path": "pages/login/agreements",
"style": {
"navigationBarTitleText": "用户协议与隐私政策",
"navigationBarTitleText": "用户协议",
"app-plus": {
"titleNView": {
"backgroundColor": "#FFFFFF",
@@ -24,6 +24,18 @@
}
}
}
},
{
"path": "pages/login/privacy_policy",
"style": {
"navigationBarTitleText": "隐私政策",
"app-plus": {
"titleNView": {
"backgroundColor": "#FFFFFF",
"titleColor": "#333333"
}
}
}
},
{
"path": "pages/release/tosign",
@@ -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

View File

@@ -93,14 +93,17 @@ export default {
timer: null,
is_sendcode: false, // 60s
time_count: 60,
consentPact: true,
pactList: [{
id: 1,
text: "《用户协议》"
},{
id: 2,
text: "《隐私政策》"
}]
consentPact: false,
pactList: [
{
"id" : 1,
"text": "《用户协议》"
},
{
"id":2,
"text":"《隐私政策》"
},
]
};
},
methods: {
@@ -273,15 +276,30 @@ export default {
},
moveHandle(){
return;
},
viewAgreement(id) {
this.$u.route({
url: '/pages/login/agreements',
params: {
id: id
}
});
}
},
viewAgreement(id) {
console.log(id);
if (id == 1) {
this.$u.route({
url: '/pages/login/agreements',
params: {
id:1,
title: "用户协议"
}
});
}
if (id == 2) {
this.$u.route({
url: '/pages/login/privacy_policy',
params: {
id:2,
title: "隐私政策"
}
});
}
}
},
onLoad() {
let token = uni.getStorageSync('token');

File diff suppressed because one or more lines are too long

View File

@@ -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,13 +153,25 @@ export default {
url: '/pages/user/' + url
});
},
viewAgreement(id) {
this.$u.route({
url: '/pages/login/agreements',
params: {
id: id
}
});
viewAgreement(index) {
if (index == 0) {
this.$u.route({
url: '/pages/login/agreements',
params: {
id: 1,
title: "用户协议"
}
});
}
if (index == 1) {
this.$u.route({
url: '/pages/login/privacy_policy',
params: {
title: "隐私政策"
}
});
}
}
},
}