這篇文章主要介紹了微信小程序 (三)tabbar底部導(dǎo)航詳細(xì)介紹的相關(guān)資料,需要的朋友可以參考下
tabBar相對(duì)而言用的還是比較多的,但是用起來并沒有難,在app.json中配置下tabBar即可,注意tabBar至少需要兩個(gè)最多五個(gè)Item選項(xiàng)
主要屬性:
對(duì)于tabBar整體屬性設(shè)置:
對(duì)于tabBar中每個(gè)Item屬性設(shè)置:
下面是官網(wǎng)一張圖對(duì)tabBar描述:
app.json的配置相對(duì)就簡(jiǎn)單了:
相關(guān)文章:
hello WeApp icon組件
Window text組件 switch組件
tabBar底部導(dǎo)航 progress組件 action-sheet
應(yīng)用生命周期 button組件 modal組件
頁面生命周期 checkbox組件 toast組件
模塊化詳 form組件詳 loading 組件
數(shù)據(jù)綁定 input 組件 navigator 組件
View組件 picker組件 audio 組件
scroll-view組件 radio組件 video組件
swiper組件 slider組件 Image組件
以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,更多相關(guān)內(nèi)容請(qǐng)關(guān)注PHP中文網(wǎng)!
相關(guān)推薦:
以上就是微信小程序中tabBar底部導(dǎo)航的介紹的詳細(xì)內(nèi)容,更多請(qǐng)關(guān)注有卡有網(wǎng)。