From a2f103ab7336aae63a7bd8eaacf9d92809e37daf Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 23 Dec 2025 16:47:28 +0800
Subject: [PATCH] feat:按钮样式调整
---
src/pages.json | 75 ++++++++++++++++---------------------
1 files changed, 32 insertions(+), 43 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index 18d9a66..ff2c1c6 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -11,31 +11,36 @@
{
"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": "我的"
+ "navigationBarTitleText": "我的",
+ "navigationStyle": "custom"
}
},
{
"path": "pages/login/index",
"style": {
- "navigationBarTitleText": "登录页"
+ "navigationBarTitleText": "登录页",
+ "navigationStyle": "custom"
}
}
],
@@ -51,27 +56,10 @@
}
},
{
- "path": "theme/index",
- "style": {
- "navigationBarTitleText": "主题设置"
- }
- },
- {
- "path": "taskDetail/index",
- "style": {
- "navigationBarTitleText": "任务详情"
- }
- },
- {
- "path": "inProgress/index",
- "style": {
- "navigationBarTitleText": "执行中"
- }
- },
- {
"path": "droneConsole/index",
"style": {
- "navigationBarTitleText": "控制台"
+ "navigationBarTitleText": "直播监控",
+ "navigationStyle": "custom"
}
},
{
@@ -87,9 +75,9 @@
}
},
{
- "path": "taskDetail/inExecution/index",
+ "path": "taskDetail/inProgress/index",
"style": {
- "navigationBarTitleText": "执行中"
+ "navigationBarTitleText": "任务详情"
}
},
{
@@ -107,7 +95,8 @@
{
"path": "workDetail/mapWork/index",
"style": {
- "navigationBarTitleText": "地图展示"
+ "navigationBarTitleText": "地图展示",
+ "navigationStyle": "custom"
}
},
{
@@ -145,13 +134,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": "地图"
@@ -160,23 +149,23 @@
"iconPath": "static/images/tabbar/icon_list.png",
"selectedIconPath": "static/images/tabbar/icon_list_selected.png",
"pagePath": "pages/inspectionTask/index",
- "text": "巡检任务"
+ "text": "任务"
+ },
+ // #ifndef MP-WEIXIN
+ {
+ "iconPath": "static/images/tabbar/add.png",
+ "pagePath": "subPackages/taskDetail/addTask/index"
},
{
- "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",
+ "visible": "true"
},
+ // #endif
{
- "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",
@@ -192,4 +181,4 @@
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3