Authored by 孙凯

整理代码 review by 红魔

... ... @@ -85,12 +85,16 @@ export default class BrandStore extends Component {
switch (rowID) {
case '0':
{
return null;
return (
<CouponCell />
);
}
break;
case '1':
{
return null;
return (
<BrandListCell />
);
}
break;
case '2':
... ...
... ... @@ -80,6 +80,7 @@ export default class Recommend extends React.Component {
renderRow={this.renderRow.bind(this)}
renderHeader = {this.renderHeader.bind(this)}
pageSize={Math.ceil(data.length/4)}
enableEmptySections = {true}
/>
</View>
);
... ...