怎么用swiper实现匀速无缝轮播

1.设置属性

freeMode:true,

autoplay: {

delay:0

}

2.然后再修改或者覆盖样式

.swiper-container-free-mode>.swiper-wrapper {
    -webkit-transition-timing-function: linear; /*之前是ease-out*/
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
    margin: 0 auto;
}

你可能感兴趣的:(怎么用swiper实现匀速无缝轮播)