弹出遮罩层后禁止滚动
方法一:
$('.shade').bind( "touchmove", function (e) {
e.preventDefault();
});
方法二:
$("body,.main").height($(window).height()).css({
"overflow-y": "hidden"
});
方法一:
$('.shade').bind( "touchmove", function (e) {
e.preventDefault();
});
方法二:
$("body,.main").height($(window).height()).css({
"overflow-y": "hidden"
});