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) => { -