...
|
...
|
@@ -52,13 +52,8 @@ export default class RedBrand extends Component { |
|
|
|
|
|
_onPressProductFilter(value){
|
|
|
|
|
|
if(value === 'filter'){
|
|
|
this.refs.redBrandList && this.refs.redBrandList.scrollTo({x: 0, y: yPosition, animated: false});
|
|
|
}
|
|
|
if(value==='default'){
|
|
|
this.refs.redBrandList && this.refs.redBrandList.scrollTo({x: 0, y: yPosition, animated: false});
|
|
|
this.refs.redBrandList && this.refs.redBrandList.scrollTo({x: 0, y: yPosition, animated: false});
|
|
|
|
|
|
}
|
|
|
this.props.onPressProductFilter && this.props.onPressProductFilter(value);
|
|
|
|
|
|
}
|
...
|
...
|
|