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

调试视频

... ... @@ -170,7 +170,6 @@
<script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script>
$(function () {
$('.navImg1 img').click(function() {
if ($(this).attr('src') == "__TMPL__/public/assets/images/xx.png") {
$('#video').show();
... ... @@ -183,6 +182,7 @@
$('video').bind('contextmenu', function() {
return false;
});
var video_index = getUrlParam('video_index');
//默认第一个视频
if(video_index == ''){
... ... @@ -196,15 +196,6 @@
video_index_url(video_index);
video_share();
}
});
// swiper
var swiper = new Swiper(".swiper-container", {
slidesPerView: 3,
paginationClickable: true,
spaceBetween: 8,
freeMode: true
});
//登录
var users = $('#users').val();
... ... @@ -259,7 +250,13 @@
$(".fourth_video_start").hide();
}
// 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)
... ...
... ... @@ -363,9 +363,16 @@ function getUrlParam(paraName) {
arr = arrPara[i].split("=");
if (arr != null && arr[0] == paraName) {
var arr1;
//此处为了解决#定位视频问题
if(arr[1].indexOf('#') != -1){
arr1 = arr[1].split("#");
return arr1[0];
}else{
return arr[1];
}
}
}
return "";
} else {
return "";
... ...