From 6d0d244ebd36aac805f5bd4f634076c79390de42 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 13 Mar 2026 15:50:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=B0=E9=A1=B5=E9=9D=A2):=20=E4=B8=BB?= =?UTF-8?q?=E6=92=AD=E4=B8=93=E7=94=A8=E7=9A=84=E6=8F=90=E7=8E=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icon/history.png | Bin 0 -> 1198 bytes src/locales/ar.json | 5 + src/locales/bn.json | 5 + src/locales/en.json | 5 + src/locales/tr.json | 5 + src/locales/zh.json | 5 + src/router/index.js | 6 + src/utils/permissionManager.js | 3 +- src/utils/routeGuard.js | 3 +- src/views/Wallet/CashOut/CashWithdraw.vue | 833 ++++++++++++++++++++++ 10 files changed, 868 insertions(+), 2 deletions(-) create mode 100644 src/assets/icon/history.png create mode 100644 src/views/Wallet/CashOut/CashWithdraw.vue diff --git a/src/assets/icon/history.png b/src/assets/icon/history.png new file mode 100644 index 0000000000000000000000000000000000000000..bb4a20ef269a124c8720c49abb5a8303861dc4ef GIT binary patch literal 1198 zcmV;f1X25mP)1^@s6$I7^K00009a7bBm001F4 z001F40Y#QEU;qFB0drDELIAGL9O(c600d`2O+f$vv5yP7*7I8s5}0ZIiq zS8#OTNd>rrI2AxDICqe+J~T(ptdN8rID9kfhX5gdtyUl;u3%=<*|xLi&Yn7J;Roe& z+u2S3`?gQhrg`qI?Tya)tN;CsjEK&f&i?e)^l2`~mz~vvJmwhX^A&Do2u6k11=>#> zL$yo=4kds|m>m*QGldv~L?}BuBCZIR)*z86wqlScq!uBHDDUBq=stf`ENg5gBrX>}cEcUt;s1v`^c%BH4gXn#7z8z!b|hV3;E8Jy zgW$ZQ)PJl=j0)pHU7`=#YZ8OFXVPDKo3)8iG3nI(u1<^=!LbB?|M)R=}c(Xt=lHHI{+Gye2&6 z6-Gh17qq#$*-HdYmF5~NN_bSXVh##9i6k`we9YOI4&;Ii*#q7t-1XEp2TSluE~UBH z!Zi;vVVg;9$VB38K=anQYuLMFBw(H`=NiCLBf$&Nz$5-`Co){BAQI-~9|E2zL#9V8 zugUDdmp4evt0qoRVi`=WgHZ@XJ#ixHb_MbvFkL>UfH}p+;)K*}Qg*$zD<&&M!e$C} zgSg8pU6ze1L`GQ@LW^=hxL!x%R2jAl1(SKHgxkDwEsX6$mR`zP^vAiZn{D7(0ax%x z;N&Gc_|f9^{3`vS00BSl`!eNvOX%z+F|5YI?s*EN7iDoGTp}@jqc+DVe(dqaW*O-Z zkyM!PF?75ZAle|)oB-;I!1=2x*Ek1BG1#ZY`RgiAIDIhS5s3ogU%KM|y_=}P&;S4c M07*qoM6N<$f{}6;%>V!Z literal 0 HcmV?d00001 diff --git a/src/locales/ar.json b/src/locales/ar.json index a384366..30c5fc8 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -255,6 +255,7 @@ "cash_out_minimum": "*يجب أن يكون مبلغ السحب أكبر من أو يساوي 50 دولارًا", "new_year_cash_out_minimum": "*يجب أن يكون مبلغ السحب أكبر من أو يساوي 10 دولارًا", + "cash_withdraw": "سحب نقدي", "bank_card": "بطاقة مصرفية", "currently_in_use": "بطاقتك (قيد الاستخدام)", "no_bank_cards_in_use": "البطاقات المصرفية غير مستخدمة حالياً.", @@ -273,6 +274,10 @@ "enter_payee": "أدخل اسم المستفيد", "change_kyc": "تغيير KYC", "confirm_modify_kyc": "هل أنت متأكد من أنك تريد تعديل المعلومات الحالية؟", + "salary_balance": "رصيد الراتب: ${amount}", + "enter_withdraw_amount": "أدخل مبلغ السحب", + "withdrawal_rule_1": "*(1)يجب أن يكون مبلغ السحب >=$50", + "withdrawal_rule_2": "(2)ستفرض المنصة رسوم معالجة بنسبة 20% على مبلغ السحب الحالي.", "admin_policy": "سياسة المشرف", diff --git a/src/locales/bn.json b/src/locales/bn.json index 8ef0269..b3be323 100644 --- a/src/locales/bn.json +++ b/src/locales/bn.json @@ -255,6 +255,7 @@ "cash_out_minimum": "*নগদ উত্তোলনের পরিমাণ >= $50 হতে হবে", "new_year_cash_out_minimum": "*নগদ উত্তোলনের পরিমাণ >= $10 হতে হবে", + "cash_withdraw": "নগদ উত্তোলন", "bank_card": "ব্যাংক কার্ড", "currently_in_use": "আপনার কার্ড (ব্যবহারে)", "no_bank_cards_in_use": "ব্যাংক কার্ড বর্তমানে ব্যবহারে নেই।", @@ -273,6 +274,10 @@ "enter_payee": "প্রাপক লিখুন", "change_kyc": "KYC পরিবর্তন", "confirm_modify_kyc": "আপনি কি বর্তমান তথ্য পরিবর্তন করতে চান?", + "salary_balance": "বেতন ব্যালেন্স: ${amount}", + "enter_withdraw_amount": "উত্তোলনের পরিমাণ লিখুন", + "withdrawal_rule_1": "*(1)উত্তোলনের পরিমাণ অবশ্যই >=$50 হতে হবে", + "withdrawal_rule_2": "(2)প্ল্যাটফর্ম বর্তমান উত্তোলনের পরিমাণের উপর 20% হ্যান্ডলিং ফি চার্জ করবে।", "admin_policy": "অ্যাডমিন নীতি", diff --git a/src/locales/en.json b/src/locales/en.json index 9bd6e11..e967c4c 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -255,6 +255,7 @@ "cash_out_minimum": "*The cash out amount must be >= $50", "new_year_cash_out_minimum": "*The cash out amount must be >= $10", + "cash_withdraw": "Cash Withdraw", "bank_card": "Bank Card", "currently_in_use": "Your Card (In Use)", "no_bank_cards_in_use": "Bank cards are not currently in use.", @@ -273,6 +274,10 @@ "enter_payee": "Enter the payee", "change_kyc": "Change KYC", "confirm_modify_kyc": "Are you sure you want to modify the current information?", + "salary_balance": "Salary Balance: ${amount}", + "enter_withdraw_amount": "Enter withdraw amount", + "withdrawal_rule_1": "*(1)Withdrawal amount must be >=$50", + "withdrawal_rule_2": "(2)The platform will charge a 20% handling fee on the current withdrawal amount.", "admin_policy": "Admin Policy", diff --git a/src/locales/tr.json b/src/locales/tr.json index b126f94..c9af486 100644 --- a/src/locales/tr.json +++ b/src/locales/tr.json @@ -255,6 +255,7 @@ "cash_out_minimum": "*Nakit çekme miktarı >= $50 olmalıdır", "new_year_cash_out_minimum": "*Nakit çekme miktarı >= $10 olmalıdır", + "cash_withdraw": "Nakit Çekim", "bank_card": "Banka Kartı", "currently_in_use": "Kartınız (Kullanımda)", "no_bank_cards_in_use": "Banka kartları şu anda kullanımda değil.", @@ -273,6 +274,10 @@ "enter_payee": "Alıcıyı girin", "change_kyc": "KYC Değiştir", "confirm_modify_kyc": "Mevcut bilgileri değiştirmek istediğinizden emin misiniz?", + "salary_balance": "Maaş Bakiyesi: ${amount}", + "enter_withdraw_amount": "Çekim miktarını girin", + "withdrawal_rule_1": "*(1)Çekim miktarı >=$50 olmalıdır", + "withdrawal_rule_2": "(2)Platform, mevcut çekim miktarı üzerinden %20 işlem ücreti alacaktır.", "admin_policy": "Yönetici Politikası", diff --git a/src/locales/zh.json b/src/locales/zh.json index ed5bcfc..1bba543 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -255,6 +255,7 @@ "cash_out_minimum": "*提现金额必须大于等于50美元", "new_year_cash_out_minimum": "*提现金额必须大于等于10美元", + "cash_withdraw": "现金提现", "bank_card": "银行卡", "currently_in_use": "您的银行卡 (使用中)", "no_bank_cards_in_use": "当前未使用银行卡。", @@ -273,6 +274,10 @@ "enter_payee": "请输入收款人", "change_kyc": "更改 KYC", "confirm_modify_kyc": "您确定要修改当前信息吗?", + "salary_balance": "薪资余额:${amount}", + "enter_withdraw_amount": "请输入提现金额", + "withdrawal_rule_1": "*(1)提现金额必须 >=$50", + "withdrawal_rule_2": "(2)平台将收取当前提现金额 20% 的手续费。", "admin_policy": "管理员政策", diff --git a/src/router/index.js b/src/router/index.js index fd989e0..ecbbb25 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -247,6 +247,12 @@ const router = createRouter({ component: () => import('../views/Wallet/PayResult/payResult.vue'), meta: { requiresAuth: true }, }, + { + path: '/cash-withdraw', + name: 'cash-withdraw', + component: () => import('../views/Wallet/CashOut/CashWithdraw.vue'), + meta: { requiresAuth: true }, + }, { path: '/cash-out', name: 'cash-out', diff --git a/src/utils/permissionManager.js b/src/utils/permissionManager.js index 430f221..1e89379 100644 --- a/src/utils/permissionManager.js +++ b/src/utils/permissionManager.js @@ -82,7 +82,8 @@ export const ROLE_PERMISSIONS = { '/recharge-agency-recruit', //充值代理介绍页面 '/search-payee', //搜索收款人 - '/cash-out', // 提现页面 + '/cash-withdraw', // 提现页面 + '/cash-out', // 活动提现页面 '/cash-out-details', //提现详情页面 '/KYC', //提现资料提交 '/bank-card', //选择银行卡 diff --git a/src/utils/routeGuard.js b/src/utils/routeGuard.js index f7068b7..b809aa5 100644 --- a/src/utils/routeGuard.js +++ b/src/utils/routeGuard.js @@ -431,7 +431,8 @@ class RouteGuard { '/pay-result', //支付结果页 '/search-payee', //搜索收款人 - '/cash-out', // 提现页面 + '/cash-withdraw', // 提现页面 + '/cash-out', // 活动提现页面 '/cash-out-details', //提现详情页面 '/KYC', //提现资料提交 '/bank-card', //选择银行卡 diff --git a/src/views/Wallet/CashOut/CashWithdraw.vue b/src/views/Wallet/CashOut/CashWithdraw.vue new file mode 100644 index 0000000..4aa387c --- /dev/null +++ b/src/views/Wallet/CashOut/CashWithdraw.vue @@ -0,0 +1,833 @@ +// src/views/Wallet/CashOut/CashOut.vue + + + + +