摘要: screen:对象 console.log(screen.width);//屏幕宽度 console.log(screen.availHeight);//可用高度=屏幕高度-底部任务栏 console.log(screen.height);//屏幕高度 console.log(screen.avai 阅读全文