From 67ec3d9c967b3d5dcdc3ce486675258d80771a6b Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Fri, 15 Nov 2024 22:14:43 +0800 Subject: [PATCH] 1111 --- .env | 4 +- src/pages.json | 26 + src/pages/apply/foreign-items.vue | 4 +- src/pages/boxes/apply.vue | 33 + src/pages/boxes/detail.vue | 84 + src/pages/boxes/list.vue | 105 ++ src/pages/merchant/detail.vue | 4 +- src/pages/merchant/food.vue | 2 +- src/sheep/api/boxes.ts | 49 + src/sheep/api/index.ts | 2 + .../custom-waterfalls-flow.vue | 10 +- src/sheep/components/other/z-tabs/z-tabs.vue | 1398 +++++++++-------- src/sheep/constant/service-enum.ts | 7 + 13 files changed, 1023 insertions(+), 705 deletions(-) create mode 100644 src/pages/boxes/apply.vue create mode 100644 src/pages/boxes/detail.vue create mode 100644 src/pages/boxes/list.vue create mode 100644 src/sheep/api/boxes.ts diff --git a/.env b/.env index e974190..490e653 100644 --- a/.env +++ b/.env @@ -1,7 +1,7 @@ # ******************** start 开发环境 start ******************** -# VITE_APP_DEV_SERVICE =http://localhost:48080/app-api -VITE_APP_DEV_SERVICE =http://123.156.228.134:48080/app-api +VITE_APP_DEV_SERVICE =http://localhost:48080/app-api +# VITE_APP_DEV_SERVICE =http://123.156.228.134:48080/app-api # ******************** end 开发环境 end ******************** diff --git a/src/pages.json b/src/pages.json index a350897..75b5cfc 100644 --- a/src/pages.json +++ b/src/pages.json @@ -87,6 +87,32 @@ } ] }, + { + "root": "pages/boxes", + "pages": [ + { + "path": "apply", + "style": { + "navigationBarTitleText": "", + "disableScroll": true + } + }, + { + "path": "detail", + "style": { + "navigationBarTitleText": "", + "disableScroll": true + } + }, + { + "path": "list", + "style": { + "navigationBarTitleText": "", + "disableScroll": true + } + } + ] + }, { "root": "pages/merchant", "pages": [ diff --git a/src/pages/apply/foreign-items.vue b/src/pages/apply/foreign-items.vue index e35d08a..17c6731 100644 --- a/src/pages/apply/foreign-items.vue +++ b/src/pages/apply/foreign-items.vue @@ -26,7 +26,9 @@ onLoad((options: any) => { } }); onShow(() => { - + if (pageRef.value) { + pageRef.value.reload(false) + } }) diff --git a/src/pages/boxes/apply.vue b/src/pages/boxes/apply.vue new file mode 100644 index 0000000..f80ddd7 --- /dev/null +++ b/src/pages/boxes/apply.vue @@ -0,0 +1,33 @@ + + + + + + \ No newline at end of file diff --git a/src/pages/boxes/detail.vue b/src/pages/boxes/detail.vue new file mode 100644 index 0000000..7d335a5 --- /dev/null +++ b/src/pages/boxes/detail.vue @@ -0,0 +1,84 @@ + + + + + + \ No newline at end of file diff --git a/src/pages/boxes/list.vue b/src/pages/boxes/list.vue new file mode 100644 index 0000000..bb94ddd --- /dev/null +++ b/src/pages/boxes/list.vue @@ -0,0 +1,105 @@ + + + + + + \ No newline at end of file diff --git a/src/pages/merchant/detail.vue b/src/pages/merchant/detail.vue index 7a0bac0..d5bbf3d 100644 --- a/src/pages/merchant/detail.vue +++ b/src/pages/merchant/detail.vue @@ -50,7 +50,6 @@ const getDetail = async () => { const getShopCar = async () => { const _pa = { merchantId: state.detailId } const { data } = await foodApi.getShopCar(_pa) - console.log(data, "data"); state.carList = data ?? [] state.totPrice = state.carList @@ -239,7 +238,8 @@ const doFood = () => { 联系食堂 - + diff --git a/src/pages/merchant/food.vue b/src/pages/merchant/food.vue index 1508353..611f7a1 100644 --- a/src/pages/merchant/food.vue +++ b/src/pages/merchant/food.vue @@ -107,7 +107,7 @@ const doProduct = (v: any) => { -