swiper默认第二个且居中

var mySwiper = new Swiper ('.swiper-bottom', {
  spaceBetween: 25,
  freeMode: true,
  initialSlide :1,//默认第二个
  slidesPerView: 2,//可见个数2
  centeredSlides: true,//居中
});

 

posted @ 2018-11-30 09:42  jiangxiaobo  阅读(1318)  评论(0编辑  收藏  举报