From be4e2d7c2b330c3b8991a0286ea16cc1285b9ec0 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 08 May 2026 17:47:32 +0800
Subject: [PATCH] feat: 微信小程序支持上传头像
---
src/pages.json | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index 6ce2a2c..f007342 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -42,12 +42,6 @@
"navigationBarTitleText": "登录页",
"navigationStyle": "custom"
}
- },
- {
- "path": "pages/dispatcher/index",
- "style": {
- "navigationStyle": "custom"
- }
}
],
"subPackages": [
@@ -71,7 +65,8 @@
{
"path": "taskDetail/addTask/index",
"style": {
- "navigationBarTitleText": "新建任务"
+ "navigationBarTitleText": "新建任务",
+ "navigationStyle": "custom"
}
},
{
@@ -118,6 +113,12 @@
}
},
{
+ "path": "downloadPage/index",
+ "style": {
+ "navigationBarTitleText": "下载"
+ }
+ },
+ {
"path": "userDetail/password/index",
"style": {
"navigationBarTitleText": "修改密码"
@@ -157,12 +158,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",
--
Gitblit v1.9.3