From ac592f674f27d7e4553ac7d43afa49d83eefbc63 Mon Sep 17 00:00:00 2001 From: 5g0Wp7Zy Date: Tue, 3 Mar 2026 17:10:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env | 2 +- src/http/http.ts | 2 +- src/{pages => pages-fg}/login/login.vue | 2 +- src/pages-sub/common/config/menu.ts | 2 +- src/pages-sub/common/mapPlotting.vue | 2 + src/pages-sub/common/moreApplications.vue | 2 +- src/pages/home/config.ts | 4 +- src/pages/loadingPage/loadingPage.vue | 119 ++++++++++++++++++++++ src/pages/me/me.vue | 53 ++++++++++ src/store/app.ts | 16 ++- src/utils/map.ts | 4 +- 11 files changed, 195 insertions(+), 13 deletions(-) rename src/{pages => pages-fg}/login/login.vue (99%) create mode 100644 src/pages/loadingPage/loadingPage.vue diff --git a/env/.env b/env/.env index 656e4c9..29ece0a 100644 --- a/env/.env +++ b/env/.env @@ -41,4 +41,4 @@ VITE_AMAP_KEY = '1f8f159583f28dfba6eb06deb55e3b56' VITE_HOME_URL = '/pages/index/index' # 图片上传展示路径 -VITE_APP_IMAGE_URL = 'https://www.cdzhuojing.cn/file/static-objects/img-file/' \ No newline at end of file +VITE_APP_IMAGE_URL = 'https://www.cx.cdzhuojing.cn/file/static-objects/img-file/' \ No newline at end of file diff --git a/src/http/http.ts b/src/http/http.ts index ed8cd34..7dd080a 100644 --- a/src/http/http.ts +++ b/src/http/http.ts @@ -39,7 +39,7 @@ export function http(options: CustomRequestOptions) { CacheManager.remove('dictData') uni.navigateTo({ - url: '/pages/login/login', + url: '/pages-fg/login/login', }) return reject(responseData) diff --git a/src/pages/login/login.vue b/src/pages-fg/login/login.vue similarity index 99% rename from src/pages/login/login.vue rename to src/pages-fg/login/login.vue index 496a471..1e96cc6 100644 --- a/src/pages/login/login.vue +++ b/src/pages-fg/login/login.vue @@ -8,7 +8,7 @@ const { VITE_APP_TITLE } = import.meta.env definePage({ // 使用 type: "home" 属性设置首页,其他页面不需要设置,默认为page - type: 'home', + // type: 'home', style: { navigationStyle: 'custom', }, diff --git a/src/pages-sub/common/config/menu.ts b/src/pages-sub/common/config/menu.ts index 87c6520..2c820f5 100644 --- a/src/pages-sub/common/config/menu.ts +++ b/src/pages-sub/common/config/menu.ts @@ -83,7 +83,7 @@ export const menu_list = [ }, { key: 'orderManagement', - name: '工单管理', + name: '点单改价', type: 'page', path: '/pages-sub/order-manage/index', customsrc: 'APPICON_ZHANDIANGUANLI_IMAGE', diff --git a/src/pages-sub/common/mapPlotting.vue b/src/pages-sub/common/mapPlotting.vue index 39a7f21..62a5fee 100644 --- a/src/pages-sub/common/mapPlotting.vue +++ b/src/pages-sub/common/mapPlotting.vue @@ -62,9 +62,11 @@ function regionchange(e: any) { // 地图点击事件 function handleMapTap(e: any) { const { latitude, longitude } = e.detail + // console.log(latitude, longitude) if (isPointInRegion({ latitude, longitude })) { drawPoint({ + type: 'other', point: { id: Math.floor(100000 + Math.random() * 900000), longitude, diff --git a/src/pages-sub/common/moreApplications.vue b/src/pages-sub/common/moreApplications.vue index fb0f7b3..90804c6 100644 --- a/src/pages-sub/common/moreApplications.vue +++ b/src/pages-sub/common/moreApplications.vue @@ -81,7 +81,7 @@ function handleSelect(item: any) { > - 常用应用 + {{ item.name }} diff --git a/src/pages/home/config.ts b/src/pages/home/config.ts index 6611afe..f3b28a9 100644 --- a/src/pages/home/config.ts +++ b/src/pages/home/config.ts @@ -249,9 +249,9 @@ export function getIconByOrderStatus(vehicle) { return getBatteryIconBySoc(vehicle.soc) } - // 4. 巡检 + // 4. 巡检(TUDO:没有对应的图标) if (hasInspection) { - return getImageFullPath('MAP_ICON_REPAIRE_CAR_IMAGE') + return getImageFullPath('CUSTOM_CAR_ICON_IMAGE') } // 5. 都没有订单 diff --git a/src/pages/loadingPage/loadingPage.vue b/src/pages/loadingPage/loadingPage.vue new file mode 100644 index 0000000..e7277dd --- /dev/null +++ b/src/pages/loadingPage/loadingPage.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/src/pages/me/me.vue b/src/pages/me/me.vue index 166f7f4..c3d698b 100644 --- a/src/pages/me/me.vue +++ b/src/pages/me/me.vue @@ -1,4 +1,5 @@