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 | 43 +++++++++++++------------------------------
1 files changed, 13 insertions(+), 30 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index 939a1f4..f007342 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -42,14 +42,7 @@
"navigationBarTitleText": "登录页",
"navigationStyle": "custom"
}
- },
- {
- "path": "pages/placeholder/placeholder",
- "style": {
- "navigationBarTitleText": "占位页面"
- }
}
-
],
"subPackages": [
{
@@ -63,24 +56,6 @@
}
},
{
- "path": "theme/index",
- "style": {
- "navigationBarTitleText": "主题设置"
- }
- },
- {
- "path": "taskDetail/index",
- "style": {
- "navigationBarTitleText": "任务详情"
- }
- },
- {
- "path": "inProgress/index",
- "style": {
- "navigationBarTitleText": "任务详情"
- }
- },
- {
"path": "droneConsole/index",
"style": {
"navigationBarTitleText": "直播监控",
@@ -90,7 +65,8 @@
{
"path": "taskDetail/addTask/index",
"style": {
- "navigationBarTitleText": "新建任务"
+ "navigationBarTitleText": "新建任务",
+ "navigationStyle": "custom"
}
},
{
@@ -100,9 +76,9 @@
}
},
{
- "path": "taskDetail/inExecution/index",
+ "path": "taskDetail/inProgress/index",
"style": {
- "navigationBarTitleText": "执行中"
+ "navigationBarTitleText": "任务详情"
}
},
{
@@ -121,7 +97,7 @@
"path": "workDetail/mapWork/index",
"style": {
"navigationBarTitleText": "地图展示",
- "navigationStyle": "custom"
+ "navigationStyle": "custom"
}
},
{
@@ -134,6 +110,12 @@
"path": "userDetail/infos/index",
"style": {
"navigationBarTitleText": "个人资料"
+ }
+ },
+ {
+ "path": "downloadPage/index",
+ "style": {
+ "navigationBarTitleText": "下载"
}
},
{
@@ -176,15 +158,16 @@
"pagePath": "pages/inspectionTask/index",
"text": "任务"
},
+ // #ifndef MP-WEIXIN
{
"iconPath": "static/images/tabbar/add.png",
"pagePath": "subPackages/taskDetail/addTask/index"
},
{
- "pagePath": "pages/placeholder/placeholder",
"iconPath": "static/images/tabbar/drone.png",
"visible": "true"
},
+ // #endif
{
"iconPath": "static/images/tabbar/icon_order.png",
"selectedIconPath": "static/images/tabbar/icon_order_selected.png",
--
Gitblit v1.9.3