|
@@ -50,11 +50,12 @@ function download() {
|
|
page_name: "官网",
|
|
page_name: "官网",
|
|
event_type: "downloadApp",
|
|
event_type: "downloadApp",
|
|
});
|
|
});
|
|
|
|
+ const url = getDownloadUrl();
|
|
|
|
|
|
- if (isIpad || isIpod || isIphone) return window.open(getDownloadUrl());
|
|
|
|
|
|
+ if (isIpad || isIpod || isIphone) return location.href = url;
|
|
if (isWechat)
|
|
if (isWechat)
|
|
document.querySelector(".weixin").setAttribute("style", "display: block");
|
|
document.querySelector(".weixin").setAttribute("style", "display: block");
|
|
- else window.open(getDownloadUrl());
|
|
|
|
|
|
+ else location.href = url;
|
|
}, 200);
|
|
}, 200);
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|