From 8304eac2a45a32b00563c03a2f3fd303ecd5872a Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期五, 22 八月 2025 13:54:36 +0800
Subject: [PATCH] 1.解决微信小程序真机MQTT无法连接问题
---
pages.json | 216 ++++++++++++++++++++++++++++++++++-------------------
1 files changed, 138 insertions(+), 78 deletions(-)
diff --git a/pages.json b/pages.json
index bdebaf3..d67fbd5 100644
--- a/pages.json
+++ b/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,55 +77,89 @@
}
}
- }, {
- "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": "white",
"navigationBarTitleText": "鍏板疂鏅鸿兘",
@@ -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": {}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3