File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const TabIcon = (props) => {
1515 < View >
1616 < Image
1717 source = { ! props . focused ? props . image : props . selectedImage }
18- style = { [ { height :25 , width :25 } ] }
18+ style = { [ { height :27 , width :27 , marginTop : 5 } ] }
1919 />
2020 < Text
2121 style = { { color : '#fff' , marginTop :px2dp ( 6 ) , fontSize :FONT_SIZE ( 10 ) } }
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const router = (...props) => (
6060 < Tabs
6161 key = "tabbar" // 唯一标识
6262 wrap = { true } // 自动使用自己的导航栏包装每个场景
63- showLabel = { true } // 显示文字
63+ showLabel = { false } // 显示文字
6464 tabBarStyle = { styles . tabBarStyle } // tabBar的样式
6565 swipeEnabled = { false } // 是否可以滑动
6666 headerMode = 'screen' // 页面切换方式
@@ -72,18 +72,22 @@ const router = (...props) => (
7272 >
7373 < Stack key = "Test1"
7474 title = { '识兔' }
75- // image={Images.xxx }
76- // selectedImage={Images.xxx }
75+ image = { Images . ShiTu }
76+ selectedImage = { Images . ShiTu }
7777 >
7878 < Scene component = { Test1 } key = "Test1_key" />
7979 </ Stack >
8080 < Stack key = 'Test2'
8181 title = '百思'
82+ image = { Images . Gank }
83+ selectedImage = { Images . Gank }
8284 >
8385 < Scene component = { Test2 } key = "Test2_key" />
8486 </ Stack >
8587 < Stack key = "Test3"
8688 title = '我的'
89+ image = { Images . Main }
90+ selectedImage = { Images . Main }
8791 >
8892 < Scene component = { Test3 } key = "Test3_key" />
8993 </ Stack >
You can’t perform that action at this time.
0 commit comments