js代码
<script src="js/jquery-2.1.1.min.js" type="text/javascript"></script> <script src='js/jquery.easing.min.js'></script> <script src='js/slick.min.js'></script> <script type="text/javascript"> $('.slider').slick({ autoplay:true, autoplaySpeed:3000, draggable: true, arrows: false, dots: true, fade: true, speed: 900, infinite: true, cssEase: 'cubic-bezier(0.7, 0, 0.3, 1)', touchThreshold: 100 }) </script>