Authored by ccbikai

代码格式

@@ -17,9 +17,9 @@ var winH = $(window).height(), @@ -17,9 +17,9 @@ var winH = $(window).height(),
17 17
18 var swiper; 18 var swiper;
19 19
20 -// slide 个数大于 1 ,使用 swiper ,否则只显示单张图片 20 +// slide 个数大于 1 ,使用 swiper ,否则只显示单张图片
21 if ($('.swiper-container').length > 1) { 21 if ($('.swiper-container').length > 1) {
22 - swiper = new Swiper('.swiper-container', { 22 + swiper = new Swiper('.swiper-container', {
23 lazyLoading: true, 23 lazyLoading: true,
24 pagination: '.swiper-pagination' 24 pagination: '.swiper-pagination'
25 }); 25 });