admin管理员组

文章数量:1535055

下面就是关键了

  var url = "https://itunes.apple/cn/app/idxxxxx";
        setTimeout(function(){if(url==""){
            document.getElementById("toast_error").style.display="inline";
            setTimeout(function(){document.getElementById("toast_error").style.display="none";},1000);
            return;}else{window.location.href= url}
        },1000);

实际就是

window.location.href = "https://itunes.apple/cn/app/" + App的id;

这样就会弹出询问是否打开第三方的询问框

如果大神有更好的方法,请多多指教

本文标签: 浏览器iosappStorePP