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 @@