From 48ff5b958f5b7c051f3575955c23ec815754441d Mon Sep 17 00:00:00 2001
From: liugongyu <290219706@qq.com>
Date: Mon, 15 Dec 2025 16:34:45 +0800
Subject: [PATCH] 底部导航
---
common/config/env.js | 1 +
pages-sub/daily/maintain-manage/finish-plan-detail.vue | 2 +-
pages-sub/daily/patrol-manage/finish-plan-detail.vue | 2 +-
pages.json | 12 ++++++------
pages/workbench/index.vue | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------
static/imgs/nav/home-off.png | Bin 0 -> 516 bytes
static/imgs/nav/home-on.png | Bin 0 -> 977 bytes
static/imgs/nav/my-off.png | Bin 0 -> 1663 bytes
static/imgs/nav/my-on.png | Bin 0 -> 1360 bytes
static/imgs/nav/work-off.png | Bin 0 -> 479 bytes
static/imgs/nav/work-on.png | Bin 0 -> 1308 bytes
11 files changed, 111 insertions(+), 82 deletions(-)
create mode 100644 static/imgs/nav/home-off.png
create mode 100644 static/imgs/nav/home-on.png
create mode 100644 static/imgs/nav/my-off.png
create mode 100644 static/imgs/nav/my-on.png
create mode 100644 static/imgs/nav/work-off.png
create mode 100644 static/imgs/nav/work-on.png
diff --git a/common/config/env.js b/common/config/env.js
index 280a05c..ea55575 100644
--- a/common/config/env.js
+++ b/common/config/env.js
@@ -4,6 +4,7 @@ const env = {
development: {
baseUrl: 'https://test.jichengshanshui.com.cn:28302',
// https://test.jichengshanshui.com.cn:28302
+ // http://h95ce3aa.natappfree.cc
uploadUrl: 'https://test.jichengshanshui.com.cn:28302',
// baseApi:'admin-api',
diff --git a/pages-sub/daily/maintain-manage/finish-plan-detail.vue b/pages-sub/daily/maintain-manage/finish-plan-detail.vue
index d9fe4b5..7dfccd0 100644
--- a/pages-sub/daily/maintain-manage/finish-plan-detail.vue
+++ b/pages-sub/daily/maintain-manage/finish-plan-detail.vue
@@ -146,7 +146,7 @@ onLoad((options) => {
background: #fff;
width: 100%;
box-sizing: border-box;
- margin-bottom: 20rpx;
+ margin-bottom: 30rpx;
}
diff --git a/pages-sub/daily/patrol-manage/finish-plan-detail.vue b/pages-sub/daily/patrol-manage/finish-plan-detail.vue
index e59ae58..a60e4e7 100644
--- a/pages-sub/daily/patrol-manage/finish-plan-detail.vue
+++ b/pages-sub/daily/patrol-manage/finish-plan-detail.vue
@@ -144,7 +144,7 @@ onLoad((options) => {
background: #fff;
width: 100%;
box-sizing: border-box;
- margin-bottom: 20rpx;
+ margin-bottom: 30rpx;
}
diff --git a/pages.json b/pages.json
index c006e8f..2f92839 100644
--- a/pages.json
+++ b/pages.json
@@ -160,20 +160,20 @@
{
"pagePath": "pages/index/index",
"text": "首页",
- "iconPath": "static/icons/home.png",
- "selectedIconPath": "static/icons/home-active.png"
+ "iconPath": "static/imgs/nav/home-off.png",
+ "selectedIconPath": "static/imgs/nav/home-on.png"
},
{
"pagePath": "pages/workbench/index",
"text": "工作台",
- "iconPath": "static/icons/mine.png",
- "selectedIconPath": "static/icons/mine-active.png"
+ "iconPath": "static/imgs/nav/work-off.png",
+ "selectedIconPath": "static/imgs/nav/work-on.png"
},
{
"pagePath": "pages/mine/index",
"text": "我的",
- "iconPath": "static/icons/mine.png",
- "selectedIconPath": "static/icons/mine-active.png"
+ "iconPath": "static/imgs/nav/my-off.png",
+ "selectedIconPath": "static/imgs/nav/my-on.png"
}
]
},
diff --git a/pages/workbench/index.vue b/pages/workbench/index.vue
index 355d9b8..3c732ea 100644
--- a/pages/workbench/index.vue
+++ b/pages/workbench/index.vue
@@ -1,60 +1,58 @@
-
+
-
+
-
+
-
-
@@ -64,8 +62,8 @@
-
\ No newline at end of file
diff --git a/static/imgs/nav/home-off.png b/static/imgs/nav/home-off.png
new file mode 100644
index 0000000..4aa2aa3
Binary files /dev/null and b/static/imgs/nav/home-off.png differ
diff --git a/static/imgs/nav/home-on.png b/static/imgs/nav/home-on.png
new file mode 100644
index 0000000..9a5772d
Binary files /dev/null and b/static/imgs/nav/home-on.png differ
diff --git a/static/imgs/nav/my-off.png b/static/imgs/nav/my-off.png
new file mode 100644
index 0000000..3f9dca0
Binary files /dev/null and b/static/imgs/nav/my-off.png differ
diff --git a/static/imgs/nav/my-on.png b/static/imgs/nav/my-on.png
new file mode 100644
index 0000000..e70147d
Binary files /dev/null and b/static/imgs/nav/my-on.png differ
diff --git a/static/imgs/nav/work-off.png b/static/imgs/nav/work-off.png
new file mode 100644
index 0000000..2742187
Binary files /dev/null and b/static/imgs/nav/work-off.png differ
diff --git a/static/imgs/nav/work-on.png b/static/imgs/nav/work-on.png
new file mode 100644
index 0000000..f9e4393
Binary files /dev/null and b/static/imgs/nav/work-on.png differ
--
libgit2 0.21.4