js 检测屏幕分辨率 class screenChecker { constructor() { this.screen = window.screen; this.fullscreen = false; this.screenSize = { width: 0, height: 0, }; this.init(); } getScreenSize() { const { height, width, } = this.screen; return { width, height, }; } i