From 917a856046fff1d7e7cd54b41de6004f9fd53c2e Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 10 Apr 2025 16:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 6 ++++-- src/pages/error/index.vue | 2 ++ src/pages/opinion/index.vue | 11 +++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/pages.json b/src/pages.json index 4cd7041..6b64a87 100644 --- a/src/pages.json +++ b/src/pages.json @@ -21,13 +21,15 @@ { "path": "pages/opinion/index", "style": { - "navigationBarTitleText": "意见收集" + "navigationBarTitleText": "custom", + "navigationStyle": "custom" } }, { "path": "pages/error/index", "style": { - "navigationBarTitleText": "意见收集" + "navigationBarTitleText": "custom", + "navigationStyle": "custom" } } ], diff --git a/src/pages/error/index.vue b/src/pages/error/index.vue index e93cc92..161ab8a 100644 --- a/src/pages/error/index.vue +++ b/src/pages/error/index.vue @@ -19,6 +19,8 @@ const isCode = ref('203') const startTime = ref('') onLoad((option) => { + uni.setNavigationBarTitle({ title: '意见收集' }) + document.title = '意见收集' if (option.code) { isCode.value = option.code } diff --git a/src/pages/opinion/index.vue b/src/pages/opinion/index.vue index 80d9dc7..5b5854d 100644 --- a/src/pages/opinion/index.vue +++ b/src/pages/opinion/index.vue @@ -1,5 +1,6 @@