0) { mobile_flag = true; break; } } var screen_width = window.screen.width; var screen_height = window.screen.height; //???????辨????????=????? if(screen_width < 500 && screen_height < 800){ mobile_flag = true; } return mobile_flag; } $(function () { if (isMobile()) { $('body').css('width', '1200px'); } })