...
|
...
|
@@ -73,7 +73,6 @@ class NewArrivalContainer extends Component { |
|
|
}
|
|
|
|
|
|
_onEndReached() {
|
|
|
console.log('bbbbbbbb');
|
|
|
this.props.actions.getProductList();
|
|
|
}
|
|
|
_onPressProductFilter(value) {
|
...
|
...
|
@@ -136,11 +135,24 @@ class NewArrivalContainer extends Component { |
|
|
let categoryId = data.get('categoryId');
|
|
|
let categoryName = data.get('categoryName');
|
|
|
let parentId = data.get('parentId');
|
|
|
if (!categoryId||!parentId) {
|
|
|
return;
|
|
|
|
|
|
let parent_id = parentId.toString();
|
|
|
let category_id = categoryId.toString();
|
|
|
let category_name = categoryName;
|
|
|
let relation_parameter = {sort: data.get('relationParameter')};
|
|
|
let node_count = 0;
|
|
|
let sort_ico = '';
|
|
|
|
|
|
let value = {
|
|
|
parent_id,
|
|
|
category_name,
|
|
|
category_id,
|
|
|
relation_parameter,
|
|
|
node_count,
|
|
|
sort_ico,
|
|
|
}
|
|
|
let url = `http://m.yohobuy.com?openby:openby:yohobuy={"action":"go.list","params":{"msort":"${parentId}","misort":"${categoryId}","title":"${categoryName}","actiontype":"1","app_type":"0"}}`;
|
|
|
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
|
|
|
|
|
|
ReactNative.NativeModules.YH_CommonHelper.jumpToCategory(value, 0, this.props.app.channel);
|
|
|
}
|
|
|
|
|
|
_onPressHotSearch(data) {
|
...
|
...
|
|