JS动态获取浏览器宽度和高度时间:2023-03-08 21:52:49$(window).resize(function() { var width = $(this).width(); var height = $(this).height(); });