diff --git a/ak/config.uts b/ak/config.uts index b788f2e4..ba966dc8 100644 --- a/ak/config.uts +++ b/ak/config.uts @@ -29,8 +29,8 @@ export const WS_URL: string = 'ws://119.146.131.237:9126/realtime/v1/websocket' // export const WS_URL: string = 'ws://192.168.1.64:3000/realtime/v1' // 路由配置 -export const HOME_REDIRECT: string = '/pages/mall/consumer/index' -export const TABORPAGE: string = '/pages/mall/consumer/index' +export const HOME_REDIRECT: string = '/pages/main/index' +export const TABORPAGE: string = '/pages/main/index' // 测试模式:放开任意跳转(禁用启动页/登录/401 的强制重定向) export const IS_TEST_MODE: boolean = true \ No newline at end of file diff --git a/pages.json b/pages.json index 49e5bf31..750bb491 100644 --- a/pages.json +++ b/pages.json @@ -69,7 +69,7 @@ } }, { - "path": "pages/mall/consumer/index", + "path": "pages/main/index", "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom", @@ -77,14 +77,14 @@ } }, { - "path": "pages/mall/consumer/category", + "path": "pages/main/category", "style": { "navigationBarTitleText": "分类", "navigationStyle": "custom" } }, { - "path": "pages/mall/consumer/messages", + "path": "pages/main/messages", "style": { "navigationBarTitleText": "消息", "navigationStyle": "custom", @@ -92,14 +92,14 @@ } }, { - "path": "pages/mall/consumer/cart", + "path": "pages/main/cart", "style": { "navigationBarTitleText": "购物车", "navigationStyle": "custom" } }, { - "path": "pages/mall/consumer/profile", + "path": "pages/main/profile", "style": { "navigationBarTitleText": "我的", "navigationStyle": "custom" @@ -912,31 +912,31 @@ "borderStyle": "black", "list": [ { - "pagePath": "pages/mall/consumer/index", + "pagePath": "pages/main/index", "text": "首页", "iconPath": "static/tabbar/home.png", "selectedIconPath": "static/tabbar/home.png" }, { - "pagePath": "pages/mall/consumer/category", + "pagePath": "pages/main/category", "text": "分类", "iconPath": "static/tabbar/category.png", "selectedIconPath": "static/tabbar/category.png" }, { - "pagePath": "pages/mall/consumer/messages", + "pagePath": "pages/main/messages", "text": "消息", "iconPath": "static/tabbar/message.png", "selectedIconPath": "static/tabbar/message.png" }, { - "pagePath": "pages/mall/consumer/cart", + "pagePath": "pages/main/cart", "text": "购物车", "iconPath": "static/tabbar/cart.png", "selectedIconPath": "static/tabbar/cart.png" }, { - "pagePath": "pages/mall/consumer/profile", + "pagePath": "pages/main/profile", "text": "我的", "iconPath": "static/tabbar/user.png", "selectedIconPath": "static/tabbar/user.png" diff --git a/pages/mall/consumer/cart.uvue b/pages/main/cart.uvue similarity index 88% rename from pages/mall/consumer/cart.uvue rename to pages/main/cart.uvue index da10d798..f1ba1c97 100644 --- a/pages/mall/consumer/cart.uvue +++ b/pages/main/cart.uvue @@ -1,4 +1,4 @@ - +