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
ddbbb2ef
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
13b76164
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
mTest/room/liveRoom.html
mTest/room/liveRoom.html
View file @
ddbbb2ef
...
...
@@ -1121,6 +1121,9 @@ $(function(){
BottomRoomId
=
list
.
roomId
}
}
else
{
topRoomId
=
data
.
roomList
[
0
].
roomId
BottomRoomId
=
data
.
roomList
[
1
].
roomId
}
}
...
...
@@ -1146,25 +1149,6 @@ $(function(){
else
$
(
".hot-list-top-text2 span"
).
text
(
data
.
hotResult
.
rank
)
for
(
var
i
=
0
;
i
<
data
.
ranklist
.
length
;
i
++
)
{
var
list
=
data
.
ranklist
[
i
]
if
(
list
.
uid
==
sessionStorage
.
roomId
){
if
(
i
+
1
==
data
.
ranklist
.
length
){
BottomRoomId
=
data
.
ranklist
[
0
].
uid
}
else
{
BottomRoomId
=
data
.
ranklist
[
i
+
1
].
uid
}
if
(
i
==
0
){
topRoomId
=
data
.
ranklist
[
data
.
ranklist
.
length
-
1
].
uid
}
else
{
topRoomId
=
data
.
ranklist
[
i
-
1
].
uid
}
if
(
data
.
ranklist
.
length
==
1
){
topRoomId
=
list
.
uid
BottomRoomId
=
list
.
uid
}
}
html
+=
'
<
li
>
';
html+='
<
div
class
=
"hot-list-li-box1"
>
'+(i+1)+'
<
/div>'
;
html
+=
'
<
div
class
=
"hot-list-li-box2"
>
';
...
...
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