what: why: how: slidesPerView: \auto\ slidesPerView:设置slider容器能够同时显示的slides数量(carousel模式)。 可以设置为number或者 \auto\则自动根据slides的宽度来设定数量。 打赏感谢支持与鼓励~