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
198d186d
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
b51135ca
master
…
dev-替换FUSI安装包
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletions
mTest/index.html
mTest/index.html
View file @
198d186d
...
...
@@ -872,7 +872,39 @@ $(function(){
},
success
:
function
(
data
){
console
.
log
(
'直播列表'
,
data
)
var
html
=
[];
var
j
=
0
for
(
var
i
=
0
;
i
<
data
.
normalRoomList
.
length
;
i
++
){
var
list
=
data
.
normalRoomList
[
i
]
if
(
i
%
3
==
0
){
if
(
data
.
vipRoomList
[
j
]
==
undefined
)
break
;
list2
=
data
.
vipRoomList
[
j
]
j
++
html
+=
'
<
a
href
=
"room/liveRoom.html?roomId='+list2.roomId+'&sound=1&v=2022112502&back=1"
><
li
data
-
type
=
"https://zhibocdn.yabolive.net/comm'+list2.face.split("
?
")[0]+'?x-oss-process=image/resize,w_180"
>
';
if(list2.liveScope==3)html+='
<
img
class
=
"secret"
src
=
"images/Lock-no.png"
alt
=
""
>
';
if(list2.liveScope!=3)html+='
<
div
class
=
"hot-num-box"
><
img
src
=
"images/hot.png"
><
span
>
'+list2.onlinenum+'
<
/span></
div
>
';
// html+='
<
img
class
=
"live-li-face"
src
=
"images/layz.png"
alt
=
""
>
';
html+='
<
img
class
=
"live-li-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list2.face.split("
?
")[0]+'?x-oss-process=image/resize,w_300"
alt
=
""
>
';
html+='
<
div
class
=
"live-shadow"
><
/div>'
;
html
+=
'
<
div
class
=
"live-bottom-box"
>
';
html+='
<
p
>
'+list2.nickname+'
<
/p>'
;
html
+=
'
<
p
>
'+list2.introduce+'
<
/p>'
;
html
+=
'
<
/div>'
;
html
+=
'
<
/li></
a
>
';
}
html+='
<
a
href
=
"room/liveRoom.html?roomId='+list.roomId+'&sound=1&v=2022112502&back=1"
><
li
data
-
type
=
"https://zhibocdn.yabolive.net/comm'+list.face.split("
?
")[0]+'?x-oss-process=image/resize,w_180"
>
';
if(list.liveScope==3)html+='
<
img
class
=
"secret"
src
=
"images/Lock-no.png"
alt
=
""
>
';
if(list.liveScope!=3)html+='
<
div
class
=
"hot-num-box"
><
img
src
=
"images/hot.png"
><
span
>
'+list.onlinenum+'
<
/span></
div
>
';
// html+='
<
img
class
=
"live-li-face"
src
=
"images/layz.png"
alt
=
""
>
';
html+='
<
img
class
=
"live-li-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.face.split("
?
")[0]+'?x-oss-process=image/resize,w_300"
alt
=
""
>
';
html+='
<
div
class
=
"live-shadow"
><
/div>'
;
html
+=
'
<
div
class
=
"live-bottom-box"
>
';
html+='
<
p
>
'+list.nickname+'
<
/p>'
;
html
+=
'
<
p
>
'+list.introduce+'
<
/p>'
;
html
+=
'
<
/div>'
;
html
+=
'
<
/li></
a
>
';
}
$(".box1 .live-ul").html(html);
}
})
...
...
This diff is collapsed.
Click to expand it.
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