Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ed8f3b89e | ||
|
|
fabea38a47 | ||
|
|
1ac89c4f88 | ||
| 3c154f1416 | |||
|
|
3325704faa | ||
|
|
125c198f5d | ||
|
|
1e06c5067f | ||
| aad77ed2cb |
@@ -2,8 +2,8 @@
|
|||||||
"name" : "德铭阳光商家",
|
"name" : "德铭阳光商家",
|
||||||
"appid" : "__UNI__EA895BE",
|
"appid" : "__UNI__EA895BE",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.0",
|
"versionName" : "1.0.1",
|
||||||
"versionCode" : "100",
|
"versionCode" : 106,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
@@ -110,13 +110,13 @@
|
|||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"iosStyle" : "storyboard",
|
"iosStyle" : "storyboard",
|
||||||
"ios" : {
|
"ios" : {
|
||||||
"storyboard" : "/Users/xf/workspace/wwwroot/deming-uniapp/static/CustomStoryboard.zip"
|
"storyboard" : "../deming-uniapp/static/CustomStoryboard.zip"
|
||||||
},
|
},
|
||||||
"androidStyle" : "default",
|
"androidStyle" : "common",
|
||||||
"android" : {
|
"android" : {
|
||||||
"hdpi" : "/Users/xf/workspace/wwwroot/deming-uniapp/static/app/start/480x762.png",
|
"hdpi" : "../deming-uniapp/static/app/start/480x762.png",
|
||||||
"xhdpi" : "/Users/xf/workspace/wwwroot/deming-uniapp/static/app/start/720x1242.png",
|
"xhdpi" : "../deming-uniapp/static/app/start/720x1242.png",
|
||||||
"xxhdpi" : "/Users/xf/workspace/wwwroot/deming-uniapp/static/app/start/1080x1882.png"
|
"xxhdpi" : "../deming-uniapp/static/app/start/1080x1882.png"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
16
pages.json
16
pages.json
@@ -16,7 +16,19 @@
|
|||||||
{
|
{
|
||||||
"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",
|
||||||
@@ -61,7 +73,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
@@ -93,14 +93,17 @@ export default {
|
|||||||
timer: null,
|
timer: null,
|
||||||
is_sendcode: false, // 60s
|
is_sendcode: false, // 60s
|
||||||
time_count: 60,
|
time_count: 60,
|
||||||
consentPact: true,
|
consentPact: false,
|
||||||
pactList: [{
|
pactList: [
|
||||||
id: 1,
|
{
|
||||||
text: "《用户协议》"
|
"id" : 1,
|
||||||
},{
|
"text": "《用户协议》"
|
||||||
id: 2,
|
},
|
||||||
text: "《隐私政策》"
|
{
|
||||||
}]
|
"id":2,
|
||||||
|
"text":"《隐私政策》"
|
||||||
|
},
|
||||||
|
]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -273,15 +276,30 @@ export default {
|
|||||||
},
|
},
|
||||||
moveHandle(){
|
moveHandle(){
|
||||||
return;
|
return;
|
||||||
},
|
},
|
||||||
viewAgreement(id) {
|
viewAgreement(id) {
|
||||||
this.$u.route({
|
console.log(id);
|
||||||
url: '/pages/login/agreements',
|
if (id == 1) {
|
||||||
params: {
|
this.$u.route({
|
||||||
id: id
|
url: '/pages/login/agreements',
|
||||||
}
|
params: {
|
||||||
});
|
id:1,
|
||||||
}
|
title: "用户协议"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if (id == 2) {
|
||||||
|
this.$u.route({
|
||||||
|
url: '/pages/login/privacy_policy',
|
||||||
|
params: {
|
||||||
|
id:2,
|
||||||
|
title: "隐私政策"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
let token = uni.getStorageSync('token');
|
let token = uni.getStorageSync('token');
|
||||||
|
|||||||
34
pages/login/privacy_policy.vue
Normal file
34
pages/login/privacy_policy.vue
Normal file
File diff suppressed because one or more lines are too long
@@ -27,11 +27,13 @@
|
|||||||
<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(2)">
|
<view class="nav" @click="viewAgreement(1)">
|
||||||
|
|
||||||
<text>隐私政策</text>
|
<text>隐私政策</text>
|
||||||
<image src="/static/image/user/1.png"></image>
|
<image src="/static/image/user/1.png"></image>
|
||||||
</view>
|
</view>
|
||||||
@@ -151,13 +153,25 @@ export default {
|
|||||||
url: '/pages/user/' + url
|
url: '/pages/user/' + url
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
viewAgreement(id) {
|
|
||||||
this.$u.route({
|
viewAgreement(index) {
|
||||||
url: '/pages/login/agreements',
|
if (index == 0) {
|
||||||
params: {
|
this.$u.route({
|
||||||
id: id
|
url: '/pages/login/agreements',
|
||||||
}
|
params: {
|
||||||
});
|
id: 1,
|
||||||
|
title: "用户协议"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (index == 1) {
|
||||||
|
this.$u.route({
|
||||||
|
url: '/pages/login/privacy_policy',
|
||||||
|
params: {
|
||||||
|
title: "隐私政策"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user