From be39bd6da8b2fd8e41601930ab6815f9e17f1df3 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Sat, 20 Sep 2025 17:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 13 + src/bundle/order/tea-room/order-detail.vue | 282 +++++------ src/bundle/order/tea-room/order-list.vue | 51 +- .../order/tea-specialist/order-detail.vue | 478 +++++++++++++----- .../order/tea-specialist/order-list.vue | 185 +++++++ src/bundle/parten/components/Tabbar.vue | 60 +++ src/bundle/parten/pages/bill/bill.vue | 24 + src/bundle/parten/pages/my/my.vue | 24 + src/bundle/parten/pages/sub/sub.vue | 24 + src/bundle/profile/profile.vue | 6 +- src/bundle/settle-in/parten.vue | 227 +++++++++ src/bundle/settle-in/tea-room.vue | 271 ++++++++++ src/bundle/settle-in/tea-specialist.vue | 377 ++++++++++++++ src/components/order/ComboCard.vue | 143 +++++- src/hooks/useColPickerData.ts | 38 ++ src/pages.json | 56 ++ src/pages/login/mobile.vue | 2 - src/pages/my/my.vue | 56 +- src/utils/order.ts | 8 +- 20 files changed, 1962 insertions(+), 364 deletions(-) create mode 100644 src/bundle/order/tea-specialist/order-list.vue create mode 100644 src/bundle/parten/components/Tabbar.vue create mode 100644 src/bundle/parten/pages/bill/bill.vue create mode 100644 src/bundle/parten/pages/my/my.vue create mode 100644 src/bundle/parten/pages/sub/sub.vue create mode 100644 src/bundle/settle-in/parten.vue create mode 100644 src/bundle/settle-in/tea-room.vue create mode 100644 src/bundle/settle-in/tea-specialist.vue create mode 100644 src/hooks/useColPickerData.ts diff --git a/package.json b/package.json index 073136a..fcb0e1f 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,7 @@ "@dcloudio/uni-mp-xhs": "3.0.0-4070520250711001", "@dcloudio/uni-quickapp-webview": "3.0.0-4070520250711001", "@tanstack/vue-query": "^5.62.16", + "@vant/area-data": "^2.1.0", "abortcontroller-polyfill": "^1.7.8", "alova": "^3.3.3", "dayjs": "1.11.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9468bff..1559698 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -73,6 +73,9 @@ importers: '@tanstack/vue-query': specifier: ^5.62.16 version: 5.83.1(vue@3.4.21(typescript@5.9.2)) + '@vant/area-data': + specifier: ^2.1.0 + version: 2.1.0 abortcontroller-polyfill: specifier: ^1.7.8 version: 1.7.8 @@ -234,6 +237,8 @@ importers: specifier: ^2.2.10 version: 2.2.12(typescript@5.9.2) + src/uni_modules/mescroll-uni: {} + src/uni_modules/uni-icons: {} src/uni_modules/uni-scss: {} @@ -1206,6 +1211,7 @@ packages: '@esbuild/darwin-arm64@0.20.2': resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} engines: {node: '>=12'} + cpu: [arm64] os: [darwin] '@esbuild/darwin-arm64@0.23.1': @@ -1223,6 +1229,7 @@ packages: '@esbuild/darwin-x64@0.20.2': resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} engines: {node: '>=12'} + cpu: [x64] os: [darwin] '@esbuild/darwin-x64@0.23.1': @@ -2091,6 +2098,7 @@ packages: '@rollup/rollup-darwin-x64@4.46.2': resolution: {integrity: sha512-SSj8TlYV5nJixSsm/y3QXfhspSiLYP11zpfwp6G/YDXctf3Xkdnk4woJIF5VQe0of2OjzTt8EsxnJDCdHd2xMA==} + cpu: [x64] os: [darwin] '@rollup/rollup-freebsd-arm64@4.46.2': @@ -2589,6 +2597,9 @@ packages: peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 + '@vant/area-data@2.1.0': + resolution: {integrity: sha512-wx9PrUX7wSUJiFcz8UrcvZfTjV6sTc+7SHcbjGQQzEcv5y+EwOo5uV4ZKdfrR5Hzcw4MA08LQdvXPSEb4nWbug==} + '@vitejs/plugin-legacy@5.3.2': resolution: {integrity: sha512-8moCOrIMaZ/Rjln0Q6GsH6s8fAt1JOI3k8nmfX4tXUxE5KAExVctSyOBk+A25GClsdSWqIk2yaUthH3KJ2X4tg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -9669,6 +9680,8 @@ snapshots: transitivePeerDependencies: - vue + '@vant/area-data@2.1.0': {} + '@vitejs/plugin-legacy@5.3.2(terser@5.43.1)(vite@5.2.8(@types/node@20.19.9)(sass@1.77.8)(terser@5.43.1))': dependencies: '@babel/core': 7.28.0 diff --git a/src/bundle/order/tea-room/order-detail.vue b/src/bundle/order/tea-room/order-detail.vue index 11e3cf7..4cfc41f 100644 --- a/src/bundle/order/tea-room/order-detail.vue +++ b/src/bundle/order/tea-room/order-detail.vue @@ -9,12 +9,146 @@ @@ -357,7 +358,7 @@ const title = ref('') const orderStatus = ref('') // 订单状态:待使用、退款等 - /** 续订包间 **/ + // 续订包间 const showRenewPopup = ref(false) const timeList = [ {id: 1, time: '1小时'}, @@ -387,7 +388,6 @@ ]) const showRenewSuccessPopup = ref(false) - /** 结束 **/ // 订单倒计时取消 const time = ref(30 * 60 * 60 * 1000) @@ -397,8 +397,6 @@ // 费用明细 const showCostPopup = ref(false) // 是否显示退款详情弹出框 - const costValue = ref(['item1']) - onLoad((args) => { title.value = OrderStatusTitle[OrderSource.TeaRoom][args.orderStatus] || '订单详情' @@ -407,7 +405,7 @@ orderStatus.value = args.orderStatus }) - const orderDetail = { + const OrderDetail = { // 取消订单 handleCancelOrder: () => { message.confirm({ diff --git a/src/bundle/order/tea-room/order-list.vue b/src/bundle/order/tea-room/order-list.vue index c2e1e41..268b9e0 100644 --- a/src/bundle/order/tea-room/order-list.vue +++ b/src/bundle/order/tea-room/order-list.vue @@ -8,7 +8,7 @@