This commit is contained in:
parent
466a7c8592
commit
dd58e3ce55
@ -132,35 +132,41 @@ import FAQAccordion from './FAQAccordion/index.vue'
|
|||||||
import { Button } from '@/components/ui/button'
|
import { Button } from '@/components/ui/button'
|
||||||
import { downLoadIos } from '@/utils/constant.ts'
|
import { downLoadIos } from '@/utils/constant.ts'
|
||||||
|
|
||||||
const downLoadWin = ref('')
|
const downLoadWin = ref(
|
||||||
const downLoadMac = ref('')
|
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-windows-1.0.0.exe',
|
||||||
const downLoadAndroid = ref('')
|
)
|
||||||
request
|
const downLoadMac = ref(
|
||||||
.get('/api/v1/common/client/download', {
|
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-mac-1.0.0.dmg',
|
||||||
// invite_code: getAllQueryString('ic'),
|
)
|
||||||
platform: 'mac',
|
const downLoadAndroid = ref(
|
||||||
})
|
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-android-1.0.0.apk',
|
||||||
.then((res) => {
|
)
|
||||||
downLoadMac.value = res.url
|
// request
|
||||||
})
|
// .get('/api/v1/common/client/download', {
|
||||||
|
// // invite_code: getAllQueryString('ic'),
|
||||||
request
|
// platform: 'mac',
|
||||||
.get('/api/v1/common/client/download', {
|
// })
|
||||||
// invite_code: getAllQueryString('ic'),
|
// .then((res) => {
|
||||||
platform: 'windows',
|
// downLoadMac.value = res.url
|
||||||
})
|
// })
|
||||||
.then((res) => {
|
//
|
||||||
downLoadWin.value = res.url
|
// request
|
||||||
})
|
// .get('/api/v1/common/client/download', {
|
||||||
|
// // invite_code: getAllQueryString('ic'),
|
||||||
request
|
// platform: 'windows',
|
||||||
.get('/api/v1/common/client/download', {
|
// })
|
||||||
// invite_code: getAllQueryString('ic'),
|
// .then((res) => {
|
||||||
platform: 'android',
|
// downLoadWin.value = res.url
|
||||||
})
|
// })
|
||||||
.then((res) => {
|
//
|
||||||
downLoadAndroid.value = res.url
|
// request
|
||||||
})
|
// .get('/api/v1/common/client/download', {
|
||||||
|
// // invite_code: getAllQueryString('ic'),
|
||||||
|
// platform: 'android',
|
||||||
|
// })
|
||||||
|
// .then((res) => {
|
||||||
|
// downLoadAndroid.value = res.url
|
||||||
|
// })
|
||||||
|
|
||||||
const activeIndex = ref(0)
|
const activeIndex = ref(0)
|
||||||
|
|
||||||
|
|||||||
@ -34,36 +34,42 @@ import Icon4 from './Group 108.svg?component'
|
|||||||
import { ref, computed } from 'vue'
|
import { ref, computed } from 'vue'
|
||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
import { getAllQueryString } from '@/utils/url-utils.ts'
|
import { getAllQueryString } from '@/utils/url-utils.ts'
|
||||||
const downLoadWin = ref('')
|
const downLoadWin = ref(
|
||||||
const downLoadMac = ref('')
|
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-windows-1.0.0.exe',
|
||||||
const downLoadAndroid = ref('')
|
)
|
||||||
request
|
const downLoadMac = ref(
|
||||||
.get('/api/v1/common/client/download', {
|
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-mac-1.0.0.dmg',
|
||||||
// invite_code: getAllQueryString('ic'),
|
)
|
||||||
platform: 'mac',
|
const downLoadAndroid = ref(
|
||||||
})
|
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-android-1.0.0.apk',
|
||||||
.then((res) => {
|
)
|
||||||
downLoadMac.value = res.url
|
// request
|
||||||
})
|
// .get('/api/v1/common/client/download', {
|
||||||
|
// // invite_code: getAllQueryString('ic'),
|
||||||
request
|
// platform: 'mac',
|
||||||
.get('/api/v1/common/client/download', {
|
// })
|
||||||
// invite_code: getAllQueryString('ic'),
|
// .then((res) => {
|
||||||
platform: 'windows',
|
// downLoadMac.value = res.url
|
||||||
})
|
// })
|
||||||
.then((res) => {
|
//
|
||||||
downLoadWin.value = res.url
|
// request
|
||||||
})
|
// .get('/api/v1/common/client/download', {
|
||||||
|
// // invite_code: getAllQueryString('ic'),
|
||||||
request
|
// platform: 'windows',
|
||||||
.get('/api/v1/common/client/download', {
|
// })
|
||||||
// invite_code: getAllQueryString('ic'),
|
// .then((res) => {
|
||||||
platform: 'android',
|
// downLoadWin.value = res.url
|
||||||
})
|
// })
|
||||||
.then((res) => {
|
//
|
||||||
downLoadAndroid.value = res.url
|
// request
|
||||||
// console.log(downLoadAndroid.value)
|
// .get('/api/v1/common/client/download', {
|
||||||
})
|
// // invite_code: getAllQueryString('ic'),
|
||||||
|
// platform: 'android',
|
||||||
|
// })
|
||||||
|
// .then((res) => {
|
||||||
|
// downLoadAndroid.value = res.url
|
||||||
|
// // console.log(downLoadAndroid.value)
|
||||||
|
// })
|
||||||
|
|
||||||
// 定义下载链接数据
|
// 定义下载链接数据
|
||||||
const downloadLinks = computed(() => {
|
const downloadLinks = computed(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user