From c7006707bafc2c3185f4fe1b9fea85597df0b084 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 20 Dec 2025 11:40:40 +0800
Subject: [PATCH] feat:针对非微信小程序相关配置处理
---
src/pages.json | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index 6ce2a2c..ff2c1c6 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -42,12 +42,6 @@
"navigationBarTitleText": "登录页",
"navigationStyle": "custom"
}
- },
- {
- "path": "pages/dispatcher/index",
- "style": {
- "navigationStyle": "custom"
- }
}
],
"subPackages": [
@@ -157,12 +151,16 @@
"pagePath": "pages/inspectionTask/index",
"text": "任务"
},
+ // #ifndef MP-WEIXIN
+ {
+ "iconPath": "static/images/tabbar/add.png",
+ "pagePath": "subPackages/taskDetail/addTask/index"
+ },
{
"iconPath": "static/images/tabbar/drone.png",
- "selectedIconPath": "static/images/tabbar/drone.png",
- "pagePath": "pages/dispatcher/index",
- "text": ""
+ "visible": "true"
},
+ // #endif
{
"iconPath": "static/images/tabbar/icon_order.png",
"selectedIconPath": "static/images/tabbar/icon_order_selected.png",
@@ -183,4 +181,4 @@
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3