移动端可在mask的元素上加上 @touchmove.prevent ,即可阻止下层元素滑动的问题; PC端可将最外成的mask使用position:fixed来实现。 转载于:https://www.cnblogs.com/chenzhengyang/p/10935165.html