fix(ui): 移除所有人民币符号,统一使用积分值单位

- asset_page: 总资产估值改为显示"积分值"后缀
- asset_page: 估值占位符移除¥符号
- c2c_publish_page: 交易总额、单价、总额改为积分值单位

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-20 04:19:52 -08:00
parent 14d29b62ef
commit 21e536d829
2 changed files with 5 additions and 5 deletions

View File

@ -356,7 +356,7 @@ class _AssetPageState extends ConsumerState<AssetPage> {
AmountText( AmountText(
amount: displayValue != null ? formatAmount(displayValue) : null, amount: displayValue != null ? formatAmount(displayValue) : null,
isLoading: isLoading, isLoading: isLoading,
prefix: '¥ ', suffix: ' 积分值',
style: const TextStyle( style: const TextStyle(
fontSize: 30, fontSize: 30,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
@ -630,7 +630,7 @@ class _AssetPageState extends ConsumerState<AssetPage> {
DataText( DataText(
data: isLoading ? null : '$valueInCny', data: isLoading ? null : '$valueInCny',
isLoading: isLoading, isLoading: isLoading,
placeholder: '¥--', placeholder: '--',
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 12,
color: AppColors.textMutedOf(context), color: AppColors.textMutedOf(context),

View File

@ -629,7 +629,7 @@ class _C2cPublishPageState extends ConsumerState<C2cPublishPage> {
children: [ children: [
const Text('交易总额', style: TextStyle(fontSize: 14, color: _grayText)), const Text('交易总额', style: TextStyle(fontSize: 14, color: _grayText)),
Text( Text(
'${formatAmount(total.toString())}', '${formatAmount(total.toString())} 积分值',
style: const TextStyle( style: const TextStyle(
fontSize: 18, fontSize: 18,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
@ -818,12 +818,12 @@ class _C2cPublishPageState extends ConsumerState<C2cPublishPage> {
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Text('单价: $price/积分值'), Text('单价: $price 积分值'),
const SizedBox(height: 8), const SizedBox(height: 8),
Text('数量: $quantity 积分值'), Text('数量: $quantity 积分值'),
const SizedBox(height: 8), const SizedBox(height: 8),
Text( Text(
'总额: ${formatAmount((double.parse(price) * double.parse(quantity)).toString())}', '总额: ${formatAmount((double.parse(price) * double.parse(quantity)).toString())} 积分值',
style: const TextStyle(fontWeight: FontWeight.bold), style: const TextStyle(fontWeight: FontWeight.bold),
), ),
if (isSell) ...[ if (isSell) ...[