From 32febb140d320b35d580c8d4e78a80ef846e75fc Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 19 Dec 2025 15:59:34 +0800
Subject: [PATCH] feat:webview通信处理
---
src/pages.json | 83 ++++++++++++++++++++++++-----------------
1 files changed, 48 insertions(+), 35 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index e839174..96aae35 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -11,45 +11,48 @@
{
"path": "pages/map/index",
"style": {
- "navigationBarTitleText": "地图"
+ "navigationBarTitleText": "地图",
+ "navigationStyle": "custom"
}
},
{
"path": "pages/inspectionTask/index",
"style": {
- "navigationBarTitleText": "巡检任务"
+ "navigationBarTitleText": "巡检任务",
+ "navigationStyle": "custom"
}
},
{
"path": "pages/work/index",
"style": {
- "navigationBarTitleText": "事件工单"
+ "navigationBarTitleText": "事件工单",
+ "navigationStyle": "custom"
}
},
{
"path": "pages/user/index",
"style": {
- "navigationBarTitleText": "我的"
- }
- },
- {
- "path": "pages/inspectionTask/TaskDetails/TaskDetails",
- "style": {
- "navigationBarTitleText": "执行中",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/inspectionTask/DroneConsole/DroneConsole",
- "style": {
- "navigationBarTitleText": "控制台",
+ "navigationBarTitleText": "我的",
"navigationStyle": "custom"
}
},
{
"path": "pages/login/index",
"style": {
- "navigationBarTitleText": "登录页"
+ "navigationBarTitleText": "登录页",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/placeholder/placeholder",
+ "style": {
+ "navigationBarTitleText": "占位页面"
+ }
+ },
+ {
+ "path": "pages/dispatcher/index",
+ "style": {
+ "navigationStyle": "custom"
}
}
],
@@ -74,6 +77,19 @@
"path": "taskDetail/index",
"style": {
"navigationBarTitleText": "任务详情"
+ }
+ },
+ {
+ "path": "inProgress/index",
+ "style": {
+ "navigationBarTitleText": "任务详情"
+ }
+ },
+ {
+ "path": "droneConsole/index",
+ "style": {
+ "navigationBarTitleText": "直播监控",
+ "navigationStyle": "custom"
}
},
{
@@ -109,7 +125,8 @@
{
"path": "workDetail/mapWork/index",
"style": {
- "navigationBarTitleText": "地图展示"
+ "navigationBarTitleText": "地图展示",
+ "navigationStyle": "custom"
}
},
{
@@ -147,13 +164,13 @@
}
],
"tabBar": {
- "color": "#1b233b",
- "selectedColor": "#21d59d",
+ "color": "#8c8c8c",
+ "selectedColor": "#1D6FE9",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
- "iconPath": "static/images/tabbar/icon_home.png",
+ "iconPath": "static/images/tabbar/icon_home1.png",
"selectedIconPath": "static/images/tabbar/icon_home_selected.png",
"pagePath": "pages/map/index",
"text": "地图"
@@ -162,23 +179,19 @@
"iconPath": "static/images/tabbar/icon_list.png",
"selectedIconPath": "static/images/tabbar/icon_list_selected.png",
"pagePath": "pages/inspectionTask/index",
- "text": "巡检任务"
+ "text": "任务"
},
{
- "iconPath": "static/images/tabbar/add-task.svg",
- "selectedIconPath": "static/images/tabbar/add-task.svg",
- "pagePath": "subPackages/taskDetail/addTask/index",
- "text": "",
- "style": {
- "width": "600",
- "height": "600"
- }
+ "iconPath": "static/images/tabbar/drone.png",
+ "selectedIconPath": "static/images/tabbar/drone.png",
+ "pagePath": "pages/dispatcher/index",
+ "text": ""
},
{
- "iconPath": "static/images/tabbar/icon_home.png",
- "selectedIconPath": "static/images/tabbar/icon_home_selected.png",
+ "iconPath": "static/images/tabbar/icon_order.png",
+ "selectedIconPath": "static/images/tabbar/icon_order_selected.png",
"pagePath": "pages/work/index",
- "text": "事件工单"
+ "text": "工单"
},
{
"iconPath": "static/images/tabbar/icon_me.png",
@@ -194,4 +207,4 @@
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3