如下图所示,设置同时显示的滑块数量时,例如:display-multiple-items="3"时,总滑块数量为5,则指示点数量应为2个。实际为滑块数量等于指示点数量5.
<view class="uni-padding-wrap">
<view class="page-section swiper">
<view class="page-section-spacing">
<swiper class="swiper" :display-multiple-items="3" :indicator-dots="true" :autoplay="true" :interval="2000" :duration="500">
<swiper-item>
<view class="swiper-item uni-bg-red">A</view>
</swiper-item>
<swiper-item>
<view class="swiper-item uni-bg-green">B</view>
</swiper-item>
<swiper-item>
<view class="swiper-item uni-bg-blue">C</view>
</swiper-item>
<swiper-item>
<view class="swiper-item uni-badge-danger">D</view>
</swiper-item>
<swiper-item>
<view class="swiper-item uni-badge-purple">E</view>
</swiper-item>
</swiper>
</view>
</view>
</view>
1***@qq.com
小程序是否修复,更新最新版本发现还存在
2019-10-14 18:43