<script> $(function(){ if(navigator.userAgent.match(/mobile/i)) { alert('手机') }else { alert('pc') } }); </script>
jquery判断手机端或者pc端
猜你喜欢
转载自www.cnblogs.com/luojie-/p/12505894.html
今日推荐
周排行