Commit 1434c1c4 by agan

提交

parent 9c78c04f
Showing with 10 additions and 2 deletions
...@@ -58,9 +58,9 @@ body { ...@@ -58,9 +58,9 @@ body {
width: 5.347rem; width: 5.347rem;
height: 10.68rem; height: 10.68rem;
position: absolute; position: absolute;
top: 50%; top: 5.4rem;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translateX( -50%);
z-index: 10; z-index: 10;
} }
......
...@@ -196,6 +196,7 @@ ...@@ -196,6 +196,7 @@
if (curp == parr.length - 1) { if (curp == parr.length - 1) {
return; return;
} }
touchB = false;
curp++; curp++;
if (curp == 2) { if (curp == 2) {
$('.wipeUp').hide(); $('.wipeUp').hide();
...@@ -205,6 +206,9 @@ ...@@ -205,6 +206,9 @@
$('.downloadBtn2').hide(); $('.downloadBtn2').hide();
} }
$('.curpage').animate({ top: -(scrollH * curp) + 'px' }); $('.curpage').animate({ top: -(scrollH * curp) + 'px' });
setTimeout(function(){
touchB = true;
},1000)
return; return;
} }
if (ev.type == 'swipedown') { if (ev.type == 'swipedown') {
...@@ -212,6 +216,7 @@ ...@@ -212,6 +216,7 @@
$(".page0 ul li").css({ "opacity": "0" }) $(".page0 ul li").css({ "opacity": "0" })
return; return;
} }
touchB = false;
curp--; curp--;
if (curp == 2) { if (curp == 2) {
$('.wipeUp').hide(); $('.wipeUp').hide();
...@@ -221,6 +226,9 @@ ...@@ -221,6 +226,9 @@
$('.downloadBtn2').hide(); $('.downloadBtn2').hide();
} }
$('.curpage').animate({ top: -(scrollH * curp) + 'px' }); $('.curpage').animate({ top: -(scrollH * curp) + 'px' });
setTimeout(function(){
touchB = true;
},1000)
return; return;
} }
}); });
......
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