react native怎么做底部導(dǎo)航
1 回答

撒科打諢
TA貢獻(xiàn)1934條經(jīng)驗(yàn) 獲得超2個贊
1.使用NavigatorIOS控件設(shè)置導(dǎo)航條顏色
2.增加一個屬性即可解決
<NavigatorIOS
style = {BmacStyles.container}
initialRoute={{
component: MainPage,
title: '',
leftButtonTitle:'左邊按鈕',
tintColor:'#ffffff',//白色 導(dǎo)航欄上按鈕的顏色。
barTintColor:'rgb(30, 129, 210)',//導(dǎo)航欄,藍(lán)色
translucent: false,
}}
>
</NavigatorIOS>
- 1 回答
- 0 關(guān)注
- 658 瀏覽
添加回答
舉報
0/150
提交
取消