当轮播图只有两张图片时,未选中的那张图总是显示在左边,从2.21.4基础库版本开始,旧版本正常
swiper轮播图展示问题swiper carousel display problem
swiper轮播图展示问题框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | swiper | 微信iOS客户端 | 8.0.20 | 2.24.1 |
当轮播图只有两张图片时,未选中的那张图总是显示在左边,从2.21.4基础库版本开始,旧版本正常
Framework type problem type API / component name terminal type wechat version basic library version applet bug swiper wechat IOS client 8.0.20 2.24.1 when there are only two pictures in the rotation picture, the unselected picture is always displayed on the left. Starting from 2.21.4 basic library version, the old version is normal
回答:
设置一下current
原文出处:swiper轮播图展示问题
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。