Pārlūkot izejas kodu

fix: remove dark mode and add page nav bar

IlhamTahir 1 gadu atpakaļ
vecāks
revīzija
7e6cee9d4a
3 mainītis faili ar 34 papildinājumiem un 17 dzēšanām
  1. 0 1
      .gitignore
  2. 3 3
      src/manifest.json
  3. 31 13
      src/pages.json

+ 0 - 1
.gitignore

@@ -21,6 +21,5 @@ dist
 *.sw?
 
 .env
-src/pages.json
 src/components.d.ts
 src/auto-imports.d.ts

+ 3 - 3
src/manifest.json

@@ -47,7 +47,7 @@
       "urlCheck": false
     },
     "usingComponents": true,
-    "darkmode": true,
+    "darkmode": false,
     "themeLocation": "theme.json"
   },
   "mp-alipay": {
@@ -64,7 +64,7 @@
   },
   "vueVersion": "3",
   "h5": {
-    "darkmode": true,
+    "darkmode": false,
     "themeLocation": "theme.json"
   }
-}
+}

+ 31 - 13
src/pages.json

@@ -7,24 +7,40 @@
   },
   "pages": [
     {
-      "path": "pages/feed-calculator/index",
-      "type": "page"
+      "path": "pages/home/index",
+      "type": "page",
+        "style": {
+            "navigationBarTitleText": "首页"
+        }
     },
     {
-      "path": "pages/feed-plan/index",
-      "type": "page"
+      "path": "pages/feed-calculator/index",
+      "type": "page",
+        "style": {
+            "navigationBarTitleText": "喂养计算器"
+        }
     },
     {
-      "path": "pages/home/index",
-      "type": "page"
+      "path": "pages/feed-plan/index",
+      "type": "page",
+        "style": {
+            "navigationBarTitleText": "喂养计划"
+        }
     },
+
     {
       "path": "pages/me/index",
-      "type": "page"
+      "type": "page",
+        "style": {
+            "navigationBarTitleText": "我的"
+        }
     },
     {
       "path": "pages/pet-manual/index",
-      "type": "page"
+      "type": "page",
+        "style": {
+            "navigationBarTitleText": "宠物手册"
+        }
     },
     {
       "path": "pages/setting/index",
@@ -32,7 +48,10 @@
     },
     {
       "path": "pages/start-filing/index",
-      "type": "page"
+      "type": "page",
+        "style": {
+            "navigationBarTitleText": "开始建档"
+        }
     },
     {
       "path": "pages/userInfo/index",
@@ -72,10 +91,9 @@
     "backgroundColorBottom": "@bgColorBottom",
     "backgroundColorTop": "@bgColorTop",
     "backgroundTextStyle": "@bgTxtStyle",
-    "navigationBarBackgroundColor": "#000000",
-    "navigationBarTextStyle": "@navTxtStyle",
-    "navigationBarTitleText": "Vitesse-Uni",
-    "navigationStyle": "custom"
+    "navigationBarBackgroundColor": "#fff",
+    "navigationBarTextStyle": "black",
+    "navigationBarTitleText": "Vitesse-Uni"
   },
   "__esModule": true,
   "subPackages": []