From aaecf303715344e98549dac763e2fbd802a90a57 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Mon, 29 Sep 2025 20:14:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor(tabbar):=20=E7=A7=BB=E9=99=A4=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E6=8E=89=E7=9A=84=E5=85=B3=E4=BA=8E=E9=A1=B5=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9=E5=B9=B6=E6=9B=B4=E6=96=B0=E6=88=91=E7=9A=84?= =?UTF-8?q?=E9=A1=B5=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tabbar/config.ts | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/tabbar/config.ts b/src/tabbar/config.ts index 739c3a9..2656ea4 100644 --- a/src/tabbar/config.ts +++ b/src/tabbar/config.ts @@ -32,12 +32,6 @@ export const nativeTabbarList: NativeTabBarItem[] = [ pagePath: 'pages/index/index', text: '首页', }, - // { - // iconPath: 'static/tabbar/example.png', - // selectedIconPath: 'static/tabbar/exampleHL.png', - // pagePath: 'pages/about/about', - // text: '关于', - // }, { iconPath: 'static/tabbar/personal.png', selectedIconPath: 'static/tabbar/personalHL.png', @@ -71,22 +65,14 @@ export const customTabbarList: CustomTabBarItem[] = [ icon: 'i-carbon-home', // badge: 'dot', }, - // { - // text: '关于', - // pagePath: 'pages/about/about', - // // 注意 unocss 图标需要如下处理:(二选一) - // // 1)在fg-tabbar.vue页面上引入一下并注释掉(见tabbar/index.vue代码第2行) - // // 2)配置到 unocss.config.ts 的 safelist 中 - // iconType: 'unocss', - // icon: 'i-carbon-code', - // // badge: 10, - // }, { pagePath: 'pages/me/me', text: '我的', + // 1)在fg-tabbar.vue页面上引入一下并注释掉(见tabbar/index.vue代码第2行) + // 2)配置到 unocss.config.ts 的 safelist 中 iconType: 'unocss', icon: 'i-carbon-user', - // badge: 100, + // badge: 10, }, // 其他类型演示 // 1、uiLib