js判断屏幕大小 Posted on 2017-03-09 | In Front-End | js代码:12345678let screenWidth = document.body.clientWidth;if (screenWidth < 768) {}if (screenWidth >= 768 && screenWidt < 992) {}if (screenWidth >= 992) {}