小程序弹出框位置无法定位到屏幕中间?一招搞定!

开始用的绝对定位
    position: absolute;

修改后
    position: fixed;

猜你喜欢

转载自blog.csdn.net/weirdo_world/article/details/116657933#comments_22282427