index .swiper-container{
width:100%;
height:50%;
}
. he{
width:100%;
height:100%;
}
vars wiper=news wiper '.swiper-container ',{
页面: '.swiper-pagination ',
next button 3360 '.swiper-button-next ',
prev button 3360 '.swiper-button-prev ',
//点击点进行切换
打包许可证: true,
//照片间的距离
spaceBetween: 30,
//默认情况下,活动块位于左侧,如果设置为true,活动块居中。
中心幻灯片: true,
//自动轮播时间
自动: 6000,
如果设置为false,则即使用户操作滑动也不会停止自动切换,每次都会重新启动autoplay。
autoplaydisableoninteraction :假、
//3D切换效果
effect: 'fade ',
//左右滑动
//direction: 'horizontal ',
如果设置为true,则在windows调整大小时,滑动将重新初始化。
结果注册:真,
最大负载:真,
前图像:假,
//加载所有嵌入的图像(img标签)后,滑动条将重新初始化。
更新操作就绪: true,
打包许可证: true,
//照片间的距离
空间between : 0,
//slidesPerColumn参数
slidesPerColumn: 1,
//滑块速度,即滑块自动开始和结束之间的时间(单位为ms ) )。
速度: 600,
loop :真,
initialSlide: 0,
//启用后,只有“可见”的滑块最后会适应容器的大小
visibilityfullfit :真、
);