获取屏幕宽度:const width = window.screen.width
获取屏幕高度:const height = window.screen.height
JavaScript/JS获取屏幕的分辨率
于 2022-10-25 16:56:55 首次发布
获取屏幕宽度:const width = window.screen.width
获取屏幕高度:const height = window.screen.height