fix(c2c): 单价和总金额单位改为绿积分,待付款提示改为对方

- C2C市场列表/接单弹窗中单价和总金额单位从"积分值"改为"绿积分"
- 订单详情待付款倒计时提示改为"对方将在xx:xx内完成付款"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-01 00:57:30 -08:00
parent 64d998c7b3
commit 73a617b88c
2 changed files with 5 additions and 5 deletions

View File

@ -372,7 +372,7 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
Text('单价', style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context))),
const SizedBox(height: 4),
Text(
'${formatCompact(order.price)} 积分',
'${formatCompact(order.price)} 绿积分',
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
@ -414,7 +414,7 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
children: [
Text('总金额', style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context))),
Text(
'${formatCompact(order.totalAmount)} 积分',
'${formatCompact(order.totalAmount)} 绿积分',
style: const TextStyle(
fontSize: 14,
fontWeight: FontWeight.bold,
@ -505,7 +505,7 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
),
),
Text(
'${formatCompact(order.totalAmount)} 积分',
'${formatCompact(order.totalAmount)} 绿积分',
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
@ -672,7 +672,7 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('单价', style: TextStyle(fontSize: 13, color: AppColors.textSecondaryOf(context))),
Text('${formatCompact(order.price)} 积分', style: TextStyle(fontSize: 13, color: AppColors.textPrimaryOf(context))),
Text('${formatCompact(order.price)} 绿积分', style: TextStyle(fontSize: 13, color: AppColors.textPrimaryOf(context))),
],
),
const SizedBox(height: 8),

View File

@ -177,7 +177,7 @@ class _C2cOrderDetailPageState extends ConsumerState<C2cOrderDetailPage> {
statusText = '待付款';
remainingSeconds = order.paymentRemainingSeconds;
statusDesc = remainingSeconds != null && remainingSeconds > 0
? '${_formatRemainingTime(remainingSeconds)} 内完成付款'
? '对方将${_formatRemainingTime(remainingSeconds)} 内完成付款'
: '买方需在规定时间内付款';
statusIcon = Icons.payment;
break;