作者 景龙
1 个管道 的构建 通过 耗费 7 秒

调试移动视频

... ... @@ -183,14 +183,6 @@
return false;
});
// swiper
var swiper = new Swiper(".swiper-container", {
slidesPerView: 3,
paginationClickable: true,
spaceBetween: 8,
freeMode: true
});
var video_index = getUrlParam('video_index');
//默认第一个视频
if(video_index == ''){
... ... @@ -399,6 +391,16 @@
//是否点赞
is_likes(id);
// swiper
var swiper = new Swiper(".swiper-container", {
initialSlide:index,
slidesPerView: 3,
paginationClickable: true,
centeredSlides: true,
spaceBetween: 8,
freeMode: true
});
}
//是否收藏
... ...