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