Authored by 张丽霞

红人店铺的首页下面添加商品,review by 孙凯

... ... @@ -90,7 +90,9 @@ export default class RedBrand extends Component {
}
return (
<View style={styles.brandFilterContainer} onLayout={(evt) => {yPosition = evt.nativeEvent.layout.y;}}>
{this.props.fliter == '1'?
<RedBrandStoreFilter resource={fliter} onPressStoreFilter={this._onPressFilter}/>
:null}
<BrandProductFilter
onPressFilter={this._onPressProductFilter}
lastSelected={this.props.productList.isFilter}
... ... @@ -209,6 +211,7 @@ export default class RedBrand extends Component {
dataSource = {
ShopBanner: [shopIntro],
brandReource: resList,
productList: productList.list.toArray(),
};
} else if (fliter == 1) {
dataSource = {
... ...