feat: uiLib 匹配

This commit is contained in:
feige996 2025-06-21 19:36:04 +08:00
parent cb033104ee
commit e67da2203c
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ onLoad(() => {
@change="selectTabBar"
>
<block v-for="(item, idx) in tabbarList" :key="item.path">
<wd-tabbar-item v-if="item.iconType === 'wot'" :title="item.text" :icon="item.icon" />
<wd-tabbar-item v-if="item.iconType === 'uiLib'" :title="item.text" :icon="item.icon" />
<wd-tabbar-item
v-else-if="item.iconType === 'unocss' || item.iconType === 'iconfont'"
:title="item.text"

View File

@ -24,7 +24,7 @@ export const tabbarList = [
pagePath: 'pages/index/index',
text: '首页',
icon: 'home',
iconType: 'wot',
iconType: 'uiLib',
},
{
iconPath: 'static/tabbar/example.png',