增加android下载链接
All checks were successful
site-dist-deploy / build-and-deploy (push) Successful in 1m59s

This commit is contained in:
speakeloudest 2026-03-20 10:18:29 +02:00
parent 0ed394ea67
commit 26bfcaa5f3
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<template>
<div class="flex min-h-screen flex-col items-center justify-center bg-black p-6 text-white text-center">
<div class="max-w-md">
<p class="mb-4 text-xl font-medium">正在为您开始下载 Hi快VPN Android ...</p>
<p class="text-sm text-gray-400">
如果下载没有自动开始
<a :href="downloadUrl" class="text-[#a8ff53] underline ml-1 hover:text-[#c4ff8a]">点击此处手动下载</a>
</p>
</div>
</div>
</template>
<script setup lang="ts">
import { onMounted } from 'vue'
const downloadUrl = 'https://api.hifast.biz/v1/common/client/download/file/Hi%E5%BF%ABVPN-android-1.0.0.apk'
onMounted(() => {
//
setTimeout(() => {
window.location.href = downloadUrl
}, 500)
})
</script>
<style scoped>
/* 仅保持基础样式 */
</style>

View File

@ -33,6 +33,11 @@ const router = createRouter({
name: 'login-redirect', name: 'login-redirect',
component: () => import('../pages/LoginRedirect/index.vue'), component: () => import('../pages/LoginRedirect/index.vue'),
}, },
{
path: '/download/android',
name: 'android-download',
component: () => import('../pages/AndroidDownload/index.vue'),
},
{ {
path: '/:pathMatch(.*)*', path: '/:pathMatch(.*)*',
name: 'not-found', name: 'not-found',