下载链接
This commit is contained in:
parent
ed3b96158f
commit
f6b306c823
@ -124,12 +124,13 @@ import AndroidIcon from './android.svg?component'
|
||||
import DownloadMethodList from './DownloadMethodList/DownloadMethodList.vue'
|
||||
import FAQAccordion from './FAQAccordion/index.vue'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { downLoadAndroid, downLoadWin, downLoadMac } from '@/utils/constant.ts'
|
||||
|
||||
const activeIndex = ref(0)
|
||||
|
||||
const otherClients = [
|
||||
{ icon: WindowsIcon, link: 'https://down.hi.com/win', type: 'window' },
|
||||
{ icon: MacosIcon, link: 'https://down.hi.com/mac', type: 'mac' },
|
||||
{ icon: AndroidIcon, link: 'https://down.hi.com/apk', type: 'android' },
|
||||
{ icon: WindowsIcon, link: downLoadWin, type: 'window' },
|
||||
{ icon: MacosIcon, link: downLoadMac, type: 'mac' },
|
||||
{ icon: AndroidIcon, link: downLoadAndroid, type: 'android' },
|
||||
]
|
||||
</script>
|
||||
|
||||
@ -59,12 +59,12 @@ import Icon1 from './Group 105.svg?component'
|
||||
import Icon2 from './Group 106.svg?component'
|
||||
import Icon3 from './Group 107.svg?component'
|
||||
import Icon4 from './Group 108.svg?component'
|
||||
|
||||
import { downLoadAndroid, downLoadWin, downLoadMac } from '@/utils/constant.ts'
|
||||
// 定义下载链接数据
|
||||
const downloadLinks = [
|
||||
{ icon: Icon1, link: 'https://apple.com/...' },
|
||||
{ icon: Icon1, link: downLoadWin },
|
||||
{ icon: Icon2, link: '/help', isInternal: true },
|
||||
{ icon: Icon3, link: 'https://down.hi.com/apk' },
|
||||
{ icon: Icon4, link: 'https://down.hi.com/mac' },
|
||||
{ icon: Icon3, link: downLoadMac },
|
||||
{ icon: Icon4, link: downLoadAndroid },
|
||||
]
|
||||
</script>
|
||||
|
||||
3
src/utils/constant.ts
Normal file
3
src/utils/constant.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export const downLoadAndroid = 'https://h.hifastapp.com/download/app-arm64-v8a-release.apk'
|
||||
export const downLoadMac = 'https://h.hifastapp.com/download/HiFastVPN-1.0.0+100-macos.dmg'
|
||||
export const downLoadWin = 'https://h.hifastapp.com/download/HiFastVPN-0.0.2-windows-setup.exe'
|
||||
Loading…
x
Reference in New Issue
Block a user