...
|
...
|
@@ -182,7 +182,15 @@ |
|
|
$('video').bind('contextmenu', function() {
|
|
|
return false;
|
|
|
});
|
|
|
swiper();
|
|
|
|
|
|
// swiper
|
|
|
var swiper = new Swiper(".swiper-container", {
|
|
|
slidesPerView: 3,
|
|
|
paginationClickable: true,
|
|
|
spaceBetween: 8,
|
|
|
freeMode: true
|
|
|
});
|
|
|
|
|
|
var video_index = getUrlParam('video_index');
|
|
|
//默认第一个视频
|
|
|
if(video_index == ''){
|
...
|
...
|
@@ -250,16 +258,6 @@ |
|
|
$(".fourth_video_start").hide();
|
|
|
}
|
|
|
|
|
|
function swiper(){
|
|
|
// swiper
|
|
|
var swiper = new Swiper(".swiper-container", {
|
|
|
slidesPerView: 3,
|
|
|
paginationClickable: true,
|
|
|
spaceBetween: 8,
|
|
|
freeMode: true
|
|
|
});
|
|
|
}
|
|
|
|
|
|
$(".select input").click(function() {
|
|
|
if ($(this).next("img").attr("src") == "__TMPL__/public/assets/images/down2.png") {
|
|
|
$(this)
|
...
|
...
|
@@ -400,7 +398,15 @@ |
|
|
//是否点赞
|
|
|
is_likes(id);
|
|
|
|
|
|
swiper();
|
|
|
// swiper
|
|
|
var swiper = new Swiper(".swiper-container", {
|
|
|
loop: true,
|
|
|
slidesPerView: 3,
|
|
|
paginationClickable: true,
|
|
|
spaceBetween: 8,
|
|
|
freeMode: true,
|
|
|
loopedSlides: index
|
|
|
});
|
|
|
}
|
|
|
|
|
|
//是否收藏
|
...
|
...
|
|