Commit e68a4f397087c8e63bd4f9069949be7720fc733e

Authored by 王强
1 parent d5f50ff9

工会商品页面,判断在App内再设置优惠券~

src/pages/shopList/shopList.vue
@@ -337,11 +337,15 @@ @@ -337,11 +337,15 @@
337 this.$set(this, 'swipers', datas.banner); 337 this.$set(this, 'swipers', datas.banner);
338 } 338 }
339 339
340 - // 如果有优惠券,设置优惠券信息  
341 - if (datas.coupon && datas.coupon.length) { 340 + // 判断在App内再设置优惠券
  341 + if (this.isCNLive.value) {
  342 +
  343 + // 如果有优惠券,设置优惠券信息
  344 + if (datas.coupon && datas.coupon.length) {
342 345
343 - // 设置优惠券  
344 - this.$set(this, 'coupons', datas.coupon); 346 + // 设置优惠券
  347 + this.$set(this, 'coupons', datas.coupon);
  348 + }
345 } 349 }
346 350
347 // 获取tabs数据 351 // 获取tabs数据