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
737b1a1d
authored
a year ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
b7aa8c7f
master
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
9 deletions
mobile/room/liveRoom.html
mobile/room/liveRoom.html
View file @
737b1a1d
...
...
@@ -3030,6 +3030,7 @@ $(function(){
if
(
list
.
content
.
type
==
1
){
var
html
=
[];
if
(
list
.
content
.
isrobot
==
true
&&
list
.
content
.
nickname
.
indexOf
(
"遊客"
)
==-
1
)
return
;
//vip用戶
if
(
list
.
content
.
lv
>
0
&&
list
.
content
.
vipInfo
.
isVip
==
true
){
if
(
list
.
content
.
lv
>
30
&&
list
.
content
.
lv
<
41
)
var
vipImgNum
=
2
if
(
list
.
content
.
lv
>
40
&&
list
.
content
.
lv
<
46
)
var
vipImgNum
=
3
...
...
@@ -3037,22 +3038,48 @@ $(function(){
if
(
list
.
content
.
lv
>
50
&&
list
.
content
.
lv
<
52
)
var
vipImgNum
=
5
if
(
list
.
content
.
lv
>=
52
)
var
vipImgNum
=
5
html
+=
'
<
div
class
=
"system-msg"
><
span
data
-
type
=
'+list.content.uid+'
class
=
"user-name user-name-color'+vipImgNum+'"
><
img
class
=
"user-level-icon"
src
=
"https://app.ixiulive.com/static/vip/'+list.content.lv+'.png"
alt
=
""
>
'+list.content.nickname+'
<
/span>'+langRoom
[
sessionStorage.lang
]
.roomJsTxt22+''+list.content.country+'</
div
>
'
$
(
".user-msg-big"
).
prepend
(
html
);
$
(
".user-msg-name,.user-name"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
if
(
_self
.
attr
(
"data-type"
)
<
0
){
return
;
}
cardUp
(
_self
.
attr
(
"data-type"
))
})
}
//儲值用戶
else
if
(
list
.
content
.
lv
>
0
){
html
+=
'
<
div
class
=
"system-msg"
><
span
data
-
type
=
'+list.content.uid+'
class
=
"user-name"
>
'+list.content.nickname+'
<
/span>'+langRoom
[
sessionStorage.lang
]
.roomJsTxt22+''+list.content.country+'</
div
>
'
$
(
".user-msg-big"
).
prepend
(
html
);
$
(
".user-msg-name,.user-name"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
if
(
_self
.
attr
(
"data-type"
)
<
0
){
return
;
}
cardUp
(
_self
.
attr
(
"data-type"
))
})
}
//一般用戶
else
{
if(Math.random()>0.5||list.content.uid==localStorage.uid)html+='
<
div
class
=
"system-msg"
><
span
data
-
type
=
'+list.content.uid+'
class
=
"user-name"
>
'+list.content.nickname+'
<
/span>'+langRoom
[
sessionStorage.lang
]
.roomJsTxt22+''+list.content.country+'</
div
>
'
if
(
Math
.
random
()
>
0.9
||
list
.
content
.
uid
==
localStorage
.
uid
){
html
+=
'
<
div
class
=
"system-msg"
><
span
data
-
type
=
'+list.content.uid+'
class
=
"user-name"
>
'+list.content.nickname+'
<
/span>'+langRoom
[
sessionStorage.lang
]
.roomJsTxt22+''+list.content.country+'</
div
>
'
$
(
".user-msg-big"
).
prepend
(
html
);
$
(
".user-msg-name,.user-name"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
if
(
_self
.
attr
(
"data-type"
)
<
0
){
return
;
}
cardUp
(
_self
.
attr
(
"data-type"
))
})
}
}
$
(
".user-msg-big"
).
prepend
(
html
);
if
(
localStorage
.
uid
==
list
.
content
.
uid
){
myMsg
=
true
}
$
(
".user-msg-name,.user-name"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
if
(
_self
.
attr
(
"data-type"
)
<
0
){
return
;
}
cardUp
(
_self
.
attr
(
"data-type"
))
})
// var richLv=0
// //vip開通特效
// if(list.content.vipInfo.isVip==true){
...
...
@@ -3197,6 +3224,7 @@ $(function(){
}
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
if
(
myMsg
){
$
(
".user-msg-box"
).
scrollTop
(
0
)
// return;
...
...
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