...
|
...
|
@@ -97,6 +97,7 @@ export default class Brand extends Component { |
|
|
reourceForKid={this.props.reourceForKid}
|
|
|
reourceForLifeStyle={this.props.reourceForLifeStyle}
|
|
|
onPressSlideItem= {this.props.onPressSlideItem}
|
|
|
onPressBrandItem={this.props.onPressBrandItem}
|
|
|
onPressFilter= {this.props.onPressFilter}
|
|
|
brandFliter={this.props.brandFliter}
|
|
|
/>
|
...
|
...
|
@@ -116,11 +117,11 @@ export default class Brand extends Component { |
|
|
renderRow(rowData, sectionID, rowID, highlightRow) {
|
|
|
if (this.props.brandFliter == 0) {
|
|
|
return (
|
|
|
<AllBrandListCell rowData={rowData} onPressSlideItem={this.props.onPressSlideItem}/>
|
|
|
<AllBrandListCell rowData={rowData} onPressBrandItem={this.props.onPressBrandItem}/>
|
|
|
);
|
|
|
} else {
|
|
|
return (
|
|
|
<NewHotBannerListCell rowData={rowData} onPressSlideItem={this.props.onPressSlideItem}/>
|
|
|
<NewHotBannerListCell rowData={rowData} onPressBrandItem={this.props.onPressBrandItem}/>
|
|
|
);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -189,7 +190,7 @@ export default class Brand extends Component { |
|
|
if (!list) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
|
|
|
return (
|
|
|
<View style={styles.container}>
|
|
|
<ChannelSelector selectedChannelId={selectedChannelId} onSelectChannel={this.props.onSelectChannel}/>
|
...
|
...
|
|