Commit 132a2700 by yuzhenWang

优化轮播图

parent adbb212e
......@@ -29,10 +29,13 @@
<view class="swiperBox" v-if="bannerViewType == '2'">
<uni-swiper-dot
:dots-styles="{
backgroundColor: 'rgba(255, 255, 255, 0.5)',
selectedBackgroundColor: 'rgba(255, 255, 255, 1)'
}" :info="swiperList" :current="current" mode="default">
<swiper autoplay :interval="3000" circular class="swiper-box" @change="changeSwiper">
backgroundColor: 'rgba(145, 151, 201, .5)',
selectedBackgroundColor: 'rgba(255, 255, 255, 1)',
bottom:100,
selectedBorder: '10rpx rgba(255, 255, 255, 1) solid',
width:8
}" :info="swiperList" :current="current" mode="default">
<swiper autoplay :indicator-dots="true" :interval="3000" circular class="swiper-box" @change="changeSwiper">
<swiper-item v-for="(item,index) in swiperList" :key="index" class="swiper-item-no-gap">
<view class="swiper-item">
<image style="height: 100%;width: 100%;display: block;" :src="item['filePath']" mode="aspectFill"></image>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment