判断访问端设备是手机还是电脑
var system = {}var p = navigator.platformsystem.win = p.indexOf('Win') === 0system.mac = p.indexOf('Mac') === 0system.x11 = (p === 'X11') || (p.indexOf('Linux') === 0)if (system.win || system.mac...