From f4bdb30cca36174bda0b0027cd4bb293ce248b61 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Tue, 15 Nov 2022 14:15:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8A=A0=E5=85=A5=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E5=B7=A5=E9=9E=A5=E5=91=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/config.js | 1 + main.js | 2 + pages.json | 9 +++ pages/index/index.vue | 89 ++++++++++++++++------ pages/inspection/inspectionTodayReport.vue | 22 ++++++ 5 files changed, 98 insertions(+), 25 deletions(-) create mode 100644 pages/inspection/inspectionTodayReport.vue diff --git a/conf/config.js b/conf/config.js index f0ea582..8fa5655 100644 --- a/conf/config.js +++ b/conf/config.js @@ -43,5 +43,6 @@ export default{ appPayKey:appPayKey, commonBaseUrl: commonBaseUrl, QQMapKey: QQMapKey, + imgUrl:commonBaseUrl, systemName:systemName } \ No newline at end of file diff --git a/main.js b/main.js index fe2c35e..bdaee0f 100644 --- a/main.js +++ b/main.js @@ -1,5 +1,6 @@ import Vue from 'vue' import App from './App' +import conf from './conf/config.js'; import Java110Context from './lib/java110/Java110Context.js' import context from './lib/java110/context.js' import url from './constant/url.js' @@ -25,6 +26,7 @@ Vue.prototype.url = url; Vue.prototype.factory = factory; Vue.prototype.util = util; Vue.prototype.date = date; +Vue.prototype.imgUrl = conf.imgUrl; App.mpType = 'app' diff --git a/pages.json b/pages.json index dc9c6a1..3c6f304 100644 --- a/pages.json +++ b/pages.json @@ -542,6 +542,15 @@ } } + ,{ + "path" : "pages/inspection/inspectionTodayReport", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { "navigationBarTextStyle": "white", diff --git a/pages/index/index.vue b/pages/index/index.vue index 91c055b..82520a1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,10 +1,10 @@