1405/03/31-apk link
This commit is contained in:
@@ -8,11 +8,14 @@ import { useConfigStore } from '@/store/configStore'
|
||||
import { useLoginPageContext } from '../../composables/useLoginPage'
|
||||
import DesktopPwaGuideModal from './DesktopPwaGuideModal.vue'
|
||||
import router from '@/router'
|
||||
import {isTWA} from "@/utils/config";
|
||||
import {useUserStore} from "@/store/userStore";
|
||||
import {useSettingsStore} from "@/store/settingsStore";
|
||||
|
||||
const emit = defineEmits<{
|
||||
register: [val: boolean]
|
||||
}>()
|
||||
|
||||
const setting=useSettingsStore()
|
||||
const config = useConfigStore()
|
||||
const {
|
||||
time,
|
||||
@@ -170,7 +173,7 @@ function goToAboutUs() {
|
||||
</BasicButton>
|
||||
|
||||
<template v-if="config.config?.name === 'garoosi'">
|
||||
<div class="dauth-actions-row">
|
||||
<div v-if="!isTWA()" class="dauth-actions-row">
|
||||
<a
|
||||
class="dauth-link-btn dauth-link-btn--primary"
|
||||
download="Garoosi.apk"
|
||||
@@ -189,6 +192,15 @@ function goToAboutUs() {
|
||||
درباره ما
|
||||
</button>
|
||||
</template>
|
||||
<div v-else-if="!isTWA() && !!setting.getSettingByKey('apk_download_link')" class="dauth-actions-row ">
|
||||
<a
|
||||
class="dauth-link-btn dauth-link-btn--primary !hover:text-primary "
|
||||
:href="setting.getSettingByKey('apk_download_link')"
|
||||
>
|
||||
دانلود اپ اندروید
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div v-if="isRegister" class="dauth-switch">
|
||||
|
||||
Reference in New Issue
Block a user