var _iphone=navigator.userAgent.match(/iphone/i); 转载于:https://www.cnblogs.com/haimingpro/p/3844332.html