// 获取客户端的分辨率
var screenWidth = screen.width;
var screenHeight = screen.height;
// 正屏例子:1280/1024=1.25,1280/960=1.33 1024/768=1.33 800/600=1.33
// 宽屏例子:1440/900=1.6,1280/800=1.6 1366/768=1.78 1366/768=1.67
// 暂定width/height>=1.6为宽屏,其它为正屏,未完全穷举,不排除特殊情况
var isWideScreen = screenWidth / screenHeight >= 1.6;