fix(c2c): 修正资产概览显示,C2C只涉及积分值不涉及积分股
左栏改回"可用积分值",右栏改为"冻结积分值",消除重复显示。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f60e3751b8
commit
0ad1136e48
|
|
@ -110,8 +110,8 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
|||
}
|
||||
|
||||
Widget _buildAssetOverview(BuildContext context, asset) {
|
||||
final availableShares = asset?.availableShares ?? '0';
|
||||
final availableCash = asset?.availableCash ?? '0';
|
||||
final frozenCash = asset?.frozenCash ?? '0';
|
||||
|
||||
return Container(
|
||||
margin: const EdgeInsets.all(16),
|
||||
|
|
@ -127,12 +127,12 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
'可用积分股',
|
||||
'可用积分值',
|
||||
style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context)),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
formatAmount(availableShares),
|
||||
formatAmount(availableCash),
|
||||
style: const TextStyle(
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
|
|
@ -150,12 +150,12 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
'可用积分值',
|
||||
'冻结积分值',
|
||||
style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context)),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
formatAmount(availableCash),
|
||||
formatAmount(frozenCash),
|
||||
style: const TextStyle(
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
|
|
|
|||
Loading…
Reference in New Issue