Commit ce9dff99 by libai

测试

parent 8356bb40
......@@ -744,7 +744,7 @@
}
.touch-box {
position: fixed;
z-index: 1000;
z-index: 100;
width: 10rem;
left: 0;
top: 50%;
......
......@@ -767,7 +767,7 @@
}
.touch-box{
position: fixed;
z-index: 1000;
z-index: 100;
width: 10rem;
left: 0;
top: 50%;
......
......@@ -116,8 +116,9 @@
</div>
</div>
</div>
<div class="touch-box"></div>
<div class="room-bg">
<div class="touch-box"></div>
<div style="display: none;" class="mc-out-box">
<img class="room-close" src="images/close.png" alt="">
<div class="room-out-shadow"></div>
......@@ -2150,6 +2151,7 @@ $(function(){
if(zwidth<1&topMoveNumBottom==0){
return;
}
console.log(zwidth)
if(angle==null){
angle=Math.abs(goDeg-90)
}
......@@ -2157,7 +2159,6 @@ $(function(){
return;
}
topMoveNumTop=e.changedTouches[0].clientY-startY
$(".room-bg,.video-box").css("top",topMoveNumTop+'px')
}else if(touchY<e.changedTouches[0].clientY){
......@@ -2165,7 +2166,7 @@ $(function(){
touchY=e.changedTouches[0].clientY
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){
return;
}
......@@ -2173,7 +2174,7 @@ $(function(){
angle=Math.abs(goDeg-90)
}
if(angle>30)return;
topMoveNumBottom=e.changedTouches[0].clientY-startY
$(".room-bg,.video-box").css("top",topMoveNumBottom+'px')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment