From a41dad0a99ea255e10723728db01890e83543e2f Mon Sep 17 00:00:00 2001 From: weiwei Date: Tue, 25 Mar 2025 21:54:20 +0800 Subject: [PATCH] 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) => {