正在显示
1 个修改的文件
包含
1 行增加
和
9 行删除
@@ -183,14 +183,6 @@ | @@ -183,14 +183,6 @@ | ||
183 | return false; | 183 | return false; |
184 | }); | 184 | }); |
185 | 185 | ||
186 | - // swiper | ||
187 | - var swiper = new Swiper(".swiper-container", { | ||
188 | - slidesPerView: 3, | ||
189 | - paginationClickable: true, | ||
190 | - spaceBetween: 8, | ||
191 | - freeMode: true | ||
192 | - }); | ||
193 | - | ||
194 | var video_index = getUrlParam('video_index'); | 186 | var video_index = getUrlParam('video_index'); |
195 | //默认第一个视频 | 187 | //默认第一个视频 |
196 | if(video_index == ''){ | 188 | if(video_index == ''){ |
@@ -400,11 +392,11 @@ | @@ -400,11 +392,11 @@ | ||
400 | 392 | ||
401 | // swiper | 393 | // swiper |
402 | var swiper = new Swiper(".swiper-container", { | 394 | var swiper = new Swiper(".swiper-container", { |
395 | + loop:true, | ||
403 | slidesPerView: 3, | 396 | slidesPerView: 3, |
404 | paginationClickable: true, | 397 | paginationClickable: true, |
405 | spaceBetween: 8, | 398 | spaceBetween: 8, |
406 | freeMode: true, | 399 | freeMode: true, |
407 | - loopedSlides: index | ||
408 | }); | 400 | }); |
409 | } | 401 | } |
410 | 402 |
-
请 注册 或 登录 后发表评论