Commit 8356bb40 by libai

测试

parent 0abcbc4f
Showing with 1 additions and 2 deletions
...@@ -2195,7 +2195,6 @@ $(function(){ ...@@ -2195,7 +2195,6 @@ $(function(){
if(startY<e.changedTouches[0].clientY){ if(startY<e.changedTouches[0].clientY){
//向下 //向下
angle=Math.abs(goDeg-90) angle=Math.abs(goDeg-90)
// console.log(zwidth)
if(angle<30&&zwidth>5){ if(angle<30&&zwidth>5){
$(".room-bg,.video-box").css("transition","0.35s all") $(".room-bg,.video-box").css("transition","0.35s all")
$(".room-bg,.video-box").css("top","100vh") $(".room-bg,.video-box").css("top","100vh")
...@@ -2208,7 +2207,6 @@ $(function(){ ...@@ -2208,7 +2207,6 @@ $(function(){
if(startY>e.changedTouches[0].clientY){ if(startY>e.changedTouches[0].clientY){
//向上 //向上
angle=Math.abs(goDeg-90) angle=Math.abs(goDeg-90)
console.log(zwidth)
if(angle<30&&zwidth>5){ if(angle<30&&zwidth>5){
$(".room-bg,.video-box").css("transition","0.35s all") $(".room-bg,.video-box").css("transition","0.35s all")
$(".room-bg,.video-box").css("top","-100vh") $(".room-bg,.video-box").css("top","-100vh")
...@@ -2224,6 +2222,7 @@ $(function(){ ...@@ -2224,6 +2222,7 @@ $(function(){
$(".room-bg,.video-box").css("top","0") $(".room-bg,.video-box").css("top","0")
topMoveNumBottom=0 topMoveNumBottom=0
topMoveNumTop=0 topMoveNumTop=0
zwidth=0
touchOk=false touchOk=false
setTimeout(function() { setTimeout(function() {
$(".room-bg,.video-box").css("transition","none") $(".room-bg,.video-box").css("transition","none")
......
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