swiper默认样式的移动效果是
w3c有关transition-timing-function属性的介绍
.swiper-wrapper{
transition-timing-function:linear !important;
}
就能解决有关无缝滚动的问题
注:
需要把scoped设置给去掉不然,会导致 transition-timing-function:linear;设置不生效
还用一种方法是:
.list-block /deep/ .swiper-wrapper{
transition-timing-function:linear !important;
} //设置/deep/ 就可以无需去掉scoped