<script>
    $(function(){
        if(navigator.userAgent.match(/mobile/i)) {
            alert('手机')
        }else {
           alert('pc')
        }
    });
</script>

 

相关文章:

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