|
@@ -32,12 +32,12 @@ export const nativeTabbarList: NativeTabBarItem[] = [
|
|
|
pagePath: 'pages/index/index',
|
|
pagePath: 'pages/index/index',
|
|
|
text: '首页',
|
|
text: '首页',
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- iconPath: 'static/tabbar/example.png',
|
|
|
|
|
- selectedIconPath: 'static/tabbar/exampleHL.png',
|
|
|
|
|
- pagePath: 'pages/about/about',
|
|
|
|
|
- text: '关于',
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // iconPath: 'static/tabbar/example.png',
|
|
|
|
|
+ // selectedIconPath: 'static/tabbar/exampleHL.png',
|
|
|
|
|
+ // pagePath: 'pages/about/about',
|
|
|
|
|
+ // text: '关于',
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
iconPath: 'static/tabbar/personal.png',
|
|
iconPath: 'static/tabbar/personal.png',
|
|
|
selectedIconPath: 'static/tabbar/personalHL.png',
|
|
selectedIconPath: 'static/tabbar/personalHL.png',
|
|
@@ -71,16 +71,16 @@ export const customTabbarList: CustomTabBarItem[] = [
|
|
|
icon: 'i-carbon-home',
|
|
icon: 'i-carbon-home',
|
|
|
// badge: 'dot',
|
|
// 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,
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // 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',
|
|
pagePath: 'pages/me/me',
|
|
|
text: '我的',
|
|
text: '我的',
|