revert(c2c): 还原C2C市场页资产概览为原始状态
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
0ad1136e48
commit
6bcc571453
|
|
@ -110,8 +110,8 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildAssetOverview(BuildContext context, asset) {
|
Widget _buildAssetOverview(BuildContext context, asset) {
|
||||||
|
final availableShares = asset?.availableShares ?? '0';
|
||||||
final availableCash = asset?.availableCash ?? '0';
|
final availableCash = asset?.availableCash ?? '0';
|
||||||
final frozenCash = asset?.frozenCash ?? '0';
|
|
||||||
|
|
||||||
return Container(
|
return Container(
|
||||||
margin: const EdgeInsets.all(16),
|
margin: const EdgeInsets.all(16),
|
||||||
|
|
@ -150,12 +150,12 @@ class _C2cMarketPageState extends ConsumerState<C2cMarketPage>
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'冻结积分值',
|
'可用积分值',
|
||||||
style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context)),
|
style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context)),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 4),
|
const SizedBox(height: 4),
|
||||||
Text(
|
Text(
|
||||||
formatAmount(frozenCash),
|
formatAmount(availableCash),
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue