切换导航条
此项目
正在载入...
登录
景龙
/
xingqiu
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
景龙
6 years ago
提交
ad8ae91263add75087ef4b1d09a940d6f62280ec
1 个父辈
53f17fcd
1 个管道 的构建
通过
耗费 11 秒
测试视频分享定位
变更
4
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
38 行增加
和
3 行删除
public/themes/simpleboot3/portal/region/get_more_video.html
public/themes/simpleboot3/public/share.html
public/themes/simpleboot3_mobile/portal/region/get_more_video.html
public/themes/simpleboot3_mobile/public/share.html
public/themes/simpleboot3/portal/region/get_more_video.html
查看文件 @
ad8ae91
...
...
@@ -106,6 +106,8 @@
<input
type=
"hidden"
value=
""
id=
"li_id"
>
<p>
取景:
<span
class=
"framing"
></span></p>
<p>
上映时间:
<span
class=
"release_time"
></span></p>
<!--视频索引-->
<input
type=
"hidden"
value=
"0"
class=
"video_index"
>
</div>
<!-- 分享 -->
<div
class=
"show_9_video_asideTxt3 clearfix"
>
...
...
@@ -176,6 +178,7 @@
$
(
'.curren'
).
children
(
'li'
).
children
(
'.li_img'
).
css
(
'opacity'
,
'0.3'
);
$
(
'.curren'
).
children
(
'li'
).
children
(
'p'
).
css
(
'color'
,
'rgba(153, 153, 153, 1)'
);
switch_video
(
index
);
$
(
'.video_index'
).
val
(
index
);
});
//鼠标滑过
...
...
public/themes/simpleboot3/public/share.html
查看文件 @
ad8ae91
...
...
@@ -20,7 +20,21 @@
<script
src=
"https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"
></script>
<script
src=
"https://cdn.bootcss.com/jquery.qrcode/1.0/jquery.qrcode.min.js"
></script>
<script>
var
url
=
window
.
location
.
href
;
var
pathname
=
window
.
location
.
pathname
;
var
video_index
=
$
(
'.video_index'
).
val
();
var
city_id
=
getUrlParam
(
'city_id'
);
// 分享链接
var
url
;
if
(
pathname
==
'/portal/region/getMoreVideo'
){
if
(
city_id
==
''
){
url
=
window
.
location
.
href
+
'?video_index='
+
video_index
;
}
else
{
url
=
window
.
location
.
href
+
'&video_index='
+
video_index
;
}
}
else
{
url
=
window
.
location
.
href
;
}
/* 生成二维码 */
$
(
"#qrcode"
).
qrcode
({
text
:
url
,
//设置二维码内容
...
...
public/themes/simpleboot3_mobile/portal/region/get_more_video.html
查看文件 @
ad8ae91
...
...
@@ -133,6 +133,9 @@
<!-- <div class="index_seventh_bottom_two">国家:<span class="city_name"></span></div> -->
<div
class=
"index_seventh_bottom_three"
>
取景:
<span
class=
"framing"
></span></div>
<div
class=
"index_seventh_bottom_four"
>
上映时间:
<span
class=
"release_time"
></span></div>
<!--视频索引-->
<input
type=
"hidden"
value=
"0"
class=
"video_index"
>
<div
class=
"index_seventh_bottom_five"
>
<div
class=
"index_seventh_bottom_title"
>
分享:
</div>
<div
class=
"index_seventh_bottom_img1"
>
...
...
@@ -233,8 +236,9 @@
$
(
".select ul"
).
toggle
();
}
});
var
video_index
=
getUrlParam
(
'video_index'
);
//默认第一个视频
switch_video
(
0
);
switch_video
(
video_index
);
//点击切换
$
(
'.curren li'
).
click
(
function
()
{
...
...
@@ -242,6 +246,7 @@
$
(
'.curren'
).
children
(
'li'
).
find
(
'.li_img'
).
css
(
'opacity'
,
'0.3'
);
$
(
'.curren'
).
children
(
'li'
).
find
(
'.txt-cut'
).
css
(
'color'
,
'rgba(153, 153, 153, 1)'
);
switch_video
(
index
);
$
(
'.video_index'
).
val
(
index
);
});
// $(".select ul li").click(function() {
...
...
public/themes/simpleboot3_mobile/public/share.html
查看文件 @
ad8ae91
...
...
@@ -2,8 +2,21 @@
<script
src=
"http://res.wx.qq.com/open/js/jweixin-1.4.0.js"
></script>
<script>
$
(
function
()
{
var
pathname
=
window
.
location
.
pathname
;
var
video_index
=
$
(
'.video_index'
).
val
();
var
city_id
=
getUrlParam
(
'city_id'
);
// 分享链接
var
url
=
window
.
location
.
href
;
var
url
;
if
(
pathname
==
'/portal/region/getMoreVideo'
){
if
(
city_id
==
''
){
url
=
window
.
location
.
href
+
'?video_index='
+
video_index
;
}
else
{
url
=
window
.
location
.
href
+
'&video_index='
+
video_index
;
}
}
else
{
url
=
window
.
location
.
href
;
}
// 分享标题
var
title_title
=
$
(
document
).
attr
(
'title'
);
// 分享简介
...
...
请
注册
或
登录
后发表评论