商品的图片轮播、视频播放
parent
5d9be29f04
commit
edabd0c29f
|
@ -3,6 +3,7 @@
|
|||
<swiper :indicator-dots="indicatorDots" indicator-active-color="#e93323" :autoplay="autoplay"
|
||||
:circular="circular" :interval="interval" :duration="duration" @change="change">
|
||||
|
||||
<!-- 视频 -->
|
||||
<swiper-item v-if="videoline">
|
||||
<view class="item">
|
||||
<view v-show="!controls" style="width:100%;height:100% ">
|
||||
|
@ -19,6 +20,7 @@
|
|||
</view>
|
||||
</swiper-item>
|
||||
|
||||
<!-- 图片 -->
|
||||
<block v-for="(item,index) in imgUrls" :key='index'>
|
||||
<swiper-item>
|
||||
<image :src="item" class="slide-image" />
|
||||
|
|
Loading…
Reference in New Issue