//绑定事件
function unbindEvent() {
$('body').bind('touchstart', function (event) {
event.stopPropagation();
});
$('body').bind('touchmove', function (event) {
event.stopPropagation();
});
$('body').bind('touchend', function (event) {
event.stopPropagation();
});
}
//解除绑定
function bindEvent() {
$('body').unbind('touchstart');
$('body').unbind('touchmove');
$('body').unbind('touchend');
}
网友评论