增加android下载链接
All checks were successful
site-dist-deploy / build-and-deploy (push) Successful in 1m51s
All checks were successful
site-dist-deploy / build-and-deploy (push) Successful in 1m51s
This commit is contained in:
parent
f33e4a727a
commit
a350863a3e
@ -1,28 +0,0 @@
|
||||
<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>
|
||||
@ -38,9 +38,7 @@ const downLoadWin = ref(
|
||||
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-windows-1.0.0.exe',
|
||||
)
|
||||
const downLoadMac = ref('https://apps.apple.com/us/app/hi%E5%BF%ABvpn/id6755683167')
|
||||
const downLoadAndroid = ref(
|
||||
'https://hifastvpn.go.link/?adj_t=1xf6e7ru&&adj_label=uuDvxXMU&adj_deep_link=hifastvpn%3A%2F%2F%3FinviteCode%3DuuDvxXMU',
|
||||
)
|
||||
const downLoadAndroid = ref('https://hifastvpn.go.link/?adj_t=1xf6e7ru')
|
||||
// request
|
||||
// .get('/api/v1/common/client/download', {
|
||||
// // invite_code: getAllQueryString('ic'),
|
||||
|
||||
@ -33,11 +33,6 @@ const router = createRouter({
|
||||
name: 'login-redirect',
|
||||
component: () => import('../pages/LoginRedirect/index.vue'),
|
||||
},
|
||||
{
|
||||
path: '/android-download',
|
||||
name: 'android-download',
|
||||
component: () => import('../pages/AndroidDownload/index.vue'),
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: 'not-found',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user