|
|
@ -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() { |
|
|
//异步加载 |
|
|
//异步加载 |
|
|
|