From 3fc27febccd04e2fcffbd2cdd16d2daafd0b3ca3 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 11 Oct 2025 17:23:27 +0800
Subject: [PATCH] feat:首页地图相关调整
---
src/pages.json | 210 +++++++++++++++++++++++++++++++++------------------
1 files changed, 135 insertions(+), 75 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index d251f2d..4b0c6d4 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -7,100 +7,160 @@
"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
}
},
- "pages": [
- {
- "path": "pages/tab/home/index",
- "style": {
- "navigationBarTitleText": "首页"
- }
- },
- {
- "path": "pages/tab/map/index",
+ "pages": [{
+ "path": "pages/map/index",
"style": {
"navigationBarTitleText": "地图"
}
},
{
- "path": "pages/tab/list/index",
+ "path": "pages/inspectionTask/index",
"style": {
- "navigationBarTitleText": "列表"
+ "navigationBarTitleText": "巡检任务"
+ }
+ }, {
+ "path": "pages/work/index",
+ "style": {
+ "navigationBarTitleText": "事件工单"
}
},
{
- "path": "pages/tab/user/index",
+ "path": "pages/user/index",
"style": {
- "navigationStyle": "custom"
- },
- "needLogin": true
- }
- ],
- "subPackages": [
+ "navigationBarTitleText": "我的"
+ }
+ },
{
- "root": "pages/common",
- "pages": [
- {
- "path": "login/index",
- "style": {
- "navigationBarTitleText": "登录",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "webview/index",
- "style": {
- "navigationBarTitleText": "网页"
- }
- },
- {
- "path": "404/index",
- "style": {
- "navigationBarTitleText": "404",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "theme/index",
- "style": {
- "navigationBarTitleText": "主题设置"
- }
- }
- ]
+ "path": "pages/login/index",
+ "style": {
+ "navigationBarTitleText": "登录页"
+ }
}
],
- "preloadRule": {
- "pages/tab/home/index": {
- "network": "all",
- "packages": ["pages/common"]
- }
- },
+ "subPackages": [{
+ "root": "subPackages",
+ "pages": [
+ {
+ "path": "404/index",
+ "style": {
+ "navigationBarTitleText": "404",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "theme/index",
+ "style": {
+ "navigationBarTitleText": "主题设置"
+ }
+ },
+ {
+ "path": "taskDetail/index",
+ "style": {
+ "navigationBarTitleText": "任务详情"
+ }
+ },
+
+ {
+ "path": "taskDetail/addTask/index",
+ "style": {
+ "navigationBarTitleText": "新建任务"
+ }
+ },
+
+ {
+ "path": "taskDetail/execution/index",
+ "style": {
+ "navigationBarTitleText": "已执行"
+ }
+ },
+
+ {
+ "path": "taskDetail/inExecution/index",
+ "style": {
+ "navigationBarTitleText": "执行中"
+ }
+ },
+
+ {
+ "path": "workDetail/index",
+ "style": {
+ "navigationBarTitleText": "工单详情"
+ }
+ },
+
+ {
+ "path": "workDetail/addWork/index",
+ "style": {
+ "navigationBarTitleText": "新建工单"
+ }
+ },
+
+ {
+ "path": "workDetail/mapWork/index",
+ "style": {
+ "navigationBarTitleText": "地图展示"
+ }
+ },
+
+ {
+ "path": "workDetail/photoMagnify/index",
+ "style": {
+ "navigationBarTitleText": "照片放大"
+ }
+ },
+
+ {
+ "path": "userDetail/infos/index",
+ "style": {
+ "navigationBarTitleText": "个人资料"
+ }
+ },
+
+ {
+ "path": "userDetail/password/index",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ },
+
+ {
+ "path": "browser/index",
+ "style": {
+ "navigationBarTitleText": "地图"
+ }
+ }
+ ]
+ }],
+
"tabBar": {
"color": "#1b233b",
"selectedColor": "#21d59d",
"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": "我的"
- }]
+ "iconPath": "static/images/tabbar/icon_home.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": "巡检任务"
+ }, {
+ "iconPath": "static/images/tabbar/icon_home.png",
+ "selectedIconPath": "static/images/tabbar/icon_home_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",
--
Gitblit v1.9.3