所属分类:焦点图/幻灯片
JS代码:
LoopSlider.init({ el: ".content", //选择器 navigator: { //前进后退按钮 prevEl: ".prev", nextEl: ".next" }, easing: "ease", //动画效果cubic-bezier(0.985, -0.060, 0.000, 1.320) duration: 300, //过渡时间,默认为3000ms, autoplay: true, //boolean 和 number 设置为true 默认延时为3s,如果设置为1000,延时为1s })