Authored by 孙凯

修改 UI review by daiqiang

... ... @@ -79,7 +79,7 @@ export default class GroupPurchaseDetail extends Component {
renderRow={this._renderRow}
renderHeader={this._renderHeader}
onEndReached={() => {
if (productList.list.size !== 0) {
if (productList && productList.list && productList.list.size !== 0) {
this.props.onEndReached && this.props.onEndReached();
}
}}
... ...
... ... @@ -37,7 +37,7 @@ export default class HeaderList extends React.Component {
if (i == 0) {
return (
<View key={i} style={styles.icon1}>
<YH_Image style={{width: 40*DEVICE_WIDTH_RATIO,height: 40*DEVICE_WIDTH_RATIO}} url={item.headUrl}></YH_Image>
<YH_Image style={{width: 40*DEVICE_WIDTH_RATIO,height: 40*DEVICE_WIDTH_RATIO}} url={item.headUrl} circle={true}></YH_Image>
<Image source={require('../images/PT_tx_tz.png')} style={styles.ovewicon} />
</View>
);
... ... @@ -48,7 +48,7 @@ export default class HeaderList extends React.Component {
);
}else {
return (
<YH_Image key={i} style={styles.icon} url={item.headUrl}></YH_Image>
<YH_Image key={i} style={styles.icon} url={item.headUrl} circle={true}></YH_Image>
);
}
}
... ...