Authored by 郝肖肖

优惠券,搜索页无店铺和品牌不显示

... ... @@ -88,8 +88,10 @@
{{/ baseShopHome}}
<!-- /基础店铺页面 -->
<!-- 优惠卷 -->
<div class="coupon-group"></div>
{{#ifor brandHome baseShopHome}}
<!-- 优惠卷 -->
<div class="coupon-group"></div>
{{/ifor}}
<div>
<ul id="list-nav" class="list-nav clearfix">
... ...
... ... @@ -29,6 +29,10 @@ shopCoupon = {
var that = this,
_url = location.protocol + '//m.yohobuy.com';
if ($('.coupon-group').length <= 0) {
return false;
}
if (that.common.shopId) {
// 店铺领券
_url += '/product/index/getShopCouponsList';
... ...