|
@@ -58,11 +58,15 @@ export class Utils {
|
|
|
// nav_info.scene.showTip("")
|
|
// nav_info.scene.showTip("")
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
console.log("openSrc =", Config.scheme_prefix);
|
|
console.log("openSrc =", Config.scheme_prefix);
|
|
|
window.location.href = Config.scheme_prefix;
|
|
window.location.href = Config.scheme_prefix;
|
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
|
|
|
+ console.log("--------timeout")
|
|
|
if (!document.hidden) {
|
|
if (!document.hidden) {
|
|
|
- let down_url = sys.platform == sys.Platform.IOS ? Config.download_ios_url : Config.downlaod_google_url;
|
|
|
|
|
|
|
+ let down_url = sys.os == sys.OS.IOS ? Config.download_ios_url : Config.downlaod_google_url;
|
|
|
|
|
+ console.log("hide-------", down_url)
|
|
|
|
|
+
|
|
|
window.location.href = down_url;
|
|
window.location.href = down_url;
|
|
|
}
|
|
}
|
|
|
}, 4000);
|
|
}, 4000);
|