From 21e536d829b4c5042a81ae62a168643e87dca094 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 20 Jan 2026 04:19:52 -0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E7=A7=BB=E9=99=A4=E6=89=80=E6=9C=89?= =?UTF-8?q?=E4=BA=BA=E6=B0=91=E5=B8=81=E7=AC=A6=E5=8F=B7=EF=BC=8C=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E4=BD=BF=E7=94=A8=E7=A7=AF=E5=88=86=E5=80=BC=E5=8D=95?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - asset_page: 总资产估值改为显示"积分值"后缀 - asset_page: 估值占位符移除¥符号 - c2c_publish_page: 交易总额、单价、总额改为积分值单位 Co-Authored-By: Claude Opus 4.5 --- .../mining-app/lib/presentation/pages/asset/asset_page.dart | 4 ++-- .../lib/presentation/pages/c2c/c2c_publish_page.dart | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart b/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart index cef8c644..a95c8a2c 100644 --- a/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart +++ b/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart @@ -356,7 +356,7 @@ class _AssetPageState extends ConsumerState { AmountText( amount: displayValue != null ? formatAmount(displayValue) : null, isLoading: isLoading, - prefix: '¥ ', + suffix: ' 积分值', style: const TextStyle( fontSize: 30, fontWeight: FontWeight.bold, @@ -630,7 +630,7 @@ class _AssetPageState extends ConsumerState { DataText( data: isLoading ? null : '≈ $valueInCny', isLoading: isLoading, - placeholder: '≈ ¥--', + placeholder: '≈ --', style: TextStyle( fontSize: 12, color: AppColors.textMutedOf(context), diff --git a/frontend/mining-app/lib/presentation/pages/c2c/c2c_publish_page.dart b/frontend/mining-app/lib/presentation/pages/c2c/c2c_publish_page.dart index 744aa5b4..b48e5408 100644 --- a/frontend/mining-app/lib/presentation/pages/c2c/c2c_publish_page.dart +++ b/frontend/mining-app/lib/presentation/pages/c2c/c2c_publish_page.dart @@ -629,7 +629,7 @@ class _C2cPublishPageState extends ConsumerState { children: [ const Text('交易总额', style: TextStyle(fontSize: 14, color: _grayText)), Text( - '¥${formatAmount(total.toString())}', + '${formatAmount(total.toString())} 积分值', style: const TextStyle( fontSize: 18, fontWeight: FontWeight.bold, @@ -818,12 +818,12 @@ class _C2cPublishPageState extends ConsumerState { mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text('单价: ¥$price/积分值'), + Text('单价: $price 积分值'), const SizedBox(height: 8), Text('数量: $quantity 积分值'), const SizedBox(height: 8), Text( - '总额: ¥${formatAmount((double.parse(price) * double.parse(quantity)).toString())}', + '总额: ${formatAmount((double.parse(price) * double.parse(quantity)).toString())} 积分值', style: const TextStyle(fontWeight: FontWeight.bold), ), if (isSell) ...[