js如何判断是手机还是电脑浏览器?应该把JS 放在页面首页加载 就行function IsPC() {var userAgentInfo = navigator.userAgentvar Agents = ["Android", "iPhone2023-04-30JavaScript760