fix(c2c): 单价和总金额单位改为绿积分,待付款提示改为对方
- C2C市场列表/接单弹窗中单价和总金额单位从"积分值"改为"绿积分" - 订单详情待付款倒计时提示改为"对方将在xx:xx内完成付款" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
64d998c7b3
commit
73a617b88c
|
|
@ -372,7 +372,7 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
||||||
Text('单价', style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context))),
|
Text('单价', style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context))),
|
||||||
const SizedBox(height: 4),
|
const SizedBox(height: 4),
|
||||||
Text(
|
Text(
|
||||||
'${formatCompact(order.price)} 积分值',
|
'${formatCompact(order.price)} 绿积分',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
|
|
@ -414,7 +414,7 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
||||||
children: [
|
children: [
|
||||||
Text('总金额', style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context))),
|
Text('总金额', style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context))),
|
||||||
Text(
|
Text(
|
||||||
'${formatCompact(order.totalAmount)} 积分值',
|
'${formatCompact(order.totalAmount)} 绿积分',
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
|
|
@ -505,7 +505,7 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'${formatCompact(order.totalAmount)} 积分值',
|
'${formatCompact(order.totalAmount)} 绿积分',
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
|
|
@ -672,7 +672,7 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
Text('单价', style: TextStyle(fontSize: 13, color: AppColors.textSecondaryOf(context))),
|
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),
|
const SizedBox(height: 8),
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ class _C2cOrderDetailPageState extends ConsumerState<C2cOrderDetailPage> {
|
||||||
statusText = '待付款';
|
statusText = '待付款';
|
||||||
remainingSeconds = order.paymentRemainingSeconds;
|
remainingSeconds = order.paymentRemainingSeconds;
|
||||||
statusDesc = remainingSeconds != null && remainingSeconds > 0
|
statusDesc = remainingSeconds != null && remainingSeconds > 0
|
||||||
? '请在 ${_formatRemainingTime(remainingSeconds)} 内完成付款'
|
? '对方将在 ${_formatRemainingTime(remainingSeconds)} 内完成付款'
|
||||||
: '买方需在规定时间内付款';
|
: '买方需在规定时间内付款';
|
||||||
statusIcon = Icons.payment;
|
statusIcon = Icons.payment;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue