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
f1c6bb23
authored
Sep 05, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
d05c4391
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
room/css/room.css
room/css/room.less
room/liveRoom.html
room/css/room.css
View file @
f1c6bb23
...
...
@@ -36,6 +36,10 @@
top
:
-120px
!important
;
}
}
.more-live-poster
{
width
:
268px
;
height
:
268px
;
}
@media
screen
and
(
min-width
:
2400px
)
{
body
.big-room-box
{
transform
:
scale
(
1.3
);
...
...
room/css/room.less
View file @
f1c6bb23
...
...
@@ -38,6 +38,10 @@
top: -120px !important;
}
}
.more-live-poster{
width: 268px;
height: 268px;
}
@media screen and (min-width: 2400px) {
body{
.big-room-box{
...
...
room/liveRoom.html
View file @
f1c6bb23
...
...
@@ -42,7 +42,7 @@
<div
class=
"live-m"
>
<div
style=
"height: 60px;"
></div>
<div
class=
"mc-material-box"
>
<img
class=
"mc-material-face"
src=
"images/face.png"
alt=
""
>
<img
class=
"mc-material-face"
src=
"images/face.png"
alt=
"
絲襪美女直播
"
>
<div
class=
"mc-material-content"
>
<!-- <span class="mc-name">今天吃什麼呢</span>
<div class="like-btn"></div>
...
...
@@ -481,14 +481,14 @@ $(function () {
var
guardShowOk
=
null
;
var
richType
=
1
var
layzT
=
true
;
3
liveList
(
1
)
$
(
window
).
on
(
"scroll"
,
function
(){
if
(
layzT
==
true
){
layzT
=
false
if
(
$
(
document
).
scrollTop
()
>
400
){
$
(
window
).
unbind
(
"scroll"
)
for
(
var
i
=
0
;
i
<
$
(
".more-live-ul li"
).
length
;
i
++
){
$
(
".more-live-ul li"
).
eq
(
i
).
c
ss
(
"background"
,
"url("
+
$
(
".more-live-ul li"
).
eq
(
i
).
attr
(
"data-type"
)
+
")
"
)
$
(
".more-live-ul li"
).
eq
(
i
).
c
hildren
(
".more-live-poster"
).
attr
(
"src"
,
""
+
$
(
".more-live-ul li"
).
eq
(
i
).
attr
(
"data-type"
)
+
"
"
)
}
$
(
".more-live-ul li"
).
css
(
"background-size"
,
"cover"
)
}
...
...
@@ -706,7 +706,7 @@ $(function () {
hotList()
richGuard(0)
giftList(1)
liveList(1)
richMouse()
hotMouse()
guardList()
...
...
@@ -1767,10 +1767,11 @@ $(function () {
for
(
var
i
=
0
;
i
<
data
.
roomList
.
length
;
i
++
){
var
list
=
data
.
roomList
[
i
]
if
(
list
.
roomId
==
sessionStorage
.
roomId
)
continue
;
html
+=
'
<
a
href
=
"https://www.footseen.xyz/room/liveRoom.html?roomId='+list.roomId+'"
><
li
data
-
type
=
"https://zhibocdn.yabolive.net/comm'+list.face.split('?')[0]+'?x-oss-process=image/resize,w_268"
style
=
"background:#fff
;background-size: cover;"
>
';
html
+=
'
<
a
title
=
'+keyEArr[Math.floor(Math.random()*200)]+'
href
=
"https://www.footseen.xyz/room/liveRoom.html?roomId='+list.roomId+'"
><
li
data
-
type
=
"https://zhibocdn.yabolive.net/comm'+list.face.split('?')[0]+'?x-oss-process=image/resize,w_268"
style
=
"background:#E5E5E5
;background-size: cover;"
>
';
if(list.liveScope==3&&list.selfLock==1)html+='
<
img
class
=
"lock"
src
=
"../images/Lock-ok.png"
>
';
else if(list.liveScope==3&&list.selfLock==0)html+='
<
img
class
=
"lock"
src
=
"../images/Lock-no.png"
>
';
html+='
<
img
class
=
"move-live-online"
src
=
"images/live.png"
alt
=
""
>
';
html+='
<
img
class
=
"move-live-online"
src
=
"images/live.png"
alt
=
"直播中"
>
';
html+='
<
img
class
=
"more-live-poster"
src
=
"images/face.png"
alt
=
"'+list.introduce+'"
>
'
html+='
<
div
class
=
"more-live-name"
>
'+list.nickname+'
<
/div>'
;
html
+=
'
<
div
class
=
"more-live-li-shadow"
><
/div>'
;
html
+=
'
<
div
class
=
"live-top-shadow2"
><
/div>
'
...
...
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