如何用 js 或 php 判断手机网络环境JS代码 http:www.baidu.com 换成手机页面地址 <script type="textjavascript">if ((navigator.userAgent.match(2023-02-21JavaScript230