feat(game): 重构充值功能添加支付渠道选择

- 在 API 类型定义中添加支付渠道、货币代码和银行信息字段
- 实现充值 ViewModel 管理支付渠道、货币、支付方式和银行的选择逻辑
- 添加下拉选择组件让用户选择支付渠道、货币、支付方式和银行
- 更新桌面端和移动端充值界面的 UI 布局和样式设计
- 集成 Lucide 图标库提供支付方式相关的图标显示
- 重构存款配置标准化逻辑支持备用支付渠道数据处理
- 添加多语言本地化资源支持新的支付流程界面文本
- 优化充值创建请求的数据结构和参数传递机制
This commit is contained in:
JiaJun
2026-07-07 15:44:46 +08:00
parent db1251c761
commit 77c1d4aa65
11 changed files with 807 additions and 268 deletions

View File

@@ -246,11 +246,7 @@ export function useWithdrawVm() {
exchangeRateLabel: t('gameDesktop.withdraw.preview.exchangeRate', {
currency: selectedCurrency.code,
}),
exchangeRateValue: t('gameDesktop.withdraw.preview.exchangeRateValue', {
coins: formatNumber(locale, selectedRate),
currency: selectedCurrency.code,
platformCoinLabel: config.platformCoinLabel,
}),
exchangeRateValue: `1:${formatNumber(locale, selectedRate)}`,
convertibleLabel: t('gameDesktop.withdraw.preview.convertible', {
currency: selectedCurrency.code,
}),
@@ -261,7 +257,6 @@ export function useWithdrawVm() {
}),
[
amount,
config.platformCoinLabel,
locale,
selectedCurrency.code,
selectedCurrency.label,