Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footseen-large-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b127b824
authored
Sep 15, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
ce4c8026
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
lib/default.js
room/liveRoom.html
lib/default.js
View file @
b127b824
...
@@ -23,8 +23,8 @@ if (bbb.indexOf("www.footseen.xyz/video.html") > -1) {
...
@@ -23,8 +23,8 @@ if (bbb.indexOf("www.footseen.xyz/video.html") > -1) {
$api
=
'https://zhibo.lvdou66.com/'
$api
=
'https://zhibo.lvdou66.com/'
checkIp
()
checkIp
()
}
}
$ip
=
"https://cpapi.footseen.xyz/"
;
//
$ip = "https://cpapi.footseen.xyz/";
$ws
=
"wss://websocket.footseen.xyz:12308/"
//
$ws = "wss://websocket.footseen.xyz:12308/"
var
bbb
=
location
.
href
;
var
bbb
=
location
.
href
;
var
data
=
url_get_params
(
bbb
)
var
data
=
url_get_params
(
bbb
)
if
(
sessionStorage
.
kkk
==
undefined
)
{
if
(
sessionStorage
.
kkk
==
undefined
)
{
...
...
room/liveRoom.html
View file @
b127b824
...
@@ -900,7 +900,7 @@ $(function () {
...
@@ -900,7 +900,7 @@ $(function () {
var
list
=
data
.
dataList
.
activitys
[
i
]
var
list
=
data
.
dataList
.
activitys
[
i
]
html
+=
'
<
div
class
=
"swiper-slide"
><
img
data
-
type
=
"'+list.url+'"
data
-
type2
=
"'+list.urlType+'"
class
=
"act-btn"
src
=
"https://zhibocdn.yabolive.net/comm'+list.webIcon+'?x-oss-process=image/resize,w_174"
alt
=
""
><
/div>'
;
html
+=
'
<
div
class
=
"swiper-slide"
><
img
data
-
type
=
"'+list.url+'"
data
-
type2
=
"'+list.urlType+'"
class
=
"act-btn"
src
=
"https://zhibocdn.yabolive.net/comm'+list.webIcon+'?x-oss-process=image/resize,w_174"
alt
=
""
><
/div>'
;
}
}
html
+=
'
<
div
class
=
"swiper-slide"
><
img
data
-
type
=
"https://www.footseen.xyz/mobile/download/downApp.html"
data
-
type2
=
"
0
"
class
=
"act-btn"
src
=
"images/roomDown.png"
alt
=
""
><
/div>'
;
html
+=
'
<
div
class
=
"swiper-slide"
><
img
data
-
type
=
"https://www.footseen.xyz/mobile/download/downApp.html"
data
-
type2
=
"
3
"
class
=
"act-btn"
src
=
"images/roomDown.png"
alt
=
""
><
/div>'
;
$
(
".swiper-wrapper"
).
html
(
html
);
$
(
".swiper-wrapper"
).
html
(
html
);
if
(
data
.
dataList
.
activitys
.
length
>
0
){
if
(
data
.
dataList
.
activitys
.
length
>
0
){
var
swiper
=
new
Swiper
(
".mySwiper"
,
{
var
swiper
=
new
Swiper
(
".mySwiper"
,
{
...
@@ -918,11 +918,24 @@ $(function () {
...
@@ -918,11 +918,24 @@ $(function () {
});
});
}
}
$
(
".act-btn"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".act-btn"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
if
(
_self
.
attr
(
"data-type2"
)
==
3
){
layer
.
open
({
type
:
2
,
title
:
false
,
shadeClose
:
true
,
skin
:
"active-layer"
,
area
:
[
"360px"
,
"634px"
],
content
:
_self
.
attr
(
"data-type"
)
+
'?uid='
+
localStorage
.
uid
+
'&token='
+
localStorage
.
token
+
'&roomid='
+
sessionStorage
.
roomId
+
'&os=pc'
,
})
$
(
".layui-layer-shade"
).
hide
()
return
}
if
(
localStorage
.
token
==
undefined
){
if
(
localStorage
.
token
==
undefined
){
loginLayer
()
loginLayer
()
return
;
return
;
}
}
var
_self
=
$
(
this
)
if
(
_self
.
attr
(
"data-type2"
)
==
1
){
if
(
_self
.
attr
(
"data-type2"
)
==
1
){
layer
.
open
({
layer
.
open
({
type
:
2
,
type
:
2
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment