|
@@ -96,19 +96,16 @@
|
|
|
,vis:5
|
|
|
});
|
|
|
} else {
|
|
|
- var swiper = new Swiper('#recommendBox', {
|
|
|
- slidesPerView: 2,
|
|
|
- slidesPerColumn: 2,
|
|
|
- spaceBetween: 0,
|
|
|
- slidesPerGroup: 2,
|
|
|
- autoplay: {
|
|
|
- delay: 3000,
|
|
|
- disableOnInteraction: false
|
|
|
- },
|
|
|
- pagination: {
|
|
|
- el: '.swiper-pagination'
|
|
|
- }
|
|
|
- });
|
|
|
+ var swiper = new Swiper('#recommendBox', {
|
|
|
+ loop : true,
|
|
|
+ autoplay: {
|
|
|
+ delay: 3000,
|
|
|
+ disableOnInteraction: false
|
|
|
+ },
|
|
|
+ pagination: {
|
|
|
+ el: '.swiper-pagination'
|
|
|
+ }
|
|
|
+ });
|
|
|
|
|
|
}
|
|
|
},500);
|