feat: uiLib 匹配
This commit is contained in:
parent
cb033104ee
commit
e67da2203c
@ -44,7 +44,7 @@ onLoad(() => {
|
|||||||
@change="selectTabBar"
|
@change="selectTabBar"
|
||||||
>
|
>
|
||||||
<block v-for="(item, idx) in tabbarList" :key="item.path">
|
<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
|
<wd-tabbar-item
|
||||||
v-else-if="item.iconType === 'unocss' || item.iconType === 'iconfont'"
|
v-else-if="item.iconType === 'unocss' || item.iconType === 'iconfont'"
|
||||||
:title="item.text"
|
:title="item.text"
|
||||||
|
@ -24,7 +24,7 @@ export const tabbarList = [
|
|||||||
pagePath: 'pages/index/index',
|
pagePath: 'pages/index/index',
|
||||||
text: '首页',
|
text: '首页',
|
||||||
icon: 'home',
|
icon: 'home',
|
||||||
iconType: 'wot',
|
iconType: 'uiLib',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
iconPath: 'static/tabbar/example.png',
|
iconPath: 'static/tabbar/example.png',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user