增加海外appID标识
site-dist-deploy / build-and-deploy (push) Failing after 16m17s

This commit is contained in:
2026-06-15 15:29:29 +08:00
parent 5e90f22f59
commit 4ce76304cb
+15 -1
View File
@@ -27,6 +27,16 @@
</div>
</div>
<a
v-if="isApplePlatform"
:href="helpLink"
target="_blank"
rel="noopener noreferrer"
class="mx-auto mt-1 block w-[210px] text-center text-[16px] leading-[20px] font-semibold text-[#ADFF5B] underline decoration-solid underline-offset-2 text-shadow-[0_0_4.9px_rgba(0,0,0,0.58)] transition-opacity hover:opacity-85 active:opacity-70 md:ml-0 md:w-[300px] md:mt-4"
>
没有海外Apple ID
</a>
<!-- 其他版本下载 -->
<div class="w-full mt-2 md:mt-[35px]">
<div class="mb-3 text-center md:text-left">
@@ -92,6 +102,11 @@ const FIXED_LINKS: Record<string, string> = {
const isAndroid = computed(() => currentPlatform.value === 'android')
const isIOS = computed(() => currentPlatform.value === 'ios')
const isApplePlatform = computed(() => currentPlatform.value === 'ios' || currentPlatform.value === 'mac')
const helpLink = computed(() => {
const ic = getAllQueryString('ic') || 'uSSfgY6oAP'
return `https://hifastvpn.com/help?ic=${ic}`
})
onMounted(() => {
const ua = navigator.userAgent;
@@ -202,4 +217,3 @@ const otherButtons = computed(() => {
return allDownloadOptions.value.filter(opt => opt.key !== currentPlatform.value)
})
</script>