From bd5fb8c26bcc00e80ac866cc0ce2daac9d5dc811 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 14 Jun 2024 19:44:35 +0800
Subject: [PATCH] 添加条件编译,方便启动H5

---
 pages.json |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/pages.json b/pages.json
index d078cf9..a1f8fcb 100644
--- a/pages.json
+++ b/pages.json
@@ -441,7 +441,9 @@
 						"navigationBarBackgroundColor": "#fff",
 						"navigationBarTextStyle": "black",
 						"usingComponents": {
+							// #ifdef MP-WEIXIN
 							"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
+							// #endif
 						}
 					}
 				},
@@ -453,7 +455,9 @@
 						"navigationBarBackgroundColor": "#fff",
 						"navigationBarTextStyle": "black",
 						"usingComponents": {
+							// #ifdef MP-WEIXIN
 							"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
+							// #endif
 						}
 					}
 				},
@@ -533,7 +537,9 @@
 						"navigationBarBackgroundColor": "#fff",
 						"navigationBarTextStyle": "black",
 						"usingComponents": {
+							// #ifdef MP-WEIXIN
 							"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
+							// #endif
 						}
 					}
 				},
@@ -756,7 +762,9 @@
 						"navigationBarTextStyle": "black",
 						"enablePullDownRefresh": false,
 						"usingComponents": {
+							// #ifdef MP-WEIXIN
 							"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
+							// #endif
 						}
 					}
 				},
@@ -855,7 +863,9 @@
 						"navigationBarTextStyle": "black",
 						"enablePullDownRefresh": false,
 						"usingComponents": {
+							// #ifdef MP-WEIXIN
 							"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
+							// #endif
 						}
 					}
 				},
@@ -876,7 +886,9 @@
 						"navigationBarTextStyle": "black",
 						"enablePullDownRefresh": false,
 						"usingComponents": {
+							// #ifdef MP-WEIXIN
 							"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
+							// #endif
 						}
 					}
 				},
@@ -1075,7 +1087,9 @@
 						"navigationBarTextStyle": "black",
 						"enablePullDownRefresh": false,
 						"usingComponents": {
+							// #ifdef MP-WEIXIN
 							"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
+							// #endif
 						}
 
 					}
@@ -1173,7 +1187,9 @@
 						"navigationBarTextStyle": "black",
 						"enablePullDownRefresh": false,
 						"usingComponents": {
+							// #ifdef MP-WEIXIN
 							"ocr-navigator": "plugin://ocr-plugin/ocr-navigator"
+							// #endif
 						}
 					}
 				}
@@ -1323,6 +1339,24 @@
 					}
 				}
 			]
+		},
+		{
+			"root": "subPackage/ecall",
+			"pages": [{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "E呼即办",
+						"enablePullDownRefresh": false
+					}
+				},
+				{
+					"path": "detail",
+					"style": {
+						"navigationBarTitleText": "E呼即办详情",
+						"enablePullDownRefresh": false
+					}
+				}
+			]
 		}
 	],
 	"globalStyle": {

--
Gitblit v1.9.3