Swiper 垂直方向滚动,item不定高度的配置

 

 

var mySwiper = new Swiper('.swiper-container',{
			slidesPerView :'auto',
			autoplay:5000,
			direction:'vertical',
			grabCursor:true,
			autoplayDisableOnInteraction:false,
			mousewheelControl:true,
			autoHeight:true,
			speed:2000
		});

  

 

posted @ 2017-12-08 09:40  ghfjj  阅读(15710)  评论(0编辑  收藏  举报