tabBar相對而言用的還是比較多的,但是用起來并沒有難,在app.json中配置下tabBar即可,注意tabBar至少需要兩個最多五個Item選項
主要屬性:
對于tabBar整體屬性設置:
對于tabBar中每個Item屬性設置:
下面是官網一張圖對tabBar描述:
app.json的配置相對就簡單了:
相關文章:
hello WeApp icon組件
Window text組件 switch組件
tabBar底部導航 progress組件 action-sheet
應用生命周期 button組件 modal組件
頁面生命周期 checkbox組件 toast組件
模塊化詳 form組件詳 loading 組件
數據綁定 input 組件 navigator 組件
View組件 picker組件 audio 組件
scroll-view組件 radio組件 video組件
swiper組件 slider組件 Image組件
新聞熱點
疑難解答