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
fd064abe
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
24ad7f09
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
29 deletions
mTest/css/base.css
mTest/index.html
mTest/lib/login.js
mTest/room/liveRoom.html
mTest/css/base.css
View file @
fd064abe
...
...
@@ -68,4 +68,21 @@ input[type=number]::-webkit-outer-spin-button {
}
.layui-layer-close
{
display
:
none
!important
;
}
.add-button
{
position
:
fixed
;
width
:
10rem
;
height
:
1.92rem
;
background
:
url(../images/down-go.jpg)
no-repeat
;
background-size
:
100%
100%
;
bottom
:
0
;
left
:
0
;
z-index
:
650
;
}
.add-button-close
{
width
:
0.8rem
;
height
:
0.8rem
;
position
:
absolute
;
right
:
0rem
;
top
:
0rem
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
mTest/index.html
View file @
fd064abe
...
...
@@ -64,23 +64,7 @@
.yourclass6
.layui-layer-content
{
border-radius
:
0rem
!important
;
}
.add-button
{
position
:
fixed
;
width
:
10rem
;
height
:
1.92rem
;
background
:
url(images/down-go.jpg)
no-repeat
;
background-size
:
100%
100%
;
bottom
:
0
;
left
:
0
;
z-index
:
650
;
}
.add-button-close
{
width
:
0.8rem
;
height
:
0.8rem
;
position
:
absolute
;
right
:
0rem
;
top
:
0rem
;
}
</style>
</head>
<body
style=
"background: #d9d9d9"
>
...
...
This diff is collapsed.
Click to expand it.
mTest/lib/login.js
View file @
fd064abe
...
...
@@ -501,8 +501,8 @@ function loginPage(){
$
(
".right-nav"
).
css
(
"right"
,
"-8rem"
)
$
(
".login-box"
).
css
(
"bottom"
,
"0rem"
)
$
(
".login1,.login2,.register,.reset"
).
hide
()
googleLogin
()
$
(
".login-show"
).
show
()
googleLogin
()
}
$
(
'.twitter_btn'
).
on
(
'click'
,
function
()
{
...
...
This diff is collapsed.
Click to expand it.
mTest/room/liveRoom.html
View file @
fd064abe
...
...
@@ -34,6 +34,7 @@
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
<link
rel=
"stylesheet"
href=
"css/liveRoom.css?v=2022112216"
>
<link
rel=
"stylesheet"
href=
"../css/login.css?v=2022111808"
>
<link
rel=
"manifest"
href=
"../manifest.webmanifest?v=2022112308"
/>
<script
src=
"https://accounts.google.com/gsi/client"
async
defer
></script>
<script
async
defer
crossorigin=
"anonymous"
src=
"https://connect.facebook.net/en_US/sdk.js"
></script>
<script
src=
"../lib/hello.js"
></script>
...
...
@@ -66,6 +67,9 @@
</style>
</head>
<body
style=
"background: rgb(153, 156, 166);overflow: hidden;font-size: 12px;"
>
<button
class=
"add-button"
>
<div
class=
"add-button-close"
></div>
</button>
<div
class=
"guard-show-box"
>
<img
class=
"guard-show-webp"
src=
""
alt=
""
>
<img
class=
"guard-show-face"
src=
"https://zhibocdn.yabolive.net/comm/user/img/11136355/8e908aec05c04ea89542943b350958b8.jpg?oversea=1?mainland=1?x-oss-process=image/resize,w_45"
alt=
""
>
...
...
@@ -571,6 +575,7 @@
<!-- <script src="lib/fingerprint2.js"></script> -->
<script
src=
"../lib/login.js?v=2022111801"
></script>
<script
src=
"../lib/flv.js"
></script>
<script
src=
"../index.js?v=2022112398"
defer=
""
></script>
<script>
$
(
function
(){
...
...
@@ -615,8 +620,8 @@ $(function(){
$(".room-secret-bg img").attr("src",'
https
:
//zhibocdn.yabolive.net/comm'+data.room.face.split('?')[0]+'?x-oss-process=image/resize,w_375')
$
(
".secret-btn"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
if
(
localStorage
.
token
==
undefined
||
localStorage
.
token
==
'undefined'
){
loginPage
()
$
(
".layer-shadow"
).
show
()
loginPage
()
return
;
}
$
.
ajax
({
...
...
@@ -655,8 +660,8 @@ $(function(){
$(".room-out-mc-shadow").attr("src","https://zhibocdn.yabolive.net/comm"+data.room.face.split('
?
')[0]+"?x-oss-process=image/resize,w_300")
$(".like-icon").unbind("click").on("click",function(){
if(localStorage.uid==undefined){
loginPage()
$(".layer-shadow").show()
loginPage()
return;
}
var _self=$(this)
...
...
@@ -701,7 +706,8 @@ $(function(){
var ua = window.navigator.userAgent.toLowerCase();
if (/android/.test(ua)) {
if(mySound==1){
$(".sound-btn").attr("data-type","1")
history.pushState(null,null,'
liveRoom
.
html
?
roomId
=
'+sessionStorage.roomId+'');
$(".sound-btn").attr("data-type",1)
$(".sound-btn").attr("src","images/sound-yes.png")
$(".gift-btn").attr("src","images/gift-btn.png")
$(".video-box video").prop("muted",false)
...
...
@@ -824,8 +830,8 @@ $(function(){
})
$(".like-icon").unbind("click").on("click",function(){
if(localStorage.uid==undefined){
loginPage()
$(".layer-shadow").show()
loginPage()
return;
}
var _self=$(this)
...
...
@@ -858,8 +864,8 @@ $(function(){
})
$(".msg-btn").on("click",function(){
if(localStorage.uid==undefined){
loginPage()
$(".layer-shadow").show()
loginPage()
return;
}
$(".layer-shadow").show()
...
...
@@ -904,8 +910,8 @@ $(function(){
})
$(".more-btn").on("click",function(){
if(localStorage.uid==undefined){
loginPage()
$(".layer-shadow").show()
loginPage()
return;
}
$(".more-layer").css("bottom","0rem")
...
...
@@ -946,8 +952,8 @@ $(function(){
})
$(".guard-btn").on("click",function(){
if(localStorage.uid==undefined){
loginPage()
$(".layer-shadow").show()
loginPage()
return;
}
guard()
...
...
@@ -956,8 +962,8 @@ $(function(){
})
$(".gift-btn").on("click",function(){
if(localStorage.uid==undefined){
loginPage()
$(".layer-shadow").show()
loginPage()
return;
}
$(".layer-shadow").show()
...
...
@@ -1306,8 +1312,8 @@ $(function(){
}
function
openGuard
(
e
){
if
(
localStorage
.
token
==
undefined
||
localStorage
.
token
==
'undefined'
){
loginPage
()
$
(
".layer-shadow"
).
show
()
loginPage
()
return
;
}
if
(
localStorage
.
uid
==
sessionStorage
.
roomId
){
...
...
@@ -2247,7 +2253,10 @@ $(function(){
if(localStorage.uid==undefined){
layer.closeAll()
setTimeout(function(){ loginPage()},300)
setTimeout(function(){
$(".layer-shadow").show()
loginPage()
},300)
return
}
var _self=$(this)
...
...
@@ -2278,7 +2287,10 @@ $(function(){
$(".space-btn2").unbind("click").on("click",function(){
if(localStorage.uid==undefined){
layer.closeAll()
setTimeout(function(){ loginPage()},300)
setTimeout(function(){
$(".layer-shadow").show()
loginPage()
},300)
return
}
var _self=$(this)
...
...
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