//判断手机终端
if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)) {
  window.location.href = 'mobile.html'
}

  

posted on 2017-06-19 09:22  前端小透明  阅读(315)  评论(0)    收藏  举报