$(this).on({touchstart: function (e) {// 长按事件触发timeOutEvent = setTimeout(function () {timeOutEvent = 0;'长按3s之后执行如下代码'}, 3000);},touchmove: function () {clearTimeout(timeOutEvent);timeOutEvent = 0;},touchend: function () {clearTimeout(timeOutEvent);if (timeOutEvent != 0) {'单机执行以下代码'}return false;}})
