support handler

This commit is contained in:
2026-06-15 15:41:50 +03:30
parent 4b3dc0614d
commit ad2fefeac1
2 changed files with 31 additions and 0 deletions
+21
View File
@@ -324,6 +324,14 @@
<BasicIcon icon="vuesax-linear:headphone" size="18" />
پیام به پشتیبانی
</a>
<a
v-if="depositSmsSupportLink"
class="wallet-info-modal__action wallet-info-modal__action--outline"
:href="depositSmsSupportLink"
>
<BasicIcon icon="vuesax-linear:direct-inbox" size="18" />
پیام به پشتیبانی (sms)
</a>
</div>
<!-- شاخهٔ ثابت بازرتلا: شماره کارت حذف شد؛ از تنظیمات support_messenger استفاده می‌شود
@@ -345,6 +353,14 @@
<BasicIcon icon="vuesax-linear:headphone" size="18" />
پیام به پشتیبانی
</a>
<a
v-if="depositSmsSupportLink"
class="wallet-info-modal__action wallet-info-modal__action--outline"
:href="depositSmsSupportLink"
>
<BasicIcon icon="vuesax-linear:direct-inbox" size="18" />
پیام به پشتیبانی (sms)
</a>
</div>
</div>
@@ -417,6 +433,7 @@ import BasicModal from '@/components/BasicPacks/BasicModal.vue'
import { useConfigStore } from '@/store/configStore'
import { isBazretalaProject } from '@/utils/config'
import {
buildDepositSmsUrl,
buildSupportMessengerUrl,
loadSupportMessengerFromSettings,
supportMessengerSettings,
@@ -445,6 +462,10 @@ const supportMessengerLink = computed(() =>
)
)
const depositSmsSupportLink = computed(() =>
buildDepositSmsUrl(supportMessengerSettings.value.depositSmsSupportNumber)
)
onMounted(() => {
if (router.currentRoute.value.query.state === 'deposit') {
isDeposit.value = true