From 4408673438345da77ed5ce156b2756d8139e3333 Mon Sep 17 00:00:00 2001 From: ISFP_T <68358856@qq.com> Date: Tue, 14 Oct 2025 19:20:26 +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 --- components/MapComponent.vue | 517 ++++++++++++----------- config/url.js | 2 +- config/user.js | 19 + manifest.json | 2 +- pages.json | 40 +- pages/expressReturn/addExpressReturn.vue | 133 ++++-- pages/index/index.vue | 456 ++++++++++++-------- pages/legal/agreement.vue | 134 ++++++ pages/legal/privacy.vue | 145 +++++++ pages/login/index.vue | 39 +- pages/my/index.vue | 75 +++- pages/order/index.vue | 18 +- pages/return/index.vue | 88 +++- pages/user/index.vue | 28 +- static/customer-service.png | Bin 0 -> 4854 bytes static/location-icon.png | Bin 0 -> 3337 bytes static/location.png | Bin 0 -> 4857 bytes static/logo.png | Bin 5371 -> 692559 bytes static/logout.png | Bin 0 -> 5393 bytes static/search-icon.png | Bin 0 -> 4492 bytes uni.scss | 6 +- 21 files changed, 1153 insertions(+), 549 deletions(-) create mode 100644 pages/legal/agreement.vue create mode 100644 pages/legal/privacy.vue create mode 100644 static/customer-service.png create mode 100644 static/location-icon.png create mode 100644 static/location.png create mode 100644 static/logout.png create mode 100644 static/search-icon.png diff --git a/components/MapComponent.vue b/components/MapComponent.vue index 84e27e1..063a973 100644 --- a/components/MapComponent.vue +++ b/components/MapComponent.vue @@ -3,10 +3,27 @@ - + @error="onMapError"> + + + + + + + + + + + + + + + + + @@ -18,35 +35,19 @@ - - - - - - - 我的位置 - - - - 扫码使用 - - - - 附近设备 - - \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index c83a25d..956b076 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,40 +1,38 @@ + + \ No newline at end of file diff --git a/pages/legal/agreement.vue b/pages/legal/agreement.vue new file mode 100644 index 0000000..54a214c --- /dev/null +++ b/pages/legal/agreement.vue @@ -0,0 +1,134 @@ + + + + + + + diff --git a/pages/legal/privacy.vue b/pages/legal/privacy.vue new file mode 100644 index 0000000..0461273 --- /dev/null +++ b/pages/legal/privacy.vue @@ -0,0 +1,145 @@ + + + + + \ No newline at end of file diff --git a/pages/login/index.vue b/pages/login/index.vue index 283fadc..8f66e52 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -2,7 +2,7 @@ 登录您的账号 @@ -14,9 +14,14 @@ - + - 登录即表示同意《用户协议》和《隐私政策》 + + 登录即表示同意 + 《用户协议》 + 和 + 《隐私政策》 + @@ -37,7 +42,7 @@ const target = '/pages/index/index' const tabPages = ['/pages/index/index', '/pages/my/index'] if (tabPages.includes(target)) { - uni.switchTab({ url: target }) + uni.reLaunch({ url: target }) return } uni.reLaunch({ url: target }) @@ -77,6 +82,10 @@ } catch (_) {} } }) + + const go = (url) => { + uni.navigateTo({ url }) + } diff --git a/pages/my/index.vue b/pages/my/index.vue index e868918..21ff32a 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -88,6 +88,17 @@ + + + + + + 退出登录 + + + + + -