From ac855b089eeb704bab38f1e21113f4ed9092ba2e Mon Sep 17 00:00:00 2001 From: weiwei Date: Tue, 25 Mar 2025 16:58:36 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E6=89=93=E5=BC=80=E8=B6=85=E5=B8=82tabba?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 13 +++++++------ src/pages.json | 26 +++++++++++++------------- src/pages/merchant/food.vue | 20 ++++++++++---------- src/pages/tabbar/shop.vue | 13 +++++++------ 4 files changed, 37 insertions(+), 35 deletions(-) diff --git a/src/App.vue b/src/App.vue index b89e1e9..69941a5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,12 +13,13 @@ const tabbar = [ selectedIconPath: "/static/tabbar/canteen-select.png", auth: ["zhezhengding", "shihua"], }, - // { - // "pagePath": "pages/tabbar/shop", - // "text": "超市", - // "iconPath": "/static/tabbar/shop.png", - // "selectedIconPath": "/static/tabbar/shop-select.png" - // }, + { + pagePath: "pages/tabbar/shop", + text: "超市", + iconPath: "/static/tabbar/shop.png", + selectedIconPath: "/static/tabbar/shop-select.png", + auth: ["zhezhengding", "shihua"], + }, { pagePath: "pages/tabbar/order", text: "订单", diff --git a/src/pages.json b/src/pages.json index 26907c7..fafaefb 100644 --- a/src/pages.json +++ b/src/pages.json @@ -16,13 +16,13 @@ "disableScroll": true } }, - // { - // "path": "pages/tabbar/shop", - // "style": { - // "navigationBarTitleText": "超市", - // "disableScroll": true - // } - // }, + { + "path": "pages/tabbar/shop", + "style": { + "navigationBarTitleText": "超市", + "disableScroll": true + } + }, { "path": "pages/tabbar/order", "style": { @@ -299,12 +299,12 @@ "iconPath": "", "selectedIconPath": "" }, - // { - // "pagePath": "pages/tabbar/shop", - // "text": "", - // "iconPath": "", - // "selectedIconPath": "" - // }, + { + "pagePath": "pages/tabbar/shop", + "text": "", + "iconPath": "", + "selectedIconPath": "" + }, { "pagePath": "pages/tabbar/order", "text": "", diff --git a/src/pages/merchant/food.vue b/src/pages/merchant/food.vue index 98739e5..00cd8fa 100644 --- a/src/pages/merchant/food.vue +++ b/src/pages/merchant/food.vue @@ -150,17 +150,17 @@ const doProduct = (v: any) => { diff --git a/src/pages/tabbar/shop.vue b/src/pages/tabbar/shop.vue index 3690736..93c7753 100644 --- a/src/pages/tabbar/shop.vue +++ b/src/pages/tabbar/shop.vue @@ -27,10 +27,10 @@ onShow(() => { }) const toDetail = async (v: any) => { - const isLogin = await hooks.useCheckLogin() - if (isLogin) { - router.jump("/pages/shop/detail", { id: v.id }) - } + // const isLogin = await hooks.useCheckLogin() + // if (isLogin) { + // router.jump("/pages/shop/detail", { id: v.id }) + // } } @@ -57,11 +57,12 @@ const toDetail = async (v: any) => { {{ v.name }} - {{ v.deptName }} + + 老县府超市 {{ v.phone }} - 营业时间: + 营业时间: {{ v.jobTime?.split(",")[0] ? "早:" + v.jobTime?.split(",")[0] : "" }} {{ v.jobTime?.split(",")[1] ? "中:" + v.jobTime?.split(",")[1] : "" }} {{ v.jobTime?.split(",")[2] ? "晚:" + v.jobTime?.split(",")[2] : "" }} From eb05a664eb65ecfc9ce3237358705996d9c89e62 Mon Sep 17 00:00:00 2001 From: weiwei Date: Tue, 25 Mar 2025 17:32:55 +0800 Subject: [PATCH 02/10] 1 --- src/pages/tabbar/shop.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/tabbar/shop.vue b/src/pages/tabbar/shop.vue index 93c7753..8ad7d42 100644 --- a/src/pages/tabbar/shop.vue +++ b/src/pages/tabbar/shop.vue @@ -57,8 +57,7 @@ const toDetail = async (v: any) => { {{ v.name }} - - 老县府超市 + {{ v.deptName }} {{ v.phone }} From 4e09579931b8c61f8cdd95f46c304e65dc874a03 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Tue, 25 Mar 2025 20:46:04 +0800 Subject: [PATCH 03/10] 11 --- .env | 4 ++-- src/pages.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index b162418..bc55261 100644 --- a/.env +++ b/.env @@ -26,9 +26,9 @@ VITE_OAUTH2_APP_CLIENT='mini:mini' VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api # 信创线上 # ******************** start 开发环境 start ******************** -# VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 +VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 # VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/app-api -VITE_APP_DEV_SERVICE = http://192.168.101.64:9999 # 邓-本地 +# VITE_APP_DEV_SERVICE = http://192.168.101.64:9999 # 邓-本地 # VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api/ # 线上 # VITE_APP_DEV_SERVICE = http://220.191.229.171:8090/api # 线上 diff --git a/src/pages.json b/src/pages.json index dca0775..65e83f7 100644 --- a/src/pages.json +++ b/src/pages.json @@ -331,4 +331,4 @@ } ] } -} +} \ No newline at end of file From 30fe98dcee2e3ed5394bd80262e506de95e93e97 Mon Sep 17 00:00:00 2001 From: weiwei Date: Tue, 25 Mar 2025 21:19:14 +0800 Subject: [PATCH 04/10] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 38 ++++++++++++++-------------- src/pages/tabbar/individualOrder.vue | 6 ++--- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/pages.json b/src/pages.json index fafaefb..55cd939 100644 --- a/src/pages.json +++ b/src/pages.json @@ -57,25 +57,25 @@ "root": "pages/order", "pages": [] }, - { - "root": "pages/shop", - "pages": [ - { - "path": "detail", - "style": { - "navigationBarTitleText": "", - "disableScroll": true - } - }, - { - "path": "product-detail", - "style": { - "navigationBarTitleText": "", - "disableScroll": true - } - } - ] - }, + // { + // "root": "pages/shop", + // "pages": [ + // { + // "path": "detail", + // "style": { + // "navigationBarTitleText": "", + // "disableScroll": true + // } + // }, + // { + // "path": "product-detail", + // "style": { + // "navigationBarTitleText": "", + // "disableScroll": true + // } + // } + // ] + // }, { "root": "pages/apply", "pages": [ diff --git a/src/pages/tabbar/individualOrder.vue b/src/pages/tabbar/individualOrder.vue index 92d8ed6..d67e428 100644 --- a/src/pages/tabbar/individualOrder.vue +++ b/src/pages/tabbar/individualOrder.vue @@ -128,9 +128,9 @@ {{ hooks.useEnum("hardwareRefundStatusEnum", state.curOrder.refundStatus) }} - 共 {{ state.curOrder.carList.length }} 件 + + 共 {{ state.curOrder.carList.length }} 件 + ¥ {{ hooks.useMoney(state.curOrder.totalPrice) }} From a41dad0a99ea255e10723728db01890e83543e2f Mon Sep 17 00:00:00 2001 From: weiwei Date: Tue, 25 Mar 2025 21:54:20 +0800 Subject: [PATCH 05/10] 1 --- src/pages.json | 40 ++-- src/pages/tabbar/canteen.vue | 1 + src/pages/tabbar/shop.vue | 3 +- .../plugs/use-router/vite-router-plug.ts | 172 +++++++++--------- 4 files changed, 105 insertions(+), 111 deletions(-) diff --git a/src/pages.json b/src/pages.json index 3f1a16e..fafaefb 100644 --- a/src/pages.json +++ b/src/pages.json @@ -57,25 +57,25 @@ "root": "pages/order", "pages": [] }, - // { - // "root": "pages/shop", - // "pages": [ - // { - // "path": "detail", - // "style": { - // "navigationBarTitleText": "", - // "disableScroll": true - // } - // }, - // { - // "path": "product-detail", - // "style": { - // "navigationBarTitleText": "", - // "disableScroll": true - // } - // } - // ] - // }, + { + "root": "pages/shop", + "pages": [ + { + "path": "detail", + "style": { + "navigationBarTitleText": "", + "disableScroll": true + } + }, + { + "path": "product-detail", + "style": { + "navigationBarTitleText": "", + "disableScroll": true + } + } + ] + }, { "root": "pages/apply", "pages": [ @@ -371,4 +371,4 @@ // }, ] } -} \ No newline at end of file +} diff --git a/src/pages/tabbar/canteen.vue b/src/pages/tabbar/canteen.vue index c7a31f4..26c4cb7 100644 --- a/src/pages/tabbar/canteen.vue +++ b/src/pages/tabbar/canteen.vue @@ -37,6 +37,7 @@ const toDetail = async (v: any) => {