Commit d671580b by libai

测试

parent ded2a79e
Showing with 20 additions and 20 deletions
...@@ -2174,26 +2174,26 @@ $(function(){ ...@@ -2174,26 +2174,26 @@ $(function(){
} }
}) })
} }
// var lastTouchEnd = 0 //更新手指弹起的时间 var lastTouchEnd = 0 //更新手指弹起的时间
// document.documentElement.addEventListener("touchstart", function (event) { document.documentElement.addEventListener("touchstart", function (event) {
// //多根手指同时按下屏幕,禁止默认行为 //多根手指同时按下屏幕,禁止默认行为
// if (event.touches.length > 1) { if (event.touches.length > 1) {
// event.preventDefault(); event.preventDefault();
// } }
// }); });
// document.documentElement.addEventListener("touchend", function (event) { document.documentElement.addEventListener("touchend", function (event) {
// var now = (new Date()).getTime(); var now = (new Date()).getTime();
// if (now - lastTouchEnd <= 300) { if (now - lastTouchEnd <= 300) {
// //当两次手指弹起的时间小于300毫秒,认为双击屏幕行为 //当两次手指弹起的时间小于300毫秒,认为双击屏幕行为
// event.preventDefault(); event.preventDefault();
// }else{ // 否则重新手指弹起的时间 }else{ // 否则重新手指弹起的时间
// lastTouchEnd = now; lastTouchEnd = now;
// } }
// }, false); }, false);
// //阻止双指放大页面 //阻止双指放大页面
// document.documentElement.addEventListener("gesturestart", function (event) { document.documentElement.addEventListener("gesturestart", function (event) {
// event.preventDefault(); event.preventDefault();
// }); });
function cardUp(e){ function cardUp(e){
if(e<0){ if(e<0){
layer.msg("噓,咱們還是不要打擾神秘人的好~") layer.msg("噓,咱們還是不要打擾神秘人的好~")
......
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