support handler
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user