From ecdc7f910ae6228b01d221d42fa6437ceed04dda Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 24 Oct 2025 15:04:39 +0800
Subject: [PATCH] feat:修改背景颜色
---
src/pages.json | 39 ++++++++++++++++++---------------------
1 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index d192a95..84e3cd9 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -152,43 +152,40 @@
}
],
"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",
+ "iconPath": "static/images/tabbar/icon_home.svg",
+ "selectedIconPath": "static/images/tabbar/icon_home_selected.svg",
"pagePath": "pages/map/index",
"text": "地图"
},
{
- "iconPath": "static/images/tabbar/icon_list.png",
- "selectedIconPath": "static/images/tabbar/icon_list_selected.png",
+ "iconPath": "static/images/tabbar/icon_list.svg",
+ "selectedIconPath": "static/images/tabbar/icon_list_selected.svg",
"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": "新建",
- "visible": true,
- "style": {
- "width": "600",
- "height": "600"
- }
+ "iconPath": "static/images/tabbar/add.png",
+ "pagePath": "subPackages/taskDetail/addTask/index"
},
{
- "iconPath": "static/images/tabbar/icon_home.png",
- "selectedIconPath": "static/images/tabbar/icon_home_selected.png",
+ "iconPath": "static/images/tabbar/drone.png",
+ "visible": "true"
+ },
+ {
+ "iconPath": "static/images/tabbar/icon_order.svg",
+ "selectedIconPath": "static/images/tabbar/icon_order_selected.svg",
"pagePath": "pages/work/index",
- "text": "事件工单"
+ "text": "工单"
},
{
- "iconPath": "static/images/tabbar/icon_me.png",
- "selectedIconPath": "static/images/tabbar/icon_me_selected.png",
+ "iconPath": "static/images/tabbar/icon_me.svg",
+ "selectedIconPath": "static/images/tabbar/icon_me_selected.svg",
"pagePath": "pages/user/index",
"text": "我的"
}
--
Gitblit v1.9.3