zhuguifei
2025-09-02 9dfbc038667839631578c12ff748534e5939bc82
pages.json
@@ -2,7 +2,7 @@
   "easycom": {
      "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
   },
   "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
   "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
      {
         "path": "pages/login/login",
         "style": {
@@ -14,35 +14,61 @@
            "enablePullDownRefresh": false
         }
      },
      {
         "path": "pages/tabBar/general",
         "style": {
            "navigationStyle": "custom"
         }
      },
      {
         "path": "pages/tabBar/device",
         "style": {
            "navigationStyle": "custom",
            "app-plus": {
               "titleNView": false
            }
         }
      },
      {
         "path": "pages/tabBar/warning",
         "style": {
            "navigationStyle": "custom",
            "app-plus": {
               "titleNView": false
            }
         }
      },
      {
         "path": "pages/index/index",
         "style": {
            "navigationBarTitleText": "uni-app"
         }
      },
      {
         "path": "pages/tabBar/main",
         "style": {
            "navigationStyle": "custom",
            "app-plus": {
               "titleNView": false
            }
         }
      }, {
       {
         "path": "pages/tabBar/formula",
         "style": {
            "navigationStyle": "custom"
         }
      }, {
         "path": "pages/category/formulaDetail",
         "style": {
            "navigationStyle": "custom"
         }
      }, {
      },
       {
          "path": "pages/tabBar/me",
          "style": {
             "navigationStyle": "custom",
             "app-plus": {
                "titleNView": false
             }
          }
       }
      /* {
          "path": "pages/tabBar/main",
          "style": {
             "navigationStyle": "custom",
             "app-plus": {
                "titleNView": false
             }
          }
       },
      {
         "path": "pages/tabBar/monitor",
         "style": {
            "navigationStyle": "custom",
@@ -51,58 +77,92 @@
            }
         }
      }, {
         "path": "pages/tabBar/me",
         "style": {
            "navigationStyle": "custom",
            "app-plus": {
               "titleNView": false
            }
         }
      }, */
      }, {
         "path": "pages/tabBar/general",
         "style": {
            "navigationStyle": "custom"
         }
      }
      , {
         "path": "pages/charts/charts",
         "style": {
            "navigationBarTitleText": "图表",
            "enablePullDownRefresh": false
         }
      }, {
         "path": "pages/tabBar/analy",
         "style": {
            "navigationStyle": "custom"
         }
      }
       ,{
            "path" : "pages/analy/analyList",
            "style" :
            {
                "navigationBarTitleText": "生产记录分析",
                "enablePullDownRefresh": false
            }
        },{
            "path" : "pages/tabBar/demo",
            "style" :
            {
                "navigationBarTitleText": "测试",
                "enablePullDownRefresh": false
            }
        }
    ],
   ],
   "subPackages": [
      {
            "root": "packageA",
            "pages": [
             {
                "path": "pages/category/formulaDetail",
                "style": {
                   "navigationStyle": "custom"
                }
             }, {
                "path": "pages/charts/charts",
                "style": {
                   "navigationBarTitleText": "图表",
                   "enablePullDownRefresh": false
                }
             }, {
                "path": "pages/me/analy",
                "style": {
                   "navigationStyle": "custom"
                }
             }, {
                "path": "pages/analy/analyList",
                "style": {
                   "navigationBarTitleText": "生产记录分析",
                   "enablePullDownRefresh": false
                }
             },
            {
                "path": "pages/me/control",
                "style": {
                   "navigationStyle": "custom",
                   "app-plus": {
                      "titleNView": false
                   }
                }
             },
             // {
             //    "path": "pages/me/video",
             //    "style": {
             //       "navigationStyle": "custom",
             //       "app-plus": {
             //          "titleNView": false
             //       }
             //    }
             // },
             {
                "path": "pages/device/control",
                "style": {
                   "navigationStyle": "custom",
                   "app-plus": {
                      "titleNView": false
                   }
                }
             },
             {
                "path": "pages/login/switchMode",
                "style": {
                   "navigationStyle": "custom",
                   "app-plus": {
                      "titleNView": false
                   }
                }
             }
            ]
          }
   ],
   "preloadRule": {
       "packageA/pages/device/control": {
         "network": "all",
         "packages": ["packageA"]
       }
   },
   "globalStyle": {
      "navigationBarTextStyle": "black",
      "navigationBarTitleText": "uni-app",
      "navigationBarTextStyle": "white",
      "navigationBarTitleText": "兰宝智能",
      "navigationBarBackgroundColor": "#F8F8F8",
      "backgroundColor": "#F8F8F8"
   },
@@ -118,20 +178,20 @@
         "text": "首页"
      }, {
         "pagePath": "pages/tabBar/monitor",
         "pagePath": "pages/tabBar/device",
         "iconPath": "static/tabBar/shop.png",
         "selectedIconPath": "static/tabBar/shop_cur.png",
         "text": "监控"
         "text": "机台监控"
      }, {
         "pagePath": "pages/tabBar/analy",
         "pagePath": "pages/tabBar/warning",
         "iconPath": "static/tabBar/analy.png",
         "selectedIconPath": "static/tabBar/analy_cur.png",
         "text": "分析"
         "text": "报警统计"
      }, {
         "pagePath": "pages/tabBar/formula",
         "iconPath": "static/tabBar/order.png",
         "selectedIconPath": "static/tabBar/order_cur.png",
         "text": "配方"
         "text": "干燥配方"
      }, {
         "pagePath": "pages/tabBar/me",
         "iconPath": "static/tabBar/me.png",
@@ -140,4 +200,4 @@
      }]
   },
   "uniIdRouter": {}
}
}