From 4304089e6f58878750690798d7cdc43462fdfa8c Mon Sep 17 00:00:00 2001 From: "jqtmviyu@gmail.com" Date: Thu, 25 Feb 2021 18:17:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BC=96=E8=AF=91=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/src/pages.json b/src/pages.json index 1df116c..a6c0cbe 100644 --- a/src/pages.json +++ b/src/pages.json @@ -3,6 +3,12 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "首页" + } + }, { "path": "pages/category/category", "style": { @@ -15,13 +21,6 @@ "navigationBarTitleText": "商品列表" } }, - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "首页" - } - }, - { "path": "pages/cart/cart", "style": { @@ -70,5 +69,15 @@ "selectedIconPath": "static/icons/user-o.png", "text": "我的" }] - } + }, + "condition": { + "current": 0, + "list": [ + { + "name": "商品列表", + "path": "pages/goods_list/goods_list", + "query": "id=33" + } + ] + } }