摘要: <script type="text/javascript"> var Sys = {}; var zfs = navigator.userAgent.toLowerCase(); var s; (s = zfs.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : (s = zfs.match(/firefox\/([\d.]+)/)) ? Sys.firefox 阅读全文
posted @ 2019-08-07 17:35 幻城love 阅读(148) 评论(0) 推荐(0) 编辑
摘要: /** * @name 判断iOS */ export const isiOS = ()=>{ let u = navigator.userAgent; let iOs = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端\ return iOs; } /** * @name 判断android */ expo... 阅读全文
posted @ 2019-08-07 15:40 幻城love 阅读(2123) 评论(0) 推荐(0) 编辑