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
ce9dff99
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
8356bb40
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
mTest/room/css/liveRoom.css
mTest/room/css/liveRoom.less
mTest/room/liveRoom.html
mTest/room/css/liveRoom.css
View file @
ce9dff99
...
@@ -744,7 +744,7 @@
...
@@ -744,7 +744,7 @@
}
}
.touch-box
{
.touch-box
{
position
:
fixed
;
position
:
fixed
;
z-index
:
100
0
;
z-index
:
100
;
width
:
10rem
;
width
:
10rem
;
left
:
0
;
left
:
0
;
top
:
50%
;
top
:
50%
;
...
...
This diff is collapsed.
Click to expand it.
mTest/room/css/liveRoom.less
View file @
ce9dff99
...
@@ -767,7 +767,7 @@
...
@@ -767,7 +767,7 @@
}
}
.touch-box{
.touch-box{
position: fixed;
position: fixed;
z-index: 100
0
;
z-index: 100;
width: 10rem;
width: 10rem;
left: 0;
left: 0;
top: 50%;
top: 50%;
...
...
This diff is collapsed.
Click to expand it.
mTest/room/liveRoom.html
View file @
ce9dff99
...
@@ -116,8 +116,9 @@
...
@@ -116,8 +116,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"touch-box"
></div>
<div
class=
"room-bg"
>
<div
class=
"room-bg"
>
<div
class=
"touch-box"
></div>
<div
style=
"display: none;"
class=
"mc-out-box"
>
<div
style=
"display: none;"
class=
"mc-out-box"
>
<img
class=
"room-close"
src=
"images/close.png"
alt=
""
>
<img
class=
"room-close"
src=
"images/close.png"
alt=
""
>
<div
class=
"room-out-shadow"
></div>
<div
class=
"room-out-shadow"
></div>
...
@@ -2150,6 +2151,7 @@ $(function(){
...
@@ -2150,6 +2151,7 @@ $(function(){
if
(
zwidth
<
1
&
topMoveNumBottom
==
0
){
if
(
zwidth
<
1
&
topMoveNumBottom
==
0
){
return
;
return
;
}
}
console
.
log
(
zwidth
)
if
(
angle
==
null
){
if
(
angle
==
null
){
angle
=
Math
.
abs
(
goDeg
-
90
)
angle
=
Math
.
abs
(
goDeg
-
90
)
}
}
...
@@ -2157,7 +2159,6 @@ $(function(){
...
@@ -2157,7 +2159,6 @@ $(function(){
return
;
return
;
}
}
topMoveNumTop
=
e
.
changedTouches
[
0
].
clientY
-
startY
topMoveNumTop
=
e
.
changedTouches
[
0
].
clientY
-
startY
$
(
".room-bg,.video-box"
).
css
(
"top"
,
topMoveNumTop
+
'px'
)
$
(
".room-bg,.video-box"
).
css
(
"top"
,
topMoveNumTop
+
'px'
)
}
else
if
(
touchY
<
e
.
changedTouches
[
0
].
clientY
){
}
else
if
(
touchY
<
e
.
changedTouches
[
0
].
clientY
){
...
@@ -2165,7 +2166,7 @@ $(function(){
...
@@ -2165,7 +2166,7 @@ $(function(){
touchY
=
e
.
changedTouches
[
0
].
clientY
touchY
=
e
.
changedTouches
[
0
].
clientY
goDeg
=
Math
.
abs
((
-
90
+
(
asinGo
(
e
.
changedTouches
[
0
].
clientX
-
startX
,
e
.
changedTouches
[
0
].
clientY
-
startY
))))
goDeg
=
Math
.
abs
((
-
90
+
(
asinGo
(
e
.
changedTouches
[
0
].
clientX
-
startX
,
e
.
changedTouches
[
0
].
clientY
-
startY
))))
topMoveNumBottom
=
e
.
changedTouches
[
0
].
clientY
-
startY
if
(
zwidth
<
1
&&
topMoveNumTop
==
0
){
if
(
zwidth
<
1
&&
topMoveNumTop
==
0
){
return
;
return
;
}
}
...
@@ -2173,7 +2174,7 @@ $(function(){
...
@@ -2173,7 +2174,7 @@ $(function(){
angle
=
Math
.
abs
(
goDeg
-
90
)
angle
=
Math
.
abs
(
goDeg
-
90
)
}
}
if
(
angle
>
30
)
return
;
if
(
angle
>
30
)
return
;
topMoveNumBottom
=
e
.
changedTouches
[
0
].
clientY
-
startY
$
(
".room-bg,.video-box"
).
css
(
"top"
,
topMoveNumBottom
+
'px'
)
$
(
".room-bg,.video-box"
).
css
(
"top"
,
topMoveNumBottom
+
'px'
)
...
...
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