From 648904d076ae6e17892b40675598b1c8dc474277 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 24 Apr 2026 16:21:12 +0800
Subject: [PATCH] Merge branch 'feature/v9.0/9.0.3' into feature/v9.0/9.0.4
---
src/pages.json | 212 +++++++++++++++++++++++++++++++++++-----------------
1 files changed, 143 insertions(+), 69 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index d251f2d..9cd978c 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -9,48 +9,45 @@
},
"pages": [
{
- "path": "pages/tab/home/index",
+ "path": "pages/map/index",
"style": {
- "navigationBarTitleText": "首页"
- }
- },
- {
- "path": "pages/tab/map/index",
- "style": {
- "navigationBarTitleText": "地图"
- }
- },
- {
- "path": "pages/tab/list/index",
- "style": {
- "navigationBarTitleText": "列表"
- }
- },
- {
- "path": "pages/tab/user/index",
- "style": {
+ "navigationBarTitleText": "地图",
"navigationStyle": "custom"
- },
- "needLogin": true
+ }
+ },
+ {
+ "path": "pages/inspectionTask/index",
+ "style": {
+ "navigationBarTitleText": "巡检任务",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/work/index",
+ "style": {
+ "navigationBarTitleText": "事件工单",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/index",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/login/index",
+ "style": {
+ "navigationBarTitleText": "登录页",
+ "navigationStyle": "custom"
+ }
}
],
"subPackages": [
{
- "root": "pages/common",
+ "root": "subPackages",
"pages": [
- {
- "path": "login/index",
- "style": {
- "navigationBarTitleText": "登录",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "webview/index",
- "style": {
- "navigationBarTitleText": "网页"
- }
- },
{
"path": "404/index",
"style": {
@@ -59,48 +56,125 @@
}
},
{
- "path": "theme/index",
+ "path": "droneConsole/index",
"style": {
- "navigationBarTitleText": "主题设置"
+ "navigationBarTitleText": "直播监控",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "taskDetail/addTask/index",
+ "style": {
+ "navigationBarTitleText": "新建任务",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "taskDetail/execution/index",
+ "style": {
+ "navigationBarTitleText": "任务详情"
+ }
+ },
+ {
+ "path": "taskDetail/inProgress/index",
+ "style": {
+ "navigationBarTitleText": "任务详情"
+ }
+ },
+ {
+ "path": "workDetail/index",
+ "style": {
+ "navigationBarTitleText": "工单详情"
+ }
+ },
+ {
+ "path": "workDetail/addWork/index",
+ "style": {
+ "navigationBarTitleText": "新建工单"
+ }
+ },
+ {
+ "path": "workDetail/mapWork/index",
+ "style": {
+ "navigationBarTitleText": "地图展示",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "workDetail/photoMagnify/index",
+ "style": {
+ "navigationBarTitleText": "照片放大"
+ }
+ },
+ {
+ "path": "userDetail/infos/index",
+ "style": {
+ "navigationBarTitleText": "个人资料"
+ }
+ },
+ {
+ "path": "userDetail/password/index",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ },
+ {
+ "path": "browser/index",
+ "style": {
+ "navigationBarTitleText": "地图"
+ }
+ },
+ {
+ "path": "qrCode/index",
+ "style": {
+ "navigationBarTitleText": "扫码",
+ "navigationBarTextStyle": "black"
}
}
]
}
],
- "preloadRule": {
- "pages/tab/home/index": {
- "network": "all",
- "packages": ["pages/common"]
- }
- },
"tabBar": {
- "color": "#1b233b",
- "selectedColor": "#21d59d",
+ "color": "#8c8c8c",
+ "selectedColor": "#1D6FE9",
"borderStyle": "black",
"backgroundColor": "#ffffff",
- "list": [{
- "iconPath": "static/images/tabbar/icon_home.png",
- "selectedIconPath": "static/images/tabbar/icon_home_selected.png",
- "pagePath": "pages/tab/home/index",
- "text": "首页"
- },
- {
- "iconPath": "static/images/tabbar/icon_home.png",
- "selectedIconPath": "static/images/tabbar/icon_home_selected.png",
- "pagePath": "pages/tab/map/index",
- "text": "地图"
- },
- {
- "iconPath": "static/images/tabbar/icon_list.png",
- "selectedIconPath": "static/images/tabbar/icon_list_selected.png",
- "pagePath": "pages/tab/list/index",
- "text": "列表"
- }, {
- "iconPath": "static/images/tabbar/icon_me.png",
- "selectedIconPath": "static/images/tabbar/icon_me_selected.png",
- "pagePath": "pages/tab/user/index",
- "text": "我的"
- }]
+ "list": [
+ {
+ "iconPath": "static/images/tabbar/icon_home1.png",
+ "selectedIconPath": "static/images/tabbar/icon_home_selected.png",
+ "pagePath": "pages/map/index",
+ "text": "地图"
+ },
+ {
+ "iconPath": "static/images/tabbar/icon_list.png",
+ "selectedIconPath": "static/images/tabbar/icon_list_selected.png",
+ "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",
+ "visible": "true"
+ },
+ // #endif
+ {
+ "iconPath": "static/images/tabbar/icon_order.png",
+ "selectedIconPath": "static/images/tabbar/icon_order_selected.png",
+ "pagePath": "pages/work/index",
+ "text": "工单"
+ },
+ {
+ "iconPath": "static/images/tabbar/icon_me.png",
+ "selectedIconPath": "static/images/tabbar/icon_me_selected.png",
+ "pagePath": "pages/user/index",
+ "text": "我的"
+ }
+ ]
},
"globalStyle": {
"navigationBarTextStyle": "black",
@@ -108,4 +182,4 @@
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3