From c73d2671608d2921d64010e579d3c77748e84d3e Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 31 Oct 2025 21:43:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BD=BF=E7=94=A8=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E5=A4=B4=E9=83=A8=E7=BB=84=E4=BB=B6=EF=BC=8C=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E5=88=87=E6=8D=A2=E5=8A=9F=E8=83=BD=E5=B9=B6?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/ar.json | 15 +++- src/locales/en.json | 15 +++- src/locales/zh.json | 15 +++- src/views/BDCenter/availableIncome.vue | 103 ++++++++++++++++--------- src/views/BDCenter/incomeDetails.vue | 46 +++++++++-- 5 files changed, 150 insertions(+), 44 deletions(-) diff --git a/src/locales/ar.json b/src/locales/ar.json index e76f3f9..b69dbc9 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -206,5 +206,18 @@ "unknown_user": "مستخدم غير معروف", "approved_application": "تمت الموافقة على طلب {name}", "rejected_application": "تم رفض طلب {name}", - "operation_failed": "فشلت العملية، يرجى المحاولة مرة أخرى" + "operation_failed": "فشلت العملية، يرجى المحاولة مرة أخرى", + + "cash_out": "سحب نقدي", + "complete_information": "إكمال المعلومات", + "contact_number": "رقم الاتصال", + "other_description": "وصف آخر", + "cash_withdrawal_tips": "يتطلب سحب النقود مراجعة. يرجى الانتظار بصبر حتى وصول النقد بعد اجتياز المراجعة.", + "receive": "استلام", + "rejection": "مرفوض", + + "kyc": "KYC", + "passport_id_card": "جواز السفر/بطاقة الهوية:({current}/3)", + "transfer_coins": "تحويل العملات", + "plus_coins": "+{amount} عملات" } diff --git a/src/locales/en.json b/src/locales/en.json index 29f22a5..4b5edd3 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -206,5 +206,18 @@ "unknown_user": "Unknown User", "approved_application": "Approved {name}'s application", "rejected_application": "Rejected {name}'s application", - "operation_failed": "Operation failed, please try again" + "operation_failed": "Operation failed, please try again", + + "cash_out": "Cash out", + "complete_information": "Complete information", + "contact_number": "Contact number", + "other_description": "Other description", + "cash_withdrawal_tips": "Cash withdrawals require review. Please wait patiently for the cash to arrive after the review is passed.", + "receive": "Receive", + "rejection": "Rejection", + + "kyc": "KYC", + "passport_id_card": "Passport/ID card:({current}/3)", + "transfer_coins": "Transfer Coins", + "plus_coins": "+{amount} Coins" } diff --git a/src/locales/zh.json b/src/locales/zh.json index 523edef..01c1123 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -206,5 +206,18 @@ "unknown_user": "未知用户", "approved_application": "已批准 {name} 的申请", "rejected_application": "已拒绝 {name} 的申请", - "operation_failed": "操作失败,请重试" + "operation_failed": "操作失败,请重试", + + "cash_out": "提现", + "complete_information": "完善信息", + "contact_number": "联系电话", + "other_description": "其他说明", + "cash_withdrawal_tips": "提现需要审核,请审核通过后耐心等待到账。", + "receive": "确认", + "rejection": "已拒绝", + + "kyc": "KYC", + "passport_id_card": "护照/身份证:({current}/3)", + "transfer_coins": "转账金币", + "plus_coins": "+{amount} 金币" } diff --git a/src/views/BDCenter/availableIncome.vue b/src/views/BDCenter/availableIncome.vue index 69a45db..d5258f1 100644 --- a/src/views/BDCenter/availableIncome.vue +++ b/src/views/BDCenter/availableIncome.vue @@ -1,6 +1,11 @@ - + @@ -13,10 +18,10 @@ margin-bottom: 10px; " > - Available income + {{ t('available_salaries') }} - Details - + {{ t('details') }} + - Loading... + {{ t('loading') }}... ${{ availableIncome }} @@ -63,7 +68,7 @@ boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1)', }" > - {{ action.name }} + {{ t(action.name.toLowerCase()) }} @@ -130,14 +135,14 @@ opacity: !selectedExchangeOption ? 0.6 : 1, }" > - Exchange + {{ t('exchange') }} - Transfer to others + {{ t('transfer_to_others') }} - Change + {{ t('change') }} @@ -240,7 +245,7 @@ " @click="searchPayee" > - Search + {{ t('search') }} @@ -308,7 +313,7 @@ opacity: !selectedCoin || !selectedPayee.id ? 0.6 : 1, }" > - Transfer + {{ t('transfer') }} @@ -320,7 +325,7 @@ - KYC + {{ t('kyc') }} - Complete information - + {{ t('complete_information') }} + - Passport/ID card:({{ bankCardInfo.cardImages.length }}/3) + {{ + t('passport_id_card', { current: bankCardInfo.cardImages.length }) + }} @@ -361,13 +366,13 @@ - Contact number: + {{ t('contact_number') }}: {{ bankCardInfo.contactNumber }} - Other description: + {{ t('other_description') }}: {{ bankCardInfo.description }} @@ -394,7 +399,7 @@ }" @click="CashOut" > - Cash out + {{ t('cash_out') }} @@ -426,10 +431,9 @@ " @click.stop > - Tips + {{ t('tips') }} - Cash withdrawals require review. Pleasewait patiently for the cash to arrive afterthe - review is passed. + {{ t('cash_withdrawal_tips') }} - Receive + {{ t('receive') }} @@ -459,9 +463,10 @@