Method 1:
$('.shade').bind( "touchmove", function (e) { e.preventDefault();});Method 2:
$("body,.main").height($(window).height()).css({ "overflow-y": "hidden"});The above article has the effect of prohibiting scrolling after the mask layer pops up [Implementation Code]. It is all the content I share with you. I hope you can give you a reference and I hope you can support Wulin.com more.