修改演示站点发现的问题
parent
f7c310b126
commit
116c168ed7
|
@ -14,7 +14,7 @@
|
||||||
</div>
|
</div>
|
||||||
<swiper :options="swiperOption" ref="mySwiper">
|
<swiper :options="swiperOption" ref="mySwiper">
|
||||||
<swiper-slide v-for="(item,index) in goodsList" :key="index">
|
<swiper-slide v-for="(item,index) in goodsList" :key="index">
|
||||||
<div class="content hover-pointer" @click="goToSeckill">
|
<div class="content hover-pointer" @click.stop="goToSeckill">
|
||||||
<img :src="item.goodsImage" width="140" height="140" :alt="item.goodsName">
|
<img :src="item.goodsImage" width="140" height="140" :alt="item.goodsName">
|
||||||
<div class="ellipsis">{{item.goodsName}}</div>
|
<div class="ellipsis">{{item.goodsName}}</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -58,7 +58,7 @@ export default {
|
||||||
seconds: 0, // 秒
|
seconds: 0, // 秒
|
||||||
interval: null, // 定时器
|
interval: null, // 定时器
|
||||||
swiperOption: { // 轮播图参数
|
swiperOption: { // 轮播图参数
|
||||||
loop: true,
|
|
||||||
slidesPerView: 5,
|
slidesPerView: 5,
|
||||||
// 设置点击箭头
|
// 设置点击箭头
|
||||||
navigation: {
|
navigation: {
|
||||||
|
@ -157,6 +157,7 @@ export default {
|
||||||
// ]
|
// ]
|
||||||
this.list = this.data.options.list
|
this.list = this.data.options.list
|
||||||
this.goodsList = this.list[0].seckillGoodsList
|
this.goodsList = this.list[0].seckillGoodsList
|
||||||
|
console.log( this.goodsList)
|
||||||
this.countDown(this.currIndex)
|
this.countDown(this.currIndex)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -363,7 +363,7 @@
|
||||||
<!-- 链接地址-->
|
<!-- 链接地址-->
|
||||||
<div
|
<div
|
||||||
class="decorate-view"
|
class="decorate-view"
|
||||||
v-if="item.url.url && item.url.___type == 'other'"
|
v-if="item.url && item.url.url && item.url.___type == 'other'"
|
||||||
>
|
>
|
||||||
<div class="decorate-view-title">外部链接</div>
|
<div class="decorate-view-title">外部链接</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -371,7 +371,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p v-if="item.url.url && item.url.___type == 'other'">
|
<p v-if="item.url && item.url.url && item.url.___type == 'other'">
|
||||||
(如非同域名下,则在小程序与公众号中无效)
|
(如非同域名下,则在小程序与公众号中无效)
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue