react | 您所在的位置:网站首页 › react-native-scrollable-tab-view › react |
最近新建的项目,使用react-native-scrollable-tab-view子界面不显示,查了一下原因是由于react-native-scrollable-tab-view必须在弹性容器里面才会展开,否则就会不显示子界面 {width:SCREEN_W,height:IS_X?88:64,backgroundColor:'rgba(255,255,255,1)',flexDirection:'row'}}> { width:SCREEN_W-80, height:30, marginTop:IS_X?48:4, borderRadius:5, backgroundColor:'rgba(247,247,247,1)', flexDirection:'row', alignItems:'center', justifyContent:'center'}}> {marginTop:49,width:40,height:40,justifyContent:'center',alignItems:'center'}} onPress={()=>{ }}> 提问 {width:SCREEN_W,height:SCREEN_H,backgroundColor:'#fff'}}>看第一句代码注释,就是这些了 |
CopyRight 2018-2019 实验室设备网 版权所有 |