Jelajahi Sumber

fix(checkin): 打卡页隐藏原生导航栏,修复双标题 —— navigationStyle: custom 仅保留页面内标题

liaoxg 2 bulan lalu
induk
melakukan
09e6537d14
1 mengubah file dengan 8 tambahan dan 4 penghapusan
  1. 8 4
      cfc-frontend/pages.json

+ 8 - 4
cfc-frontend/pages.json

@@ -451,25 +451,29 @@
         {
         {
           "path": "diet-checkin",
           "path": "diet-checkin",
           "style": {
           "style": {
-            "navigationBarTitleText": "饮食打卡"
+            "navigationBarTitleText": "饮食打卡",
+            "navigationStyle": "custom"
           }
           }
         },
         },
         {
         {
           "path": "exercise-checkin",
           "path": "exercise-checkin",
           "style": {
           "style": {
-            "navigationBarTitleText": "运动打卡"
+            "navigationBarTitleText": "运动打卡",
+            "navigationStyle": "custom"
           }
           }
         },
         },
         {
         {
           "path": "sleep-checkin",
           "path": "sleep-checkin",
           "style": {
           "style": {
-            "navigationBarTitleText": "睡眠打卡"
+            "navigationBarTitleText": "睡眠打卡",
+            "navigationStyle": "custom"
           }
           }
         },
         },
         {
         {
           "path": "growth-emotion-checkin",
           "path": "growth-emotion-checkin",
           "style": {
           "style": {
-            "navigationBarTitleText": "心情打卡 (成长)"
+            "navigationBarTitleText": "心情打卡 (成长)",
+            "navigationStyle": "custom"
           }
           }
         }
         }
       ]
       ]