//禁止滚动条滚动
stopScroll:function(){
document.documentElement.style.overflow=‘hidden’;
document.body.style.position=‘fixed’;
document.body.style.top=‘0px’;
document.body.style.width=“100%”;
}
//允许滚动条滚动
openScroll:function(){
document.documentElement.style.overflow=‘scroll’;
document.body.style.position=‘static’;
}