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