js代码
<script type="text/javascript" src="js/swiper-3.3.1.min.js"></script> <script type="text/javascript"> var swiper = new Swiper('.swiper-container', { slidesPerView: 'auto', spaceBetween: 0, freeMode: true, freeModeSticky : true, resistance:true, }); </script>