js 获取 屏幕 可用高度...

document.documentElement.clientWidth 

此方法适用于手机...

document.documentElement.clientHeight (浏览器(手机或电脑)可用高度.)

猜你喜欢

转载自www.cnblogs.com/whm-blog/p/9783759.html