|
@@ -63,12 +63,12 @@ export default class GoodsGroupList extends React.Component { |
|
@@ -63,12 +63,12 @@ export default class GoodsGroupList extends React.Component { |
63
|
if (!list || list.size == 0) {
|
63
|
if (!list || list.size == 0) {
|
64
|
return null;
|
64
|
return null;
|
65
|
}
|
65
|
}
|
66
|
-
|
|
|
67
|
let backgroundWidth = width;
|
66
|
let backgroundWidth = width;
|
68
|
let backgroundHeight = 40 + Math.ceil(list.size / 2) * (rowHeight+rowMarginHorizontal) + 20;
|
67
|
let backgroundHeight = 40 + Math.ceil(list.size / 2) * (rowHeight+rowMarginHorizontal) + 20;
|
69
|
return(
|
68
|
return(
|
70
|
<View style={{width: backgroundWidth, height:backgroundHeight, backgroundColor:'white'}}>
|
69
|
<View style={{width: backgroundWidth, height:backgroundHeight, backgroundColor:'white'}}>
|
71
|
<ListView
|
70
|
<ListView
|
|
|
71
|
+ yh_viewVisible = {true}//自动曝光开关
|
72
|
contentContainerStyle={styles.contentContainer}
|
72
|
contentContainerStyle={styles.contentContainer}
|
73
|
initialListSize={Math.ceil(list.size)}
|
73
|
initialListSize={Math.ceil(list.size)}
|
74
|
dataSource={this.dataSource.cloneWithRows(list.toArray())}
|
74
|
dataSource={this.dataSource.cloneWithRows(list.toArray())}
|