摘要: 如题: 查了Swiper文档发现要加这个参数 slidesPerView: 'auto',就解决这个问题了,特此记录一下。 slidesPerView:设置slider容器能够同时显示的slides数量(carousel模式)。可以设置为number或者 'auto'则自动根据slides的宽度来设 阅读全文
posted @ 2017-03-15 17:49 永远的H 阅读(3617) 评论(2) 推荐(0) 编辑