function isIos() { //苹果设备
const u = navigator.userAgent;
if (u.indexOf("iPhone") > -1 || u.indexOf("iOS") > -1 || u.indexOf("iPad") > -1 || u.indexOf("Mac") > -1) return true
return false;
}
function isAndroid() { //安卓设备
const u = navigator.userAgent;
if (u.indexOf("Android") > -1 || u.indexOf("Linux") > -1) return true
return false;
}
09-08
323
10-25
8665
05-30
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交