diff --git a/manifest.json b/manifest.json index 7268d90..39ca713 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__EA895BE", "description" : "", "versionName" : "1.0.1", - "versionCode" : 103, + "versionCode" : 105, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/login/agreements.vue b/pages/login/agreements.vue index 1c8d33d..756c954 100644 --- a/pages/login/agreements.vue +++ b/pages/login/agreements.vue @@ -1,476 +1,12 @@ diff --git a/pages/login/login.vue b/pages/login/login.vue index 4973aa6..ab58363 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -93,12 +93,17 @@ export default { timer: null, is_sendcode: false, // 60s time_count: 60, - consentPact: true, - pactList: [{ - "text": "《用户协议》" - },{ - "text":"《隐私政策》" - }] + consentPact: false, + pactList: [ + { + "id" : 1, + "text": "《用户协议》" + }, + { + "id":2, + "text":"《隐私政策》" + }, + ] }; }, methods: { @@ -272,21 +277,23 @@ export default { moveHandle(){ return; }, - viewAgreement(index) { - console.log(index); - if (index == 0) { + viewAgreement(id) { + console.log(id); + if (id == 1) { this.$u.route({ url: '/pages/login/agreements', params: { + id:1, title: "用户协议" } }); } - if (index == 1) { + if (id == 2) { this.$u.route({ url: '/pages/login/privacy_policy', params: { + id:2, title: "隐私政策" } }); diff --git a/pages/login/privacy_policy.vue b/pages/login/privacy_policy.vue index bfa2ead..deb787f 100644 --- a/pages/login/privacy_policy.vue +++ b/pages/login/privacy_policy.vue @@ -1,10 +1,7 @@