setter
parent
0efea8b4ce
commit
634b727e3e
|
@ -65,9 +65,9 @@
|
|||
autoplay: {
|
||||
//开启自动播放
|
||||
delay:3000,
|
||||
disableOnInteraction: false,
|
||||
//disableOnInteraction: false,
|
||||
//触摸后不会停止自动滚动
|
||||
pauseOnMouseEnter: true,
|
||||
//pauseOnMouseEnter: true,
|
||||
//鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。
|
||||
},
|
||||
direction : 'vertical',
|
||||
|
@ -77,7 +77,7 @@
|
|||
//高度随内容变化
|
||||
slidesPerView:4,
|
||||
//显示个数
|
||||
pagination: {
|
||||
/* pagination: {
|
||||
//分页器
|
||||
el: '.swiper-pagination',
|
||||
type: 'bullets',
|
||||
|
@ -109,7 +109,7 @@
|
|||
}
|
||||
return '<span class="' + className + '">' + text + '</span>';
|
||||
},
|
||||
},
|
||||
},*/
|
||||
effect : 'slide',//轮播的动效 默认为"slide"(普通位移切换),还可设置为"fade"(淡入)、"cube"(方块)、"coverflow"(3d流)、"flip"(3d翻转)、"cards"(卡片式)、"creative"(创意性)。
|
||||
fadeEffect: {
|
||||
crossFade: true,
|
||||
|
|
Loading…
Reference in New Issue