From 086549723cc16684445f6ce16701d7c52607da5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E6=A0=88=E5=B0=8F=E5=AD=A6=E7=94=9F?= <1518079521@qq.com> Date: Sat, 3 Jun 2023 18:28:30 +0800 Subject: [PATCH] update uni-app --- uni-app/App.vue | 127 +++++++++++++++++++++++---------------------- uni-app/pages.json | 52 ++++++++++--------- 2 files changed, 91 insertions(+), 88 deletions(-) diff --git a/uni-app/App.vue b/uni-app/App.vue index 1370b5c80..d89c78d62 100644 --- a/uni-app/App.vue +++ b/uni-app/App.vue @@ -1,74 +1,75 @@ \ No newline at end of file diff --git a/uni-app/pages.json b/uni-app/pages.json index 6329f968d..966f9bf3f 100644 --- a/uni-app/pages.json +++ b/uni-app/pages.json @@ -3,7 +3,9 @@ { "path": "pages/index/index", "style": { + // #ifdef H5 "navigationStyle": "custom", + // #endif "navigationBarTitleText": "%pages.index.index%" } }, @@ -70,20 +72,24 @@ "navigationBarTitleText": "%pages.index.diy%" } }, - { - "path": "pages/index/close", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "%pages.index.close%" - } - }, - { - "path": "pages/index/nonexistence", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "%pages.index.nonexistence%" - } - }, + { + "path": "pages/index/close", + "style": { + // #ifdef H5 + "navigationStyle": "custom", + // #endif + "navigationBarTitleText": "%pages.index.close%" + } + }, + { + "path": "pages/index/nosite", + "style": { + // #ifdef H5 + "navigationStyle": "custom", + // #endif + "navigationBarTitleText": "%pages.index.nosite%" + } + }, { "path": "pages/article/detail", "style": { @@ -172,20 +178,12 @@ }, { "path": "pages/member/index", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "%pages.member.index%" - } - }, - { - "path": "pages/member/info", "style": { // #ifdef H5 "navigationStyle": "custom", // #endif - "navigationBarTitleText": "%pages.member.info%" - }, - "needLogin": true + "navigationBarTitleText": "%pages.member.index%" + } }, { "path": "pages/member/personal", @@ -230,14 +228,18 @@ { "path": "pages/pay/browser", "style": { + // #ifdef H5 "navigationStyle": "custom", + // #endif "navigationBarTitleText": "%pages.pay.browser%" } }, { "path": "pages/pay/result", "style": { + // #ifdef H5 "navigationStyle": "custom", + // #endif "navigationBarTitleText": "%pages.pay.result%" } }, @@ -268,7 +270,7 @@ // #endif "navigationBarTitleText": "%pages.index.develop%" } - }// {{PAGE}} + } // {{PAGE}} ], "globalStyle": { "navigationBarTextStyle": "black",