Authored by 李犇

Merge remote-tracking branch 'origin/5.4.1' into 5.4.1

@@ -43,14 +43,7 @@ export default class ShopRecommend extends Component{ @@ -43,14 +43,7 @@ export default class ShopRecommend extends Component{
43 let shopId = event.nativeEvent.shopId; 43 let shopId = event.nativeEvent.shopId;
44 this.props.onPressShopFavorite && this.props.onPressShopFavorite(shopId, index); 44 this.props.onPressShopFavorite && this.props.onPressShopFavorite(shopId, index);
45 } else { 45 } else {
46 - let url;  
47 - if (type == 'top') {  
48 - url = this.props.data.get('list').get(index).get('url');  
49 - } else if (type == 'left') {  
50 - url = this.props.data.get('list').get(index).get('goods0').get('url');  
51 - } else {  
52 - url = this.props.data.get('list').get(index).get('goods1').get('url');  
53 - } 46 + let url = event.nativeEvent.url;;
54 this.props.onPressShopRecommendItem && this.props.onPressShopRecommendItem(url, index); 47 this.props.onPressShopRecommendItem && this.props.onPressShopRecommendItem(url, index);
55 } 48 }
56 } 49 }