Authored by 孙凯

适配 iPhoneX review by hongmo

... ... @@ -158,20 +158,16 @@ let styles = StyleSheet.create({
flex: 1,
flexDirection: 'row',
width: width,
height: height - 156,
backgroundColor: 'white',
},
contentContainer: {
backgroundColor: 'white',
width: width,
height: height - 156,
},
subContentContainer: {
// position: 'absolute',
backgroundColor: '#f4f4f4',
width: width/2,
height: height - 156,
},
row: {
flexDirection: 'row',
... ...
... ... @@ -51,7 +51,7 @@ export default class CategoryB extends Component {
if (categoryError) {
return (
<View style={styles.container}>
<NoNetworkTip
<NoNetworkTip
onPressReload={this.props.onPressReload}
/>
</View>
... ... @@ -98,6 +98,5 @@ let styles = StyleSheet.create({
container: {
flex: 1,
width,
height: height - 64 - 49,
},
});
... ...
... ... @@ -348,17 +348,14 @@ let styles = StyleSheet.create({
flex: 1,
flexDirection: 'row',
width: width,
height: height - 156,
backgroundColor: 'white'
},
contentContainer: {
backgroundColor: '#f5f7f6',
width: 102.5 * DEVICE_WIDTH_RATIO,
height: height - 156
},
subContentContainer: {
width: width - 102.5 * DEVICE_WIDTH_RATIO,
height: height - 156
},
row: {
flexDirection: 'row',
... ...