切换导航条
此项目
正在载入...
登录
景龙
/
xingqiu
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
景龙
6 years ago
提交
5570e7e180cc356df1315cab6bbcb2045cd7c931
1 个父辈
61821882
1 个管道 的构建
通过
耗费 0 秒
调式视频定位
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
11 行增加
和
21 行删除
public/themes/simpleboot3_mobile/portal/region/get_more_video.html
public/themes/simpleboot3_mobile/portal/region/get_more_video.html
查看文件 @
5570e7e
...
...
@@ -135,8 +135,6 @@
<div
class=
"index_seventh_bottom_four"
>
上映时间:
<span
class=
"release_time"
></span></div>
<!--视频索引-->
<input
type=
"hidden"
value=
"0"
class=
"video_index"
>
<!--视频url-->
<input
type=
"hidden"
value=
"0"
class=
"video_index_url"
>
<div
class=
"index_seventh_bottom_five"
>
<div
class=
"index_seventh_bottom_title"
>
分享:
</div>
...
...
@@ -182,14 +180,20 @@
'onMenuShareTimeline'
,
]
});
video_share
();
video_share
(
0
);
});
//视频分享
function
video_share
(){
function
video_share
(
index
){
var
title_title
=
$
(
document
).
attr
(
'title'
);
var
desc
=
$
(
'.post_title'
).
text
();
var
link
=
$
(
'.video_index_url'
).
val
();
var
link
;
var
city_id
=
getUrlParam
(
'city_id'
);
if
(
city_id
==
''
){
link
=
window
.
location
.
href
+
'?video_index='
+
index
;
}
else
{
link
=
window
.
location
.
href
+
'&video_index='
+
index
;
}
wx
.
onMenuShareAppMessage
({
title
:
'独角星球-'
+
title_title
,
// 分享标题朋友
desc
:
desc
,
// 分享描述
...
...
@@ -285,12 +289,8 @@
//默认第一个视频
if
(
video_index
==
''
){
switch_video
(
0
);
//更换视频路径index
video_index_url
(
0
);
}
else
{
switch_video
(
video_index
);
//更换视频路径index
video_index_url
(
video_index
);
}
//点击切换
...
...
@@ -300,9 +300,8 @@
$
(
'.curren'
).
children
(
'li'
).
find
(
'.txt-cut'
).
css
(
'color'
,
'rgba(153, 153, 153, 1)'
);
switch_video
(
index
);
$
(
'.video_index'
).
val
(
index
);
//更换视频路径index
video_index_url
(
index
);
video_share
();
video_share
(
index
);
});
// $(".select ul li").click(function() {
...
...
@@ -337,15 +336,6 @@
});
});
function
video_index_url
(
index
){
var
city_id
=
getUrlParam
(
'city_id'
);
if
(
city_id
==
''
){
$
(
'.video_index_url'
).
val
(
window
.
location
.
href
+
'?video_index='
+
index
);
}
else
{
$
(
'.video_index_url'
).
val
(
window
.
location
.
href
+
'&video_index='
+
index
);
}
}
//切换视频
function
switch_video
(
index
)
{
//视频路径
...
...
请
注册
或
登录
后发表评论