This commit is contained in:
parent
0ca0a3fc4d
commit
1d88c4ea6b
@ -116,8 +116,8 @@ request.get('/api/v1/common/client/download', {
|
|||||||
|
|
||||||
const allDownloadOptions = computed(() => [
|
const allDownloadOptions = computed(() => [
|
||||||
{ key: 'win', mainIcon: Icon1, secondaryIcon: WinIcon, link: downLoadWin.value, label: 'Windows', id: 'downloadButton_win' },
|
{ key: 'win', mainIcon: Icon1, secondaryIcon: WinIcon, link: downLoadWin.value, label: 'Windows', id: 'downloadButton_win' },
|
||||||
{ key: 'mac', mainIcon: Icon3, secondaryIcon: MacIcon, label: 'macOS', id: 'downloadButton_mac' },
|
{ key: 'mac', mainIcon: Icon3, secondaryIcon: MacIcon, label: 'macOS', link: `https://hifastvpn.go.link?adj_t=1xf6e7ru&inviteCode=${getAllQueryString('ic')}` },
|
||||||
{ key: 'ios', mainIcon: Icon2, secondaryIcon: AppleIcon, label: 'iOS', id: 'downloadButton_apple' },
|
{ key: 'ios', mainIcon: Icon2, secondaryIcon: AppleIcon, label: 'iOS', link: `https://hifastvpn.go.link?adj_t=1xf6e7ru&inviteCode=${getAllQueryString('ic')}` },
|
||||||
{ key: 'android', mainIcon: Icon4, secondaryIcon: AndroidIcon, label: 'Android', link: `https://hifastvpn.go.link?adj_t=1xf6e7ru&inviteCode=${getAllQueryString('ic')}`, },
|
{ key: 'android', mainIcon: Icon4, secondaryIcon: AndroidIcon, label: 'Android', link: `https://hifastvpn.go.link?adj_t=1xf6e7ru&inviteCode=${getAllQueryString('ic')}`, },
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
>
|
>
|
||||||
<!-- Static More Reviews Button, 不受动画影响,随时可点 -->
|
<!-- Static More Reviews Button, 不受动画影响,随时可点 -->
|
||||||
<a
|
<a
|
||||||
href="https://hifastvpn.com/reviews"
|
:href="reviewLink"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="absolute cursor-pointer right-4 top-[18px] md:right-5 z-20 text-[10px] md:text-sm text-white hover:text-[#ADFF5B] transition-colors underline decoration-white underline-offset-4"
|
class="absolute cursor-pointer right-4 top-[18px] md:right-5 z-20 text-[10px] md:text-sm text-white hover:text-[#ADFF5B] transition-colors underline decoration-white underline-offset-4"
|
||||||
>
|
>
|
||||||
@ -59,6 +59,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, onUnmounted, computed } from 'vue';
|
import { ref, onMounted, onUnmounted, computed } from 'vue';
|
||||||
|
import { getAllQueryString } from '@/utils/url-utils.ts';
|
||||||
|
|
||||||
// Import avatars
|
// Import avatars
|
||||||
import avatar1 from './avatars/avatar1.png';
|
import avatar1 from './avatars/avatar1.png';
|
||||||
@ -105,6 +106,11 @@ const reviews = [
|
|||||||
const currentIndex = ref(0);
|
const currentIndex = ref(0);
|
||||||
const currentReview = computed(() => reviews[currentIndex.value]);
|
const currentReview = computed(() => reviews[currentIndex.value]);
|
||||||
|
|
||||||
|
const reviewLink = computed(() => {
|
||||||
|
const ic = getAllQueryString('ic');
|
||||||
|
return ic ? `https://hifastvpn.com/reviews?ic=${ic}` : 'https://hifastvpn.com/reviews';
|
||||||
|
});
|
||||||
|
|
||||||
let timer: any = null;
|
let timer: any = null;
|
||||||
|
|
||||||
const startCarousel = () => {
|
const startCarousel = () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user