feat(user-center): points buy, balance withdraw, and asset record tabs

Add cash purchase of points (points_pay_s), wallet withdraw requests via
AKSRT_Withdrawal, Zibll-style dual-card layout with tabbed balance/points
ledgers, and admin switches for buy-points packages and balance withdraw.
This commit is contained in:
kate522 committed 2026-07-16 15:38:55 +08:00
1 parent 0529ab5fb9
commit d57fc6f934
10 files changed
+780 -16

No files matched your search

@@ -23,6 +23,8 @@ export const rechargeSchema = {
pay_balance_exchange_s: false,
pay_balance_exchange_rate: 100,
pay_balance_exchange_desc: '',
pay_balance_withdraw_s: false,
pay_balance_withdraw_lowest_money: 50,
},
groups: [
{
@@ -86,5 +88,14 @@ export const rechargeSchema = {
{ key: 'pay_balance_exchange_desc', label: '兑换说明', type: 'textarea', default: '', dependsOn: { key: 'pay_balance_exchange_s', value: true } },
],
},
{
key: 'withdraw',
title: '余额提现',
icon: 'fas fa-hand-holding-usd',
fields: [
{ key: 'pay_balance_withdraw_s', label: '启用余额提现', type: 'switch', default: false, dependsOn: { key: 'pay_balance_s', value: true } },
{ key: 'pay_balance_withdraw_lowest_money', label: '最低提现金额', type: 'number', default: 50, min: 1, max: 99999, dependsOn: { key: 'pay_balance_withdraw_s', value: true } },
],
},
],
}