判断是否是移动设备
var ua = window.navigator.userAgent.toLowerCase();
if(ua.indexOf('mobile')!== -1){
return false;
}
var ua = window.navigator.userAgent.toLowerCase();
if(ua.indexOf('mobile')!== -1){
return false;
}
转载于:https://www.cnblogs.com/lisaShare/p/10873863.html