Browse Source

尝试修复微信领券白屏问题

feature/3.0.0-推广员
nesxy 7 years ago
parent
commit
4c2e2b70f4
1 changed files with 2 additions and 10 deletions
  1. 12
      src/view/home.vue

12
src/view/home.vue

@ -29,11 +29,8 @@
</div> </div>
</div> </div>
<div class="coupon" v-if="promotionImgList.imgUrl"> <div class="coupon" v-if="promotionImgList.imgUrl">
<a v-on:click="openCouponUrl(promotionImgList.linkUrl)">
<img :src="promotionImgList.imgUrl" />
</a>
<!-- <a v-if="promotionImgList.linkUrl != '' " :href="promotionImgList.linkUrl"><img :src="promotionImgList.imgUrl" /></a>-->
<!-- <a v-else href="javascript:void(0)"><img :src="promotionImgList.imgUrl" /></a>-->
<a v-if="promotionImgList.linkUrl != '' " :href="promotionImgList.linkUrl"><img :src="promotionImgList.imgUrl" /></a>
<a v-else href="javascript:void(0)"><img :src="promotionImgList.imgUrl" /></a>
</div> </div>
<!-- TODO: 三种样式 --> <!-- TODO: 三种样式 -->
<!-- one --> <!-- one -->
@ -373,11 +370,6 @@ export default {
this.state = 1; this.state = 1;
this.show = true; this.show = true;
}, },
openCouponUrl(url){
if(url){
window.location.replace(url);
}
}
}, },
mounted() { mounted() {
// //

Loading…
Cancel
Save