2017-09-26 55 views

回答

1

事情是这样的:

<View style={{ flex: 1, flexDirection: 'column'}}> 
    <View style={{ height: 70, backgroundColor: 'blue' }}> 
    </View> 
    <View style={{ height: 70, backgroundColor: 'green' }}> 
    </View> 
    <View style={{ flex: 1, backgroundColor: 'yellow' }}> 
    </View> 
</View> 

不知道是否蓝色线是线/填充/等,但你应该能够添加那些到这个壳。