This commit is contained in:
sion
2026-04-05 19:43:31 +08:00
parent 5b9a80e3fe
commit 2fbc47117c
94 changed files with 1032 additions and 882 deletions

View File

@@ -29,7 +29,7 @@ class _FundOrderCard extends StatelessWidget {
return AppColorScheme.muted;
}
} else {
// 提现状态: 1=待审批, 2=已完成, 3=已驳回, 4=已取消
// 提现状态: 1=待审批, 2=已完成, 3=已驳回, 4=已取消, 5=待财务审核
switch (status) {
case 1:
return AppColorScheme.warning;
@@ -39,6 +39,8 @@ class _FundOrderCard extends StatelessWidget {
return AppColorScheme.error;
case 4:
return AppColorScheme.muted;
case 5:
return AppColorScheme.info;
default:
return AppColorScheme.muted;
}
@@ -71,6 +73,8 @@ class _FundOrderCard extends StatelessWidget {
return '已驳回';
case 4:
return '已取消';
case 5:
return '待财务审核';
default:
return '未知';
}
@@ -112,6 +116,22 @@ class _FundOrderCard extends StatelessWidget {
],
),
SizedBox(height: AppSpacing.sm),
if (!isDeposit && order.fee != null) ...[
Row(
children: [
Text('手续费(10%): ', style: theme.textTheme.muted),
Text('-${order.fee} USDT', style: theme.textTheme.small),
],
),
SizedBox(height: AppSpacing.xs),
Row(
children: [
Text('应收款项: ', style: theme.textTheme.muted),
Text('${order.receivableAmount ?? "0"} USDT', style: theme.textTheme.small.copyWith(fontWeight: FontWeight.bold)),
],
),
SizedBox(height: AppSpacing.sm),
],
Row(
children: [
Text('订单号: ', style: theme.textTheme.muted),