From 0cf2e6754b1c3a06e09f29a36cbbe125939c4b83 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sun, 31 Aug 2025 19:12:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(tabBar):=20=E6=B7=BB=E5=8A=A0=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E5=AF=BC=E8=88=AA=E6=A0=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加底部导航栏的完整配置,包括颜色、高度、字体大小等样式设置,以及首页、关于和我的三个导航项 --- src/pages.json | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/src/pages.json b/src/pages.json index 94eb3a8..e80d2f9 100644 --- a/src/pages.json +++ b/src/pages.json @@ -14,7 +14,31 @@ "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue" } }, - "tabBar": {}, + "tabBar": { + "custom": true, + "color": "#999999", + "selectedColor": "#018d71", + "backgroundColor": "#F8F8F8", + "borderStyle": "black", + "height": "50px", + "fontSize": "10px", + "iconWidth": "24px", + "spacing": "3px", + "list": [ + { + "text": "首页", + "pagePath": "pages/index/index" + }, + { + "text": "关于", + "pagePath": "pages/about/about" + }, + { + "text": "我的", + "pagePath": "pages/me/me" + } + ] + }, "pages": [ { "path": "pages/index/index",