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
ab7b6ea9
authored
Nov 25, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
e77379f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
mTest/css/index.css
mTest/css/index.less
mTest/index.html
mTest/css/index.css
View file @
ab7b6ea9
...
@@ -1252,6 +1252,7 @@
...
@@ -1252,6 +1252,7 @@
}
}
.first-login-btn
{
.first-login-btn
{
background
:
#FDEBF9
;
background
:
#FDEBF9
;
display
:
none
;
height
:
0.7rem
;
height
:
0.7rem
;
width
:
2.3rem
;
width
:
2.3rem
;
line-height
:
0.7rem
;
line-height
:
0.7rem
;
...
...
mTest/css/index.less
View file @
ab7b6ea9
...
@@ -1288,6 +1288,7 @@
...
@@ -1288,6 +1288,7 @@
}
}
.first-login-btn{
.first-login-btn{
background: #FDEBF9;
background: #FDEBF9;
display: none;
height: 0.7rem;
height: 0.7rem;
width: 2.3rem;
width: 2.3rem;
line-height: 0.7rem;
line-height: 0.7rem;
...
...
mTest/index.html
View file @
ab7b6ea9
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
<li
class=
"top-box-li-click"
>
直播
<img
class=
"click-img"
src=
"images/click.png"
alt=
""
></li>
<li
class=
"top-box-li-click"
>
直播
<img
class=
"click-img"
src=
"images/click.png"
alt=
""
></li>
<li>
影片
</li>
<li>
影片
</li>
</ul>
</ul>
<div
class=
"first-login-btn"
>
登
錄
/註冊
</div>
<div
class=
"first-login-btn"
>
登
入
/註冊
</div>
</div>
</div>
<div
style=
"height: 1.5rem;"
></div>
<div
style=
"height: 1.5rem;"
></div>
<ul
class=
"live-ul clearfix"
>
<ul
class=
"live-ul clearfix"
>
...
@@ -434,6 +434,17 @@ $(function(){
...
@@ -434,6 +434,17 @@ $(function(){
$
(
".add-button"
).
fadeOut
(
350
)
$
(
".add-button"
).
fadeOut
(
350
)
event
.
stopPropagation
();
event
.
stopPropagation
();
})
})
if
(
localStorage
.
uid
==
undefined
){
$
(
".first-login-btn"
).
show
()
$
(
".first-login-btn"
).
on
(
"click"
,
function
(){
if
(
localStorage
.
uid
==
undefined
){
$
(
".nav-shadow"
).
show
()
loginPage
()
return
}
})
}
$
(
".zone-top-btn"
).
on
(
"click"
,
function
(){
$
(
".zone-top-btn"
).
on
(
"click"
,
function
(){
window
.
location
.
href
=
"revise.html"
window
.
location
.
href
=
"revise.html"
})
})
...
@@ -747,8 +758,7 @@ $(function(){
...
@@ -747,8 +758,7 @@ $(function(){
var
list
=
data
.
roomList
[
i
]
var
list
=
data
.
roomList
[
i
]
html
+=
'
<
a
href
=
"room/liveRoom.html?roomId='+list.roomId+'&sound=1&v=2022112502&back=1"
><
li
data
-
type
=
"https://zhibocdn.yabolive.net/comm'+list.face.split("
?
")[0]+'?x-oss-process=image/resize,w_180"
>
';
html
+=
'
<
a
href
=
"room/liveRoom.html?roomId='+list.roomId+'&sound=1&v=2022112502&back=1"
><
li
data
-
type
=
"https://zhibocdn.yabolive.net/comm'+list.face.split("
?
")[0]+'?x-oss-process=image/resize,w_180"
>
';
if(list.liveScope==3)html+='
<
img
class
=
"secret"
src
=
"images/Lock-no.png"
alt
=
""
>
';
if(list.liveScope==3)html+='
<
img
class
=
"secret"
src
=
"images/Lock-no.png"
alt
=
""
>
';
if(list.liveScope!=3)html+='
<
div
class
=
"hot-num-box"
><
img
src
=
"images/hot.png"
><
span
>
'+list.onlinenum+'
<
/span></
div
>
';
if(list.onlinenum)html+='
<
div
class
=
"hot-num-box"
><
img
src
=
"images/hot.png"
><
span
>
'+list.onlinenum+'
<
/span></
div
>
';
// html+='
<
img
class
=
"live-li-face"
src
=
"images/layz.png"
alt
=
""
>
';
// html+='
<
img
class
=
"live-li-face"
src
=
"images/layz.png"
alt
=
""
>
';
html+='
<
img
class
=
"live-li-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.face.split("
?
")[0]+'?x-oss-process=image/resize,w_180"
alt
=
""
>
';
html+='
<
img
class
=
"live-li-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.face.split("
?
")[0]+'?x-oss-process=image/resize,w_180"
alt
=
""
>
';
html+='
<
div
class
=
"live-shadow"
><
/div>'
;
html+='
<
div
class
=
"live-shadow"
><
/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