Swiper 自动无缝匀速滚动

除了必要的代码外,还要加一个样式:

  .swiper-wrapper {
    display: flex;
    transition-timing-function: linear; /* 确保滚动速度是恒定的 */
  }

 

posted on 2025-02-13 09:33  JoeYoung  阅读(293)  评论(0)    收藏  举报