diff --git a/index.html b/index.html index c3ff205..fdce395 100644 --- a/index.html +++ b/index.html @@ -16,5 +16,36 @@
+ + + + + diff --git a/manifest.json b/manifest.json index 1a95346..2867b83 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "unapp模板", - "appid" : "__UNI__197A38F", + "appid" : "__UNI__40D2531", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", @@ -89,7 +89,7 @@ } }, "devServer" : { - "https" : false, + "https" : true, "proxy" : { "/ws/geocoder/v1/" : { "target" : "https://apis.map.qq.com", @@ -100,6 +100,11 @@ "changeOrigin" : true } } + }, + "optimization" : { + "treeShaking" : { + "enable" : true + } } } } diff --git a/package.json b/package.json index 136edbc..8967483 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "license": "ISC", "dependencies": { "ali-oss": "^6.21.0", - "dayjs": "^1.11.12" + "dayjs": "^1.11.12", + "html2canvas": "^1.4.1" } } diff --git a/pages.json b/pages.json index e5647cf..b8cd19d 100644 --- a/pages.json +++ b/pages.json @@ -1,22 +1,10 @@ { "pages": [ { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/index/report", + "path": "pages/report/index", "style": { "navigationBarTitleText": "", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/index/center", - "style": { - "navigationBarTitleText": "" + "navigationStyle": "custom" } } ], @@ -26,54 +14,10 @@ "packages": ["pages_order"] } }, - "subPackages": [{ - "root": "pages_order", - "pages": [ - { - "path": "auth/wxLogin" - }, - { - "path": "auth/wxUserInfo" - }, - { - "path": "auth/infoModify" - }, - { - "path": "auth/loginAndRegisterAndForgetPassword" - }, - { - "path": "test/start" - }, - { - "path": "test/answer" - }, - { - "path": "test/list" - }, - { - "path": "report/pay" - }, - { - "path": "report/userInfo" - }, - { - "path": "report/index" - }, - { - "path": "service/index" - }, - { - "path": "service/commonQuestion" - }, - { - "path": "feedback/index" - } - ] - }], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "测试", - "navigationBarBackgroundColor": "#F8F8F8", + "navigationBarTitleText": "报告", + "navigationBarBackgroundColor": "#014FA2", "backgroundColor": "#F8F8F8", "navigationStyle": "custom" }, diff --git a/pages/index/center.vue b/pages/index/center.vue deleted file mode 100644 index 431c7b1..0000000 --- a/pages/index/center.vue +++ /dev/null @@ -1,229 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue deleted file mode 100644 index e2bb222..0000000 --- a/pages/index/index.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/report.vue b/pages/index/report.vue deleted file mode 100644 index 6989298..0000000 --- a/pages/index/report.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages_order/report/index.vue b/pages/report/index.vue similarity index 62% rename from pages_order/report/index.vue rename to pages/report/index.vue index 0cf2201..b4366a5 100644 --- a/pages_order/report/index.vue +++ b/pages/report/index.vue @@ -1,8 +1,15 @@