feat(game): 添加手续费处理功能并优化提现界面
- 在 API 类型定义中添加 handling_fee 字段支持 - 更新提现组件中的快速金额卡片布局和样式 - 重构 QuickAmountCard 组件以显示金额、钻石和手续费信息 - 在预览区域添加手续费显示行 - 实现手续费计算逻辑和格式化函数 - 更新多语言文件中的手续费相关文本 - 修复提交按钮文本国际化引用路径错误 - 调整桌面和移动端提现界面的宽度和间距参数
This commit is contained in:
@@ -105,6 +105,7 @@ function normalizePayChannel(dto: FinancePayChannelDto) {
|
||||
currencyCodes: Array.isArray(dto.currency_codes) ? dto.currency_codes : [],
|
||||
depositBanks: (dto.deposit_banks ?? []).map(normalizeWithdrawBank),
|
||||
feeNote: dto.fee_note ?? '',
|
||||
handlingFee: dto.handling_fee ?? '0.00',
|
||||
methods: (dto.methods ?? []).map(normalizeDepositMethod),
|
||||
minBank: dto.min_bank ?? '',
|
||||
minEwallet: dto.min_ewallet ?? '',
|
||||
|
||||
Reference in New Issue
Block a user