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
d40b42d1
authored
Feb 23, 2023
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
f158c704
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletions
mobile/room/liveRoom.html
mobile/room/liveRoom.html
View file @
d40b42d1
...
@@ -1332,6 +1332,9 @@ $(function(){
...
@@ -1332,6 +1332,9 @@ $(function(){
html
+=
'
<
/li>'
;
html
+=
'
<
/li>'
;
}
}
$
(
".hot-list-ul"
).
html
(
html
)
$
(
".hot-list-ul"
).
html
(
html
)
$
(
".hot-li-face"
).
unbind
(
"error"
).
on
(
"error"
,
function
(){
$
(
this
).
attr
(
"src"
,
"images/boy.png"
)
})
}
}
})
})
}
}
...
@@ -1369,6 +1372,9 @@ $(function(){
...
@@ -1369,6 +1372,9 @@ $(function(){
}
}
}
}
$
(
".hot-list-ul"
).
html
(
html
)
$
(
".hot-list-ul"
).
html
(
html
)
$
(
".bottom-mc-face,.hot-li-face"
).
unbind
(
"error"
).
on
(
"error"
,
function
(){
$
(
this
).
attr
(
"src"
,
"images/boy.png"
)
})
if
(
myGoing
==
false
)
$
(
".hot-list-ul"
).
css
(
"height"
,
"9.6rem"
)
if
(
myGoing
==
false
)
$
(
".hot-list-ul"
).
css
(
"height"
,
"9.6rem"
)
$
(
".question-icon"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".question-icon"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
layer
.
open
({
layer
.
open
({
...
@@ -1420,6 +1426,9 @@ $(function(){
...
@@ -1420,6 +1426,9 @@ $(function(){
}
}
}
}
$
(
".hot-list-ul"
).
html
(
html
)
$
(
".hot-list-ul"
).
html
(
html
)
$
(
".bottom-mc-face,.hot-li-face"
).
unbind
(
"error"
).
on
(
"error"
,
function
(){
$
(
this
).
attr
(
"src"
,
"images/boy.png"
)
})
if
(
myGoing
==
false
)
$
(
".hot-list-ul"
).
css
(
"height"
,
"9.6rem"
)
if
(
myGoing
==
false
)
$
(
".hot-list-ul"
).
css
(
"height"
,
"9.6rem"
)
$
(
".question-icon"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".question-icon"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
layer
.
open
({
layer
.
open
({
...
@@ -1463,6 +1472,9 @@ $(function(){
...
@@ -1463,6 +1472,9 @@ $(function(){
if
(
data
.
dataList
.
length
<
10
)
$
(
".room-user-ul"
).
css
(
"width"
,
data
.
dataList
.
length
+
'rem'
)
if
(
data
.
dataList
.
length
<
10
)
$
(
".room-user-ul"
).
css
(
"width"
,
data
.
dataList
.
length
+
'rem'
)
else
$
(
".room-user-ul"
).
css
(
"width"
,
'10rem'
)
else
$
(
".room-user-ul"
).
css
(
"width"
,
'10rem'
)
$
(
".room-user-ul"
).
html
(
html
);
$
(
".room-user-ul"
).
html
(
html
);
$
(
".room-user-ul li img"
).
unbind
(
"error"
).
on
(
"error"
,
function
(){
$
(
this
).
attr
(
"src"
,
"images/boy.png"
)
})
$
(
".room-user-ul li"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".room-user-ul li"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
var
_self
=
$
(
this
)
if
(
_self
.
attr
(
"data-type"
)
<
0
){
if
(
_self
.
attr
(
"data-type"
)
<
0
){
...
@@ -1485,7 +1497,7 @@ $(function(){
...
@@ -1485,7 +1497,7 @@ $(function(){
pageID
:
localStorage
.
canvasCode
,
pageID
:
localStorage
.
canvasCode
,
},
},
success
:
function
(
data
)
{
success
:
function
(
data
)
{
//
console.log('萤火榜单', data)
console
.
log
(
'萤火榜单'
,
data
)
if
(
data
.
code
==-
7002
){
if
(
data
.
code
==-
7002
){
$
(
".rich-list-ul"
).
html
(
'
<
p
>
暫時沒有收穫羽毛
<
/p>'
)
$
(
".rich-list-ul"
).
html
(
'
<
p
>
暫時沒有收穫羽毛
<
/p>'
)
}
}
...
@@ -1510,6 +1522,9 @@ $(function(){
...
@@ -1510,6 +1522,9 @@ $(function(){
html
+=
'
<
/li>'
;
html
+=
'
<
/li>'
;
}
}
$
(
".rich-list-ul"
).
html
(
html
)
$
(
".rich-list-ul"
).
html
(
html
)
$
(
".rich-li-face"
).
unbind
(
"error"
).
on
(
"error"
,
function
(){
$
(
this
).
attr
(
"src"
,
"images/boy.png"
)
})
if
(
data
.
myrank
>
0
)
$
(
".rich-list-top-text2 span"
).
text
(
data
.
myrank
)
if
(
data
.
myrank
>
0
)
$
(
".rich-list-top-text2 span"
).
text
(
data
.
myrank
)
else
$
(
".rich-list-top-text2 span"
).
text
(
'暂未上榜'
)
else
$
(
".rich-list-top-text2 span"
).
text
(
'暂未上榜'
)
$
(
".rich-li-face"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".rich-li-face"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
...
...
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