Commit 1434c1c4 by agan

提交

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