方法一:
$('.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"
});
本文标题:弹出遮罩层后禁止滚动
本文链接:https://www.haomeiwen.com/subject/vykbmttx.html
网友评论