react 您所在的位置:网站首页 react-native-scrollable-tab-view react

react

#react| 来源: 网络整理| 查看: 265

最近新建的项目,使用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 实验室设备网 版权所有