Browse Source

fix: 移除 report-upload 自定义导航栏,使用原生导航栏避免双标题

pages.json 已配置 navigationBarTitleText,页面内自定义 nav-bar 导致双标题
liaoxg 1 month ago
parent
commit
6315e920f1
1 changed files with 0 additions and 10 deletions
  1. 0 10
      cfc-frontend/pages/health/report-upload.vue

+ 0 - 10
cfc-frontend/pages/health/report-upload.vue

@@ -1,12 +1,5 @@
 <template>
   <view class="upload-container">
-    <!-- 顶部导航 -->
-    <view class="nav-bar">
-      <text class="nav-back" @click="goBack">‹ 返回</text>
-      <text class="nav-title">上传健康报告</text>
-      <view class="nav-placeholder"></view>
-    </view>
-
     <!-- 说明提示 -->
     <view class="tip-banner">
       <text class="tip-icon">📋</text>
@@ -237,9 +230,6 @@ export default {
         var msg = (err && err.message) || '上传失败,请重试'
         uni.showToast({ title: msg, icon: 'none' })
       })
-    },
-    goBack() {
-      uni.navigateBack()
     }
   }
 }