public/xcxjingqingmap/js/move.js
@@ -83,9 +83,9 @@ that.div.on('touchend', function () {//抬起重置 once = true;//抬起重置鼠标点击位置 if (that.state == 'down') {//两种模式 var chous = Math.abs(that.__yy - that.__sy) < that.__wy / 4; var chous = Math.abs(that.__yy - that.__sy) < that.__wy / 8; } else if (that.state == 'up') { var chous = Math.abs(that.__yy - that.__sy) > that.__wy / 4; var chous = Math.abs(that.__yy - that.__sy) > that.__wy / 8; } if (chous) { that.changeDomPosition(0, 0, (parseFloat(that.__wy / 10) * 3.999));//改变位置