切换导航条
此项目
正在载入...
登录
景龙
/
xingqiu
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
景龙
6 years ago
提交
ea4c373301ab3884d2522a185b9dd9d551a6bbb8
1 个父辈
22646da8
1 个管道 的构建
通过
耗费 1 秒
调试视频
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
37 行增加
和
33 行删除
public/themes/simpleboot3_mobile/portal/region/get_more_video.html
public/themes/simpleboot3_mobile/public/assets/js/public.js
public/themes/simpleboot3_mobile/portal/region/get_more_video.html
查看文件 @
ea4c373
...
...
@@ -170,42 +170,33 @@
<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
();
}
else
{
$
(
'#video'
).
hide
();
}
});
// 禁止下载
$
(
'video'
).
bind
(
'contextmenu'
,
function
()
{
return
false
;
});
var
video_index
=
getUrlParam
(
'video_index'
);
//默认第一个视频
if
(
video_index
==
''
){
switch_video
(
0
);
//更换视频路径index
video_index_url
(
0
);
video_share
();
}
else
{
switch_video
(
video_index
);
//更换视频路径index
video_index_url
(
video_index
);
video_share
();
$
(
'.navImg1 img'
).
click
(
function
()
{
if
(
$
(
this
).
attr
(
'src'
)
==
"__TMPL__/public/assets/images/xx.png"
)
{
$
(
'#video'
).
show
();
}
else
{
$
(
'#video'
).
hide
();
}
});
// swiper
var
swiper
=
new
Swiper
(
".swiper-container"
,
{
slidesPerView
:
3
,
paginationClickable
:
true
,
spaceBetween
:
8
,
freeMode
:
true
// 禁止下载
$
(
'video'
).
bind
(
'contextmenu'
,
function
()
{
return
false
;
});
var
video_index
=
getUrlParam
(
'video_index'
);
//默认第一个视频
if
(
video_index
==
''
){
switch_video
(
0
);
//更换视频路径index
video_index_url
(
0
);
video_share
();
}
else
{
switch_video
(
video_index
);
//更换视频路径index
video_index_url
(
video_index
);
video_share
();
}
//登录
var
users
=
$
(
'#users'
).
val
();
if
(
users
==
0
)
{
...
...
@@ -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
)
...
...
public/themes/simpleboot3_mobile/public/assets/js/public.js
查看文件 @
ea4c373
...
...
@@ -363,7 +363,14 @@ function getUrlParam(paraName) {
arr
=
arrPara
[
i
].
split
(
"="
);
if
(
arr
!=
null
&&
arr
[
0
]
==
paraName
)
{
return
arr
[
1
];
var
arr1
;
//此处为了解决#定位视频问题
if
(
arr
[
1
].
indexOf
(
'#'
)
!=
-
1
){
arr1
=
arr
[
1
].
split
(
"#"
);
return
arr1
[
0
];
}
else
{
return
arr
[
1
];
}
}
}
return
""
;
...
...
请
注册
或
登录
后发表评论