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
46b3a0a0
authored
Jun 20, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
79e2177c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
138 additions
and
75 deletions
yazhaiTest/css/login.css
yazhaiTest/css/login.less
yazhaiTest/css/neck.css
yazhaiTest/css/neck.less
yazhaiTest/lib/login.js
yazhaiTest/pc.html
yazhaiTest/room/liveRoom.html
yazhaiTest/css/login.css
View file @
46b3a0a0
...
@@ -496,3 +496,38 @@
...
@@ -496,3 +496,38 @@
color
:
#AAAAAA
;
color
:
#AAAAAA
;
margin-top
:
8px
;
margin-top
:
8px
;
}
}
.neck-nav-ul
{
width
:
498px
;
height
:
60px
;
margin-left
:
235px
;
}
.neck-nav-ul
li
{
width
:
83px
;
float
:
left
;
text-align
:
center
;
line-height
:
60px
;
color
:
#FFFFFF
;
position
:
relative
;
transition
:
0.1s
all
;
}
.neck-nav-ul
li
span
{
cursor
:
pointer
;
}
.neck-nav-ul
li
>
img
{
position
:
absolute
;
bottom
:
12px
;
width
:
19px
;
left
:
50%
;
margin-left
:
-9px
;
display
:
none
;
}
.neck-nav-ul
.neck-nav-li-click
{
font-size
:
20px
;
}
.neck-nav-ul
.neck-nav-li-click
>
span
{
position
:
relative
;
top
:
-3px
;
}
.neck-nav-ul
.neck-nav-li-click
>
img
{
display
:
block
;
}
yazhaiTest/css/login.less
View file @
46b3a0a0
...
@@ -514,4 +514,39 @@
...
@@ -514,4 +514,39 @@
font-size: 14px;
font-size: 14px;
color: #AAAAAA;
color: #AAAAAA;
margin-top: 8px;
margin-top: 8px;
}
.neck-nav-ul{
width: 498px;
height: 60px;
margin-left: 235px;
li{
width: 83px;
float: left;
text-align: center;
line-height: 60px;
color: #FFFFFF;
position: relative;
transition: 0.1s all;
span{
cursor: pointer;
}
>img{
position: absolute;
bottom: 12px;
width: 19px;
left: 50%;
margin-left: -9px;
display: none;
}
}
.neck-nav-li-click{
font-size: 20px;
>span{
position: relative;
top: -3px;
}
>img{
display: block;
}
}
}
}
\ No newline at end of file
yazhaiTest/css/neck.css
View file @
46b3a0a0
...
@@ -430,41 +430,6 @@ body::-webkit-scrollbar {
...
@@ -430,41 +430,6 @@ body::-webkit-scrollbar {
font-size
:
18px
;
font-size
:
18px
;
padding-top
:
20px
;
padding-top
:
20px
;
}
}
.neck-nav-ul
{
width
:
498px
;
height
:
60px
;
margin-left
:
235px
;
}
.neck-nav-ul
li
{
width
:
83px
;
float
:
left
;
text-align
:
center
;
line-height
:
60px
;
color
:
#FFFFFF
;
position
:
relative
;
transition
:
0.1s
all
;
}
.neck-nav-ul
li
span
{
cursor
:
pointer
;
}
.neck-nav-ul
li
>
img
{
position
:
absolute
;
bottom
:
12px
;
width
:
19px
;
left
:
50%
;
margin-left
:
-9px
;
display
:
none
;
}
.neck-nav-ul
.neck-nav-li-click
{
font-size
:
20px
;
}
.neck-nav-ul
.neck-nav-li-click
>
span
{
position
:
relative
;
top
:
-3px
;
}
.neck-nav-ul
.neck-nav-li-click
>
img
{
display
:
block
;
}
.more-shadow
{
.more-shadow
{
width
:
100vw
;
width
:
100vw
;
position
:
fixed
;
position
:
fixed
;
...
...
yazhaiTest/css/neck.less
View file @
46b3a0a0
...
@@ -452,41 +452,7 @@
...
@@ -452,41 +452,7 @@
padding-top: 20px;
padding-top: 20px;
}
}
}
}
.neck-nav-ul{
width: 498px;
height: 60px;
margin-left: 235px;
li{
width: 83px;
float: left;
text-align: center;
line-height: 60px;
color: #FFFFFF;
position: relative;
transition: 0.1s all;
span{
cursor: pointer;
}
>img{
position: absolute;
bottom: 12px;
width: 19px;
left: 50%;
margin-left: -9px;
display: none;
}
}
.neck-nav-li-click{
font-size: 20px;
>span{
position: relative;
top: -3px;
}
>img{
display: block;
}
}
}
.more-shadow{
.more-shadow{
width: 100vw;
width: 100vw;
position: fixed;
position: fixed;
...
...
yazhaiTest/lib/login.js
View file @
46b3a0a0
This diff is collapsed.
Click to expand it.
yazhaiTest/pc.html
View file @
46b3a0a0
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<script>
var
indexOk
=
1
;
</script>
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
/>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
/>
...
@@ -320,6 +322,7 @@ $(function(){
...
@@ -320,6 +322,7 @@ $(function(){
var
sortNum
=-
1
var
sortNum
=-
1
var
dayNum
=-
1
var
dayNum
=-
1
var
canvasCode
=-
1
var
canvasCode
=-
1
jumpGo
()
var
fp
=
new
Fingerprint2
()
var
fp
=
new
Fingerprint2
()
if
(
sessionStorage
.
like
==
1
){
if
(
sessionStorage
.
like
==
1
){
$
(
".tag-big-box"
).
hide
()
$
(
".tag-big-box"
).
hide
()
...
@@ -411,7 +414,6 @@ $(function(){
...
@@ -411,7 +414,6 @@ $(function(){
$
(
".like-box"
).
hide
()
$
(
".like-box"
).
hide
()
$
(
".mc-list-box"
).
show
()
$
(
".mc-list-box"
).
show
()
$
(
".video-list-box"
).
show
()
$
(
".video-list-box"
).
show
()
pageNumber
=
1
pageNumber
=
1
typeNum
=
1
typeNum
=
1
tagNum
=
''
tagNum
=
''
...
@@ -743,7 +745,64 @@ $(function(){
...
@@ -743,7 +745,64 @@ $(function(){
}
}
})
})
}
}
function
jumpGo
(){
if
(
data
.
jump
==
2
){
$
(
".neck-nav-ul li"
).
removeClass
(
"neck-nav-li-click"
)
$
(
".neck-nav-ul li"
).
eq
(
data
.
jump
-
1
).
addClass
(
"neck-nav-li-click"
)
$
(
".images-list-box"
).
hide
()
$
(
".video-list-box"
).
hide
()
$
(
".mc-list-box"
).
show
()
$
(
".tag-big-box"
).
hide
()
$
(
".like-box"
).
hide
()
liveList
(
1
)
}
if
(
data
.
jump
==
3
){
$
(
".tag-big-box"
).
hide
()
$
(
".mc-list-box"
).
hide
()
$
(
".video-list-box"
).
hide
()
$
(
".images-list-box"
).
hide
()
$
(
".like-box"
).
show
()
likeList
()
}
if
(
data
.
jump
==
4
){
$
(
".side-nav"
).
show
()
scrollOk
=
true
;
pageNumber
=
1
typeNum
=
1
tagNum
=
''
timeNum
=-
1
sortNum
=-
1
dayNum
=-
1
$
(
".tag-big-box"
).
show
()
$
(
".side-tag-ul li"
).
removeClass
(
"tag-click"
)
$
(
".mc-list-box"
).
hide
()
$
(
".images-list-box"
).
hide
()
$
(
".like-box"
).
hide
()
$
(
".video-list-box"
).
show
()
getTopics
(
1
,
typeNum
,
tagNum
,
timeNum
,
sortNum
,
dayNum
)
}
if
(
data
.
jump
==
5
){
$
(
".side-nav"
).
show
()
scrollOk
=
true
;
pageNumber
=
1
typeNum
=
2
tagNum
=
''
timeNum
=-
1
sortNum
=-
1
dayNum
=-
1
$
(
".tag-big-box"
).
show
()
$
(
".side-tag-ul li"
).
removeClass
(
"tag-click"
)
$
(
".mc-list-box"
).
hide
()
$
(
".video-list-box"
).
hide
()
$
(
".like-box"
).
hide
()
$
(
".images-list-box"
).
show
()
getTopics
(
1
,
typeNum
,
tagNum
,
timeNum
,
sortNum
,
dayNum
)
}
if
(
data
.
jump
==
6
){
$
(
".m-box"
).
hide
()
$
(
".down-box"
).
show
()
}
}
})
})
</script>
</script>
</html>
</html>
\ No newline at end of file
yazhaiTest/room/liveRoom.html
View file @
46b3a0a0
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
<div
class=
"neck-nav-content"
>
<div
class=
"neck-nav-content"
>
<a
href=
"https://www.footseen.xyz/yazhaiTest/pc.html"
><img
class=
"logo"
src=
"../images/logo.png"
alt=
""
></a>
<a
href=
"https://www.footseen.xyz/yazhaiTest/pc.html"
><img
class=
"logo"
src=
"../images/logo.png"
alt=
""
></a>
<div
class=
"nav-login-big-box"
></div>
<div
class=
"nav-login-big-box"
></div>
</div>
</div>
</div>
</div>
<div
class=
"live-m"
>
<div
class=
"live-m"
>
...
@@ -680,14 +681,14 @@ $(function () {
...
@@ -680,14 +681,14 @@ $(function () {
var
html
=
[];
var
html
=
[];
html
+=
'
<
video
controls
webkit
-
playsinline
=
"true"
playsinline
=
"true"
autoplay
=
""
playsinline
=
"true"
class
=
"live-video"
src
=
""
id
=
"videoElement"
loop
=
""
><
/video>'
;
html
+=
'
<
video
controls
webkit
-
playsinline
=
"true"
playsinline
=
"true"
autoplay
=
""
playsinline
=
"true"
class
=
"live-video"
src
=
""
id
=
"videoElement"
loop
=
""
><
/video>'
;
$
(
".live-content-box-left-roombox"
).
html
(
html
)
$
(
".live-content-box-left-roombox"
).
html
(
html
)
flvPlay
(
data
.
pullFlowUrl
.
replace
(
"http"
,
"https"
)
)
flvPlay
(
data
.
pullFlowUrl
)
// Autoplay started!
// Autoplay started!
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
var
myVideo
=
document
.
querySelector
(
".live-video"
)
var
myVideo
=
document
.
querySelector
(
".live-video"
)
var
html
=
[];
var
html
=
[];
html
+=
'
<
video
controls
webkit
-
playsinline
=
"true"
muted
playsinline
=
"true"
autoplay
=
""
playsinline
=
"true"
class
=
"live-video"
src
=
""
id
=
"videoElement"
loop
=
""
><
/video>'
;
html
+=
'
<
video
controls
webkit
-
playsinline
=
"true"
muted
playsinline
=
"true"
autoplay
=
""
playsinline
=
"true"
class
=
"live-video"
src
=
""
id
=
"videoElement"
loop
=
""
><
/video>'
;
$
(
".live-content-box-left-roombox"
).
html
(
html
)
$
(
".live-content-box-left-roombox"
).
html
(
html
)
flvPlay
(
data
.
pullFlowUrl
.
replace
(
"http"
,
"https"
)
)
flvPlay
(
data
.
pullFlowUrl
)
// Autoplay was prevented.
// Autoplay was prevented.
// Show a "Play" button so that user can start playback.
// Show a "Play" button so that user can start playback.
...
...
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