android 隐藏 tabbar 文字

This commit is contained in:
mx1700 2019-07-15 23:10:13 +08:00
parent 23bdaeecdf
commit f9bd2ec8c1

View file

@ -9,7 +9,7 @@ function config(splash) {
options: { options: {
bottomTabs: { bottomTabs: {
currentTabIndex: 0, currentTabIndex: 0,
titleDisplayMode: 'alwaysShow' // android titleDisplayMode: 'alwaysHide' // android
} }
}, },
children: [{ children: [{
@ -48,8 +48,8 @@ function config(splash) {
selectedIcon: Icon.homeSelectedIcon, selectedIcon: Icon.homeSelectedIcon,
// android // android
iconColor: '#ccc', iconColor: '#aaa',
selectedIconColor: Color.primary selectedIconColor: Color.primary,
} }
} }
} }
@ -69,7 +69,7 @@ function config(splash) {
selectedIcon: Icon.followSelectedIcon, selectedIcon: Icon.followSelectedIcon,
// android // android
iconColor: '#ccc', iconColor: '#aaa',
selectedIconColor: Color.primary selectedIconColor: Color.primary
} }
} }
@ -96,7 +96,7 @@ function config(splash) {
selectedIcon: Icon.writeSelectedIcon, selectedIcon: Icon.writeSelectedIcon,
// android // android
iconColor: '#ccc', iconColor: '#aaa',
selectedIconColor: Color.primary selectedIconColor: Color.primary
} }
} }
@ -124,7 +124,7 @@ function config(splash) {
selectedIcon: Icon.tipSelectedIcon, selectedIcon: Icon.tipSelectedIcon,
// android // android
iconColor: '#ccc', iconColor: '#aaa',
selectedIconColor: Color.primary selectedIconColor: Color.primary
} }
} }
@ -152,7 +152,7 @@ function config(splash) {
selectedIcon: Icon.mySelectIcon, selectedIcon: Icon.mySelectIcon,
// android // android
iconColor: '#ccc', iconColor: '#aaa',
selectedIconColor: Color.primary selectedIconColor: Color.primary
} }
} }