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

调试视频

... ... @@ -183,6 +183,14 @@
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 == ''){
... ... @@ -307,6 +315,8 @@
});
});
function video_index_url(index){
var city_id = getUrlParam('city_id');
if(city_id == ''){
... ... @@ -389,16 +399,6 @@
//是否点赞
is_likes(id);
// swiper
var swiper = new Swiper(".swiper-container", {
loop:true,
slidesPerView: 3,
paginationClickable: true,
spaceBetween: 8,
freeMode: true,
loopedSlides: index
});
}
//是否收藏
... ...