if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
alert('移动端')
}else {
  alert('PC端')
}

相关文章:

  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
相关资源
相似解决方案