✨ feat: banner支持外链
This commit is contained in:
parent
821d11ce94
commit
c0cf51f6b5
|
@ -58,7 +58,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="fictitious" v-if="viewConfig.search.iswitch==='1'"></div>
|
||||
<img class="banner" :src="viewConfig.top_image" alt="">
|
||||
<img class="banner" :src="viewConfig.top_image" alt="" @click="location.href=viewConfig.bannerUrl">
|
||||
</div>
|
||||
|
||||
<!-- 配置的图片 -->
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<div class="topBanner">
|
||||
<img class="backpresty" @click="backgoodsFn" v-if="goodsShow&&!iskey"
|
||||
src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png" alt="">
|
||||
<img :src="topImg" alt="">
|
||||
<img :src="topImg" alt="" @click="location.href=bannerUrl">
|
||||
</div>
|
||||
<!-- //轮播 -->
|
||||
<div class="saleNull" v-if="!goodsNum">
|
||||
|
@ -237,6 +237,7 @@
|
|||
this.layout = productConfig.list;
|
||||
this.iskey = localStorage.getItem('haskey');
|
||||
this.describe = productConfig.describe;
|
||||
this.bannerUrl = productConfig.bannerUrl;
|
||||
},
|
||||
methods: {
|
||||
closeTip () {
|
||||
|
|
Loading…
Reference in New Issue