识别移动和pc打开跳转不一样页面代码

if(navigator.platform.indexOf('Win32')!=-1){
       window.location.href="你想要跳转的移动端网址";
     }
相关文章
相关标签/搜索