function appsion(){ uAgent = window.navigator.userAgent;
//判断苹果 var isIOS = uAgent.match(/iphone/i);
//判断安卓高低版本 if(navigator.appVersion.substring(navigator.appVersion.length-6)<537 && !isIOS){ document.ready=function(){ resizeRoot(); } }else{ resizeRoot(); } } appsion();