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
6b3e400f
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
e17a64ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
7 deletions
mTest/room/css/liveRoom.css
mTest/room/css/liveRoom.less
mTest/room/liveRoom.html
mTest/room/css/liveRoom.css
View file @
6b3e400f
...
...
@@ -758,11 +758,46 @@
bottom
:
3rem
;
}
.room-bg
{
width
:
10
0vw
;
width
:
10
rem
;
position
:
fixed
;
top
:
0rem
;
height
:
99vh
;
overflow
:
hidden
;
}
.top-bg-box
{
position
:
absolute
;
top
:
-100vh
;
width
:
10rem
;
height
:
100vh
;
background
:
rgba
(
0
,
0
,
0
,
0.2
);
}
.top-bg-box
img
{
position
:
absolute
;
width
:
20rem
;
height
:
20rem
;
z-index
:
-1
;
left
:
-5rem
;
top
:
50%
;
margin-top
:
-10rem
;
opacity
:
0.5
;
filter
:
blur
(
0.4rem
);
}
.bottom-bg-box
{
position
:
absolute
;
width
:
10rem
;
height
:
100vh
;
top
:
100vh
;
background
:
rgba
(
0
,
0
,
0
,
0.2
);
}
.bottom-bg-box
img
{
position
:
absolute
;
width
:
20rem
;
height
:
20rem
;
z-index
:
-1
;
left
:
-5rem
;
top
:
50%
;
margin-top
:
-10rem
;
opacity
:
0.5
;
filter
:
blur
(
0.4rem
);
}
.layer-ios
{
display
:
none
;
...
...
This diff is collapsed.
Click to expand it.
mTest/room/css/liveRoom.less
View file @
6b3e400f
...
...
@@ -783,13 +783,49 @@
bottom: 3rem;
}
.room-bg{
width: 10
0vw
;
width: 10
rem
;
position: fixed;
top: 0rem;
height: 99vh;
overflow: hidden;
//
overflow: hidden;
// transition: 0.35s all;
}
.top-bg-box{
position: absolute;
top: -100vh;
width: 10rem;
height: 100vh;
background: rgba(0, 0, 0, 0.2);
img{
position: absolute;
width: 20rem;
height: 20rem;
z-index: -1;
left: -5rem;
top: 50%;
margin-top: -10rem;
opacity: 0.5;
filter: blur(0.4rem);
}
}
.bottom-bg-box{
position: absolute;
width: 10rem;
height: 100vh;
top: 100vh;
background: rgba(0, 0, 0, 0.2);
img{
position: absolute;
width: 20rem;
height: 20rem;
z-index: -1;
left: -5rem;
top: 50%;
margin-top: -10rem;
opacity: 0.5;
filter: blur(0.4rem);
}
}
.layer-ios{
display: none;
width: 7.3rem;
...
...
This diff is collapsed.
Click to expand it.
mTest/room/liveRoom.html
View file @
6b3e400f
...
...
@@ -1174,26 +1174,33 @@ $(function(){
},
500
);
return
;
}
var
bottomNum
var
topNum
for
(
var
i
=
0
;
i
<
data
.
roomList
.
length
;
i
++
){
var
list
=
data
.
roomList
[
i
]
// list.roomId
if
(
list
.
roomId
==
sessionStorage
.
roomId
){
if
(
i
+
1
==
data
.
roomList
.
length
){
BottomRoomId
=
data
.
roomList
[
0
].
roomId
bottomNum
=
0
}
else
{
BottomRoomId
=
data
.
roomList
[
i
+
1
].
roomId
bottomNum
=
(
i
+
1
)
}
if
(
i
==
0
){
topRoomId
=
data
.
roomList
[
data
.
roomList
.
length
-
1
].
roomId
topNum
=
data
.
roomList
.
length
-
1
}
else
{
topRoomId
=
data
.
roomList
[
i
-
1
].
roomId
topNum
=
(
i
-
1
)
}
if
(
data
.
roomList
.
length
==
1
){
topRoomId
=
list
.
roomId
BottomRoomId
=
list
.
roomId
bottomNum
=
0
topNum
=
0
}
}
...
...
@@ -1202,8 +1209,11 @@ $(function(){
topRoomId
=
data
.
roomList
[
0
].
roomId
BottomRoomId
=
data
.
roomList
[
1
].
roomId
}
var
html
=
[];
html
+=
'
<
div
class
=
"top-bg-box"
>
<
img
src
=
"https://zhibocdn.yabolive.net/comm'+data.roomList[topNum].face+'?x-oss-process=image/resize,w_350"
>
<
/div>'
;
html
+=
'
<
div
class
=
"bottom-bg-box"
>
<
img
src
=
"https://zhibocdn.yabolive.net/comm'+data.roomList[bottomNum].face+'?x-oss-process=image/resize,w_350"
>
<
/div>'
;
$
(
".room-bg"
).
append
(
html
)
}
})
}
...
...
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