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
a29d729f
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
7e3347c7
master
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
room/liveRoom.html
room/liveRoom.html
View file @
a29d729f
...
...
@@ -505,38 +505,47 @@ $(function () {
}
var
mcKeyArr
if
(
data
.
room
.
rating
==
0
||
data
.
room
.
rating
==
1
){
$
(
"title"
).
text
(
data
.
room
.
introduce
+
'-'
+
data
.
room
.
roomName
+
'的直播間-'
+
keyAArr
[
Number
(
sessionStorage
.
roomId
)
%
200
])
//A類
mcKeyArr
=
[
keyAArr
[
Math
.
floor
(
Math
.
random
()
*
keyAArr
.
length
)],
keyAArr
[
Math
.
floor
(
Math
.
random
()
*
keyAArr
.
length
)],
keyAArr
[
Math
.
floor
(
Math
.
random
()
*
keyAArr
.
length
)]]
}
else
if
(
data
.
room
.
rating
==
5
){
$
(
"title"
).
text
(
data
.
room
.
introduce
+
'-'
+
data
.
room
.
roomName
+
'的直播間-'
+
keyEArr
[
Number
(
sessionStorage
.
roomId
)
%
200
])
//E類
if
(
data
.
room
.
specialRating
==
551
)
mcKeyArr
=
[
keyE1Arr
[
Math
.
floor
(
Math
.
random
()
*
keyE1Arr
.
length
)],
keyE1Arr
[
Math
.
floor
(
Math
.
random
()
*
keyE1Arr
.
length
)],
keyE1Arr
[
Math
.
floor
(
Math
.
random
()
*
keyE1Arr
.
length
)]]
else
if
(
data
.
room
.
specialRating
==
552
)
mcKeyArr
=
[
keyE2Arr
[
Math
.
floor
(
Math
.
random
()
*
keyE2Arr
.
length
)],
keyE2Arr
[
Math
.
floor
(
Math
.
random
()
*
keyE2Arr
.
length
)],
keyE2Arr
[
Math
.
floor
(
Math
.
random
()
*
keyE2Arr
.
length
)]]
else
mcKeyArr
=
[
keyEArr
[
Math
.
floor
(
Math
.
random
()
*
keyEArr
.
length
)],
keyEArr
[
Math
.
floor
(
Math
.
random
()
*
keyEArr
.
length
)],
keyEArr
[
Math
.
floor
(
Math
.
random
()
*
keyEArr
.
length
)]]
}
else
if
(
data
.
room
.
rating
==
6
){
$
(
"title"
).
text
(
data
.
room
.
introduce
+
'-'
+
data
.
room
.
roomName
+
'的直播間-'
+
keyF1Arr
[
Number
(
sessionStorage
.
roomId
)
%
200
])
//F類
if
(
data
.
room
.
specialRating
==
661
)
mcKeyArr
=
[
keyF1Arr
[
Math
.
floor
(
Math
.
random
()
*
keyF1Arr
.
length
)],
keyF1Arr
[
Math
.
floor
(
Math
.
random
()
*
keyF1Arr
.
length
)],
keyF1Arr
[
Math
.
floor
(
Math
.
random
()
*
keyF1Arr
.
length
)]]
else
mcKeyArr
=
[
keyFArr
[
Math
.
floor
(
Math
.
random
()
*
keyFArr
.
length
)],
keyFArr
[
Math
.
floor
(
Math
.
random
()
*
keyFArr
.
length
)],
keyFArr
[
Math
.
floor
(
Math
.
random
()
*
keyFArr
.
length
)]]
}
else
if
(
data
.
room
.
rating
==
7
){
$
(
"title"
).
text
(
data
.
room
.
introduce
+
'-'
+
data
.
room
.
roomName
+
'的直播間-'
+
keyZArr
[
Number
(
sessionStorage
.
roomId
)
%
200
])
//Z類
mcKeyArr
=
[
keyZArr
[
Math
.
floor
(
Math
.
random
()
*
keyZArr
.
length
)],
keyZArr
[
Math
.
floor
(
Math
.
random
()
*
keyZArr
.
length
)],
keyZArr
[
Math
.
floor
(
Math
.
random
()
*
keyZArr
.
length
)]]
}
else
if
(
data
.
room
.
rating
==
8
){
$
(
"title"
).
text
(
data
.
room
.
introduce
+
'-'
+
data
.
room
.
roomName
+
'的直播間-'
+
keyHArr
[
Number
(
sessionStorage
.
roomId
)
%
200
])
//H類
mcKeyArr
=
[
keyHArr
[
Math
.
floor
(
Math
.
random
()
*
keyHArr
.
length
)],
keyHArr
[
Math
.
floor
(
Math
.
random
()
*
keyHArr
.
length
)],
keyHArr
[
Math
.
floor
(
Math
.
random
()
*
keyHArr
.
length
)]]
}
else
if
(
data
.
room
.
rating
==
22
){
$
(
"title"
).
text
(
data
.
room
.
introduce
+
'-'
+
data
.
room
.
roomName
+
'的直播間-'
+
keyVArr
[
Number
(
sessionStorage
.
roomId
)
%
200
])
//V類
mcKeyArr
=
[
keyVArr
[
Math
.
floor
(
Math
.
random
()
*
keyVArr
.
length
)],
keyVArr
[
Math
.
floor
(
Math
.
random
()
*
keyVArr
.
length
)],
keyVArr
[
Math
.
floor
(
Math
.
random
()
*
keyVArr
.
length
)]]
}
else
{
$
(
"title"
).
text
(
data
.
room
.
introduce
+
'-'
+
data
.
room
.
roomName
+
'的直播間-'
+
keyEArr
[
Number
(
sessionStorage
.
roomId
)
%
200
])
mcKeyArr
=
[
keyEArr
[
Math
.
floor
(
Math
.
random
()
*
keyEArr
.
length
)],
keyEArr
[
Math
.
floor
(
Math
.
random
()
*
keyEArr
.
length
)],
keyEArr
[
Math
.
floor
(
Math
.
random
()
*
keyEArr
.
length
)]]
}
$
(
"title"
).
text
(
data
.
room
.
introduce
+
'-'
+
data
.
room
.
roomName
+
'的直播間-'
+
mcKeyArr
[
0
])
$
(
".description"
).
attr
(
"content"
,
'來自'
+
data
.
roomBaseInfo
.
addr
.
replace
(
" 中國大陸"
,
"臺北"
)
+
'的'
+
data
.
roomBaseInfo
.
work
+
'-'
+
data
.
roomBaseInfo
.
sign
.
replace
(
"Firefly Live"
,
"Footseen"
)
+
'-'
+
data
.
room
.
introduce
)
$
(
".keywords-meta"
).
attr
(
"content"
,
''
+
mcKeyArr
[
0
]
+
','
+
mcKeyArr
[
1
]
+
','
+
mcKeyArr
[
2
]
+
','
+
data
.
roomBaseInfo
.
nickname
+
''
)
if
(
data
.
room
.
liveScope
==
3
&&
data
.
room
.
selfLock
==
0
&&
localStorage
.
uid
!=
sessionStorage
.
roomId
){
...
...
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