Pārlūkot izejas kodu

更新 tab文案

王智慧 3 gadi atpakaļ
vecāks
revīzija
6ce3dbff2e
1 mainītis faili ar 27 papildinājumiem un 14 dzēšanām
  1. 27 14
      miniprogram/app.json

+ 27 - 14
miniprogram/app.json

@@ -30,23 +30,11 @@
         "selectedIconPath": "./images/tabs/camera-.png",
         "iconPath": "./images/tabs/camera.png"
       },
-      {
-        "pagePath": "pages/maritime/maritime",
-        "text": "海事",
-        "selectedIconPath": "./images/tabs/ship-.png",
-        "iconPath": "./images/tabs/ship.png"
-      },
       {
         "pagePath": "pages/securityCheck/securityCheck",
-        "text": "安检",
+        "text": "海事安检",
         "selectedIconPath": "./images/tabs/check-.png",
         "iconPath": "./images/tabs/check.png"
-      },
-      {
-        "pagePath": "pages/train/train",
-        "text": "培训",
-        "selectedIconPath": "./images/tabs/train-.png",
-        "iconPath": "./images/tabs/train.png"
       }
     ]
   },
@@ -57,5 +45,30 @@
   },
   "lazyCodeLoading": "requiredComponents",
   "sitemapLocation": "sitemap.json",
-  "style": "v2"
+  "style": "v2",
+  "cache": [{
+      "pagePath": "pages/takePhoto/takePhoto",
+      "text": "随身拍",
+      "selectedIconPath": "./images/tabs/camera-.png",
+      "iconPath": "./images/tabs/camera.png"
+    },
+    {
+      "pagePath": "pages/maritime/maritime",
+      "text": "海事",
+      "selectedIconPath": "./images/tabs/ship-.png",
+      "iconPath": "./images/tabs/ship.png"
+    },
+    {
+      "pagePath": "pages/securityCheck/securityCheck",
+      "text": "海事安检",
+      "selectedIconPath": "./images/tabs/check-.png",
+      "iconPath": "./images/tabs/check.png"
+    },
+    {
+      "pagePath": "pages/train/train",
+      "text": "培训",
+      "selectedIconPath": "./images/tabs/train-.png",
+      "iconPath": "./images/tabs/train.png"
+    }
+  ]
 }