diff --git a/main.js b/main.js index 1b80ae1..c057d11 100644 --- a/main.js +++ b/main.js @@ -5,7 +5,15 @@ import App from './App'; import store from './store'; // 白名单页面 -const whitePathList = ['basic-info', 'statistics', 'user-code']; +const whitePathList = [ + 'basic-info', + 'statistics', + 'user-code', + 'sign', + 'my-signs', + 'my-code', + 'my-trips', +]; /** * 检查url是否在是否在白名单内 * @param {string} url path+query @@ -27,19 +35,6 @@ Vue.prototype.goHome = () => { }); }; -/** - * 打开某个页面 - * @param {string} path 页面完成路径 - * @param {string} query 参数字符串a=x&b=y - */ - -// 白名单页面 -const whiteListPath = [ - '/pages/basic-info/basic-info', - '/pages/statistics/statistics', - '/pages/user-code/user-code', -]; - Vue.prototype.openPage = function(path, query = '') { let url = query ? `${path}?${query}` : path; store.commit('user/setPagePath', url); diff --git a/pages.json b/pages.json index 163196b..07431cb 100644 --- a/pages.json +++ b/pages.json @@ -68,11 +68,6 @@ "navigationBarTitleText": "我的行程" } }, - { - "path": "pages/healthy-card/healthy-card", - "style": {} - }, - { "path": "pages/service-agreement/service-agreement", "style": { diff --git a/pages/apply-code/apply-code.vue b/pages/apply-code/apply-code.vue index ff837d8..5ef2adb 100644 --- a/pages/apply-code/apply-code.vue +++ b/pages/apply-code/apply-code.vue @@ -1,293 +1,310 @@ diff --git a/pages/basic-info/basic-info.vue b/pages/basic-info/basic-info.vue index d7b0e3a..2a3c55c 100644 --- a/pages/basic-info/basic-info.vue +++ b/pages/basic-info/basic-info.vue @@ -6,7 +6,7 @@ *姓名 *身份证 *联系方式 - + - +