Authored by 张丽霞

人气切换埋点,review by Redding

... ... @@ -393,6 +393,13 @@ class BrandStoreContainer extends Component {
this.props.actions.getProductList(true);
}
_onPressMoreFilter(value){
let {productList} = this.props.brandStore;
if (value == productList.get('order')) {
this.props.actions.setFilterMoreView(false);
return;
}
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_GOODS_LIST_HOT_TAB_C', {TYPE_ID:4});
let lastSelectedPopular = false;
if (value != '') {
lastSelectedPopular = true;
... ...
... ... @@ -155,8 +155,7 @@ export default class BrandProductFilter extends React.Component {
img = this.images.asc;
}else if (rowData.value.desc == this.props.selectOrder) {
img = this.images.desc;
}
else {
}else {
img = this.images.normal;
}
}else{
... ...
... ... @@ -129,6 +129,12 @@ class NewArrivalContainer extends Component {
this.props.actions.getProductList(true);
}
_onPressMoreFilter(value, name){
let {productList} = this.props.newArrival;
if (value == productList.get('order')) {
this.props.actions.setFilterMoreView(false);
return;
}
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_GOODS_LIST_HOT_TAB_C', {TYPE_ID:3});
let lastSelectedPopular = false;
if (value != '') {
lastSelectedPopular = true;
... ...