Authored by 于良

好点推荐 review by 草莓

... ... @@ -43,14 +43,7 @@ export default class ShopRecommend extends Component{
let shopId = event.nativeEvent.shopId;
this.props.onPressShopFavorite && this.props.onPressShopFavorite(shopId, index);
} else {
let url;
if (type == 'top') {
url = this.props.data.get('list').get(index).get('url');
} else if (type == 'left') {
url = this.props.data.get('list').get(index).get('goods0').get('url');
} else {
url = this.props.data.get('list').get(index).get('goods1').get('url');
}
let url = event.nativeEvent.url;;
this.props.onPressShopRecommendItem && this.props.onPressShopRecommendItem(url, index);
}
}
... ...