获取设备信息

推荐方法

navigator.userAgent;