Authored by 张丽霞

红人店铺模版区分,review by Redding

... ... @@ -65,11 +65,15 @@ export default class RedBrand extends Component {
renderSectionHeader(sectionData, sectionID) {
let {fliter} = this.props;
let {fliter,shopsdecorator} = this.props;
switch(sectionID) {
case 'brandReource': {
return(<RedBrandStoreFilter key={'sec' + sectionID} resource={fliter} onPressStoreFilter={this._onPressFilter}/>);
if (shopsdecorator && shopsdecorator.template_type == '1') {
return <View style={{height:0}}></View>;
} else {
return (<RedBrandStoreFilter key={'sec' + sectionID} resource={fliter} onPressStoreFilter={this._onPressFilter}/>);
}
}
case 'productList': {
let noFilterValue = true;
... ...