refactor(tabbar): 移除注释掉的关于页配置项并更新我的页注释

This commit is contained in:
feige996
2025-09-29 20:14:30 +08:00
parent 37b5da53cc
commit aaecf30371

View File

@@ -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