|
|
@ -48,7 +48,7 @@ export const download = () => {
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
const iosLinkUrl = 'https://apps.apple.com/app/%E9%9B%80%E4%B9%90/id6478897923';
|
|
|
|
const iosLinkUrl = 'https://apps.apple.com/app/%E9%9B%80%E4%B9%90/id6478897923';
|
|
|
|
// const iosLinkUrl = 'itms-apps://itunes.apple.com/app/id6478897923';
|
|
|
|
// const iosLinkUrl = 'itms-apps://itunes.apple.com/app/id6478897923';
|
|
|
|
const androidLinkurl = '//cdn.indie.cn/release/queyue.apk';
|
|
|
|
const androidLinkurl = 'http://cdn.indie.cn/release/queyue.apk';
|
|
|
|
// const huaweiUrl = `appmarket://details?id=${APK_NAME}`;
|
|
|
|
// const huaweiUrl = `appmarket://details?id=${APK_NAME}`;
|
|
|
|
// const oppoUrl = `oppomarket://details?packagename=${APK_NAME}`;
|
|
|
|
// const oppoUrl = `oppomarket://details?packagename=${APK_NAME}`;
|
|
|
|
// const vivoUrl = `vivomarket://details?id=${APK_NAME}`;
|
|
|
|
// const vivoUrl = `vivomarket://details?id=${APK_NAME}`;
|
|
|
@ -75,11 +75,13 @@ export const download = () => {
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
switch (verifyBrand()) {
|
|
|
|
switch (verifyBrand()) {
|
|
|
|
case 'iphone':
|
|
|
|
case 'iphone':
|
|
|
|
window.location.href = iosLinkUrl;
|
|
|
|
// window.location.href = iosLinkUrl;
|
|
|
|
|
|
|
|
window.open(iosLinkUrl, '_blank');
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
if (!isBuiltIn()) {
|
|
|
|
if (!isBuiltIn()) {
|
|
|
|
window.location.href = androidLinkurl;
|
|
|
|
// window.location.href = androidLinkurl;
|
|
|
|
|
|
|
|
window.open(androidLinkurl, '_blank');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|