From 9dfbc038667839631578c12ff748534e5939bc82 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期二, 02 九月 2025 14:34:23 +0800
Subject: [PATCH] 1.修复微信小程序canvans显示在最上层问题

---
 pages.json |  256 +++++++++++++++++++++++++++------------------------
 1 files changed, 135 insertions(+), 121 deletions(-)

diff --git a/pages.json b/pages.json
index 611c480..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,101 +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/me/analy",
-			"style": {
-				"navigationStyle": "custom"
-			}
-
-		}, {
-			"path": "pages/analy/analyList",
-			"style": {
-				"navigationBarTitleText": "鐢熶骇璁板綍鍒嗘瀽",
-				"enablePullDownRefresh": false
-			}
-
-		}, {
-			"path": "pages/tabBar/demo",
-			"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/tabBar/device",
-			"style" : 
-			{
-				"navigationStyle": "custom",
-				"app-plus": {
-					"titleNView": false
-				}
-			}
-		},
-		{
-			"path" : "pages/tabBar/warning",
-			"style" : 
-			{
-				"navigationStyle": "custom",
-				"app-plus": {
-					"titleNView": false
-				}
-			}
-		},
-		{
-			"path" : "pages/device/control",
-			"style" : 
-			{
-				"navigationStyle": "custom",
-				"app-plus": {
-					"titleNView": 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": "鍏板疂鏅鸿兘",
@@ -167,17 +181,17 @@
 			"pagePath": "pages/tabBar/device",
 			"iconPath": "static/tabBar/shop.png",
 			"selectedIconPath": "static/tabBar/shop_cur.png",
-			"text": "鐩戞帶"
+			"text": "鏈哄彴鐩戞帶"
 		}, {
 			"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",

--
Gitblit v1.9.3