From 3b59500d23de33f6fd77c76112ff448bf4cfbbc7 Mon Sep 17 00:00:00 2001 From: "jqtmviyu@gmail.com" Date: Mon, 22 Feb 2021 21:53:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E9=A1=B5=E5=B7=A6=E5=8F=B3?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 15 ++-- src/pages/category/category.vue | 147 +++++++++++++++++++++++++++++++- 2 files changed, 152 insertions(+), 10 deletions(-) diff --git a/src/pages.json b/src/pages.json index e9795e5..d575016 100644 --- a/src/pages.json +++ b/src/pages.json @@ -2,19 +2,20 @@ "easycom": { "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, - "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "首页" - } - }, + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/category/category", "style": { "navigationBarTitleText": "分类" } }, + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "首页" + } + }, + { "path": "pages/cart/cart", "style": { diff --git a/src/pages/category/category.vue b/src/pages/category/category.vue index f9a2f19..4a6ce17 100644 --- a/src/pages/category/category.vue +++ b/src/pages/category/category.vue @@ -1,15 +1,156 @@ - \ No newline at end of file