Authored by 孙凯

适配 iPhoneX review by hongmo

@@ -158,20 +158,16 @@ let styles = StyleSheet.create({ @@ -158,20 +158,16 @@ let styles = StyleSheet.create({
158 flex: 1, 158 flex: 1,
159 flexDirection: 'row', 159 flexDirection: 'row',
160 width: width, 160 width: width,
161 - height: height - 156,  
162 backgroundColor: 'white', 161 backgroundColor: 'white',
163 }, 162 },
164 contentContainer: { 163 contentContainer: {
165 backgroundColor: 'white', 164 backgroundColor: 'white',
166 width: width, 165 width: width,
167 - height: height - 156,  
168 }, 166 },
169 subContentContainer: { 167 subContentContainer: {
170 // position: 'absolute', 168 // position: 'absolute',
171 backgroundColor: '#f4f4f4', 169 backgroundColor: '#f4f4f4',
172 width: width/2, 170 width: width/2,
173 - height: height - 156,  
174 -  
175 }, 171 },
176 row: { 172 row: {
177 flexDirection: 'row', 173 flexDirection: 'row',
@@ -98,6 +98,5 @@ let styles = StyleSheet.create({ @@ -98,6 +98,5 @@ let styles = StyleSheet.create({
98 container: { 98 container: {
99 flex: 1, 99 flex: 1,
100 width, 100 width,
101 - height: height - 64 - 49,  
102 }, 101 },
103 }); 102 });
@@ -348,17 +348,14 @@ let styles = StyleSheet.create({ @@ -348,17 +348,14 @@ let styles = StyleSheet.create({
348 flex: 1, 348 flex: 1,
349 flexDirection: 'row', 349 flexDirection: 'row',
350 width: width, 350 width: width,
351 - height: height - 156,  
352 backgroundColor: 'white' 351 backgroundColor: 'white'
353 }, 352 },
354 contentContainer: { 353 contentContainer: {
355 backgroundColor: '#f5f7f6', 354 backgroundColor: '#f5f7f6',
356 width: 102.5 * DEVICE_WIDTH_RATIO, 355 width: 102.5 * DEVICE_WIDTH_RATIO,
357 - height: height - 156  
358 }, 356 },
359 subContentContainer: { 357 subContentContainer: {
360 width: width - 102.5 * DEVICE_WIDTH_RATIO, 358 width: width - 102.5 * DEVICE_WIDTH_RATIO,
361 - height: height - 156  
362 }, 359 },
363 row: { 360 row: {
364 flexDirection: 'row', 361 flexDirection: 'row',