From 9f66ee9658ecef8d1800579e49ae27dc7b88c83c Mon Sep 17 00:00:00 2001 From: ISFP_T <68358856@qq.com> Date: Mon, 2 Feb 2026 14:08:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 9 + App.vue | 3 + components/DeviceOrderItemCard.vue | 262 ++ components/MapComponent.vue | 37 +- components/pca.json | 5021 ++++++++++++++++++++++++++++ config/api/order.js | 38 + config/api/product.js | 79 + config/console.js | 77 + locale/en-US.js | 23 + locale/zh-CN.js | 27 +- main.js | 6 +- pages.json | 34 +- pages/device/detail.vue | 2 +- pages/device/goods.vue | 1576 +++++++++ pages/device/orderDetail.vue | 710 ++++ pages/device/orderList.vue | 799 +++++ pages/index/index.vue | 160 +- pages/my/card.vue | 23 +- pages/my/coupon.vue | 13 +- pages/order/detail.vue | 184 +- pages/scan/index.vue | 442 +++ pages/serve/bagCheck/index.vue | 5 +- static/battery-icon.png | Bin 0 -> 847 bytes static/charge-icon.png | Bin 0 -> 1071 bytes static/goods_bg.webp | Bin 0 -> 84454 bytes static/hlep.png | Bin 4113 -> 0 bytes static/jl.png | Bin 4139 -> 5519 bytes static/shop_icon.png | Bin 0 -> 7391 bytes static/temp-icon.png | Bin 0 -> 2129 bytes static/use_help.png | Bin 8513 -> 10909 bytes static/use_help_1.png | Bin 0 -> 8513 bytes static/wind-icon.png | Bin 0 -> 1916 bytes utils/i18n.js | 4 +- 33 files changed, 9381 insertions(+), 153 deletions(-) create mode 100644 .hbuilderx/launch.json create mode 100644 components/DeviceOrderItemCard.vue create mode 100644 components/pca.json create mode 100644 config/api/product.js create mode 100644 config/console.js create mode 100644 pages/device/goods.vue create mode 100644 pages/device/orderDetail.vue create mode 100644 pages/device/orderList.vue create mode 100644 pages/scan/index.vue create mode 100644 static/battery-icon.png create mode 100644 static/charge-icon.png create mode 100644 static/goods_bg.webp delete mode 100644 static/hlep.png create mode 100644 static/shop_icon.png create mode 100644 static/temp-icon.png create mode 100644 static/use_help_1.png create mode 100644 static/wind-icon.png diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json new file mode 100644 index 0000000..8ae452a --- /dev/null +++ b/.hbuilderx/launch.json @@ -0,0 +1,9 @@ +{ + "version" : "1.0", + "configurations" : [ + { + "playground" : "standard", + "type" : "uni-app:app-android" + } + ] +} diff --git a/App.vue b/App.vue index cb38d24..9ee83ae 100644 --- a/App.vue +++ b/App.vue @@ -57,6 +57,9 @@ // 检查并更新语言(uni.reLaunch 会触发 onShow) try { const savedLang = uni.getStorageSync('language') + if(savedLang){ + uni.removeStorageSync('language'); + } console.log('App onShow - 缓存中的语言:', savedLang) // 获取当前 i18n 实例并检查语言 diff --git a/components/DeviceOrderItemCard.vue b/components/DeviceOrderItemCard.vue new file mode 100644 index 0000000..3319be7 --- /dev/null +++ b/components/DeviceOrderItemCard.vue @@ -0,0 +1,262 @@ + + + + + + diff --git a/components/MapComponent.vue b/components/MapComponent.vue index e36a81a..95c1042 100644 --- a/components/MapComponent.vue +++ b/components/MapComponent.vue @@ -1,5 +1,5 @@