人气切换埋点,review by Redding
Showing
3 changed files
with
14 additions
and
2 deletions
@@ -393,6 +393,13 @@ class BrandStoreContainer extends Component { | @@ -393,6 +393,13 @@ class BrandStoreContainer extends Component { | ||
393 | this.props.actions.getProductList(true); | 393 | this.props.actions.getProductList(true); |
394 | } | 394 | } |
395 | _onPressMoreFilter(value){ | 395 | _onPressMoreFilter(value){ |
396 | + let {productList} = this.props.brandStore; | ||
397 | + if (value == productList.get('order')) { | ||
398 | + this.props.actions.setFilterMoreView(false); | ||
399 | + return; | ||
400 | + } | ||
401 | + ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_GOODS_LIST_HOT_TAB_C', {TYPE_ID:4}); | ||
402 | + | ||
396 | let lastSelectedPopular = false; | 403 | let lastSelectedPopular = false; |
397 | if (value != '') { | 404 | if (value != '') { |
398 | lastSelectedPopular = true; | 405 | lastSelectedPopular = true; |
@@ -155,8 +155,7 @@ export default class BrandProductFilter extends React.Component { | @@ -155,8 +155,7 @@ export default class BrandProductFilter extends React.Component { | ||
155 | img = this.images.asc; | 155 | img = this.images.asc; |
156 | }else if (rowData.value.desc == this.props.selectOrder) { | 156 | }else if (rowData.value.desc == this.props.selectOrder) { |
157 | img = this.images.desc; | 157 | img = this.images.desc; |
158 | - } | ||
159 | - else { | 158 | + }else { |
160 | img = this.images.normal; | 159 | img = this.images.normal; |
161 | } | 160 | } |
162 | }else{ | 161 | }else{ |
@@ -129,6 +129,12 @@ class NewArrivalContainer extends Component { | @@ -129,6 +129,12 @@ class NewArrivalContainer extends Component { | ||
129 | this.props.actions.getProductList(true); | 129 | this.props.actions.getProductList(true); |
130 | } | 130 | } |
131 | _onPressMoreFilter(value, name){ | 131 | _onPressMoreFilter(value, name){ |
132 | + let {productList} = this.props.newArrival; | ||
133 | + if (value == productList.get('order')) { | ||
134 | + this.props.actions.setFilterMoreView(false); | ||
135 | + return; | ||
136 | + } | ||
137 | + ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_GOODS_LIST_HOT_TAB_C', {TYPE_ID:3}); | ||
132 | let lastSelectedPopular = false; | 138 | let lastSelectedPopular = false; |
133 | if (value != '') { | 139 | if (value != '') { |
134 | lastSelectedPopular = true; | 140 | lastSelectedPopular = true; |
-
Please register or login to post a comment