diff --git a/src/locales/ar.json b/src/locales/ar.json index d2d1080..91c5b40 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -153,6 +153,7 @@ "enterAmountMax": "أدخل المبلغ (الحد الأقصى: {amount})", "validAmountError": "الرجاء إدخال مبلغ صحيح.", "bankAccountId": "الحساب البنكي", + "selectBankAccount": "اختر الحساب البنكي", "enterBankAccountId": "أدخل الحساب البنكي", "validBankAccountError": "الرجاء إدخال حساب بنكي صحيح.", "chooseChain": "اختر السلسلة", diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 6ea6354..aced3b7 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -153,6 +153,7 @@ "enterAmountMax": "Enter amount (Max: {amount})", "validAmountError": "Please enter a valid amount.", "bankAccountId": "Bank Account", + "selectBankAccount": "Select Bank Account", "enterBankAccountId": "Enter bank account", "validBankAccountError": "Please enter a valid bank account.", "chooseChain": "Choose Chain", diff --git a/src/locales/zh-CN.json b/src/locales/zh-CN.json index 301f680..c62c24a 100644 --- a/src/locales/zh-CN.json +++ b/src/locales/zh-CN.json @@ -153,6 +153,7 @@ "enterAmountMax": "请输入金额(最大可用:{amount})", "validAmountError": "请输入有效的金额。", "bankAccountId": "银行账户", + "selectBankAccount": "选择银行账户", "enterBankAccountId": "请输入银行账户", "validBankAccountError": "请输入有效的银行账户。", "chooseChain": "选择链", diff --git a/src/locales/zh-HK.json b/src/locales/zh-HK.json index 5359675..8d5b8b7 100644 --- a/src/locales/zh-HK.json +++ b/src/locales/zh-HK.json @@ -153,6 +153,7 @@ "enterAmountMax": "請輸入金額(最大可用:{amount})", "validAmountError": "請輸入有效的金額。", "bankAccountId": "銀行賬戶", + "selectBankAccount": "選擇銀行賬戶", "enterBankAccountId": "請輸入銀行賬戶", "validBankAccountError": "請輸入有效的銀行賬戶。", "chooseChain": "選擇鏈", diff --git a/src/views/withdraw/index.vue b/src/views/withdraw/index.vue index 9d6ccc2..bebf72e 100644 --- a/src/views/withdraw/index.vue +++ b/src/views/withdraw/index.vue @@ -3,6 +3,7 @@ import type { GenericObject } from "vee-validate"; import type { BankAccountsData, WithdrawBody } from "@/api/types"; import type { FormInstance } from "@/utils"; import { loadingController, modalController, toastController } from "@ionic/vue"; +import { chevronForwardOutline } from "ionicons/icons"; import { ErrorMessage, Field, Form } from "vee-validate"; import { client, safeClient } from "@/api"; import { AssetCodeEnum, ChainEnum, WithdrawMethodEnum } from "@/api/enum"; @@ -118,7 +119,7 @@ async function onSubmit(values: GenericObject) { {{ value }} - + @@ -155,13 +156,18 @@ async function onSubmit(values: GenericObject) { class="flex items-center justify-between bg-faint rounded-2xl p-4 cursor-pointer" @click="openSelectBankAccount" > -
+
{{ currentBankAccount?.bankCode }}
{{ currentBankAccount?.bankName }}
- +
+ + {{ t('withdraw.selectBankAccount') }} + +
+