1 $(function(){
2  if (!navigator.userAgent.match(/mobile/i)) {
3 //PC端
4         }else{
5 //移动端
6 }
7 })

 

 

相关文章:

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