From d06eb120e389055d2fa4c6314a104f83d9c87a87 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Wed, 16 Oct 2024 21:01:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 15 +++++++++++- src/pages/category/category.vue | 13 +++++++++++ src/pages/index/index.vue | 34 ++++++++++++++++++++++++++++ src/pages/my-info/my-info.vue | 4 ++-- src/static/icon/category-select.png | Bin 0 -> 483 bytes src/static/icon/category.png | Bin 0 -> 458 bytes 6 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 src/pages/category/category.vue create mode 100644 src/static/icon/category-select.png create mode 100644 src/static/icon/category.png diff --git a/src/pages.json b/src/pages.json index 910c3d3..2d2bb21 100644 --- a/src/pages.json +++ b/src/pages.json @@ -10,7 +10,8 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "首页" + "navigationBarTitleText": "首页", + "navigationStyle": "custom" } }, { @@ -19,6 +20,12 @@ "navigationBarTitleText": "我的" } }, + { + "path": "pages/category/category", + "style": { + "navigationBarTitleText": "分类" + } + }, { "path": "pages/test-page/test-page", "style": { @@ -41,6 +48,12 @@ "pagePath": "pages/index/index", "text": "首页" }, + { + "iconPath": "static/icon/category.png", + "selectedIconPath": "static/icon/category-select.png", + "pagePath": "pages/category/category", + "text": "分类" + }, { "iconPath": "static/icon/My.png", "selectedIconPath": "static/icon/My-select.png", diff --git a/src/pages/category/category.vue b/src/pages/category/category.vue new file mode 100644 index 0000000..9db4a06 --- /dev/null +++ b/src/pages/category/category.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 2d74c85..ad14e4c 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,4 +1,17 @@