fix(asset): 隐藏总资产卡片的每秒增长显示
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1aa655f243
commit
14d29b62ef
|
|
@ -375,34 +375,34 @@ class _AssetPageState extends ConsumerState<AssetPage> {
|
|||
// color: Color(0xFF9CA3AF),
|
||||
// ),
|
||||
// ),
|
||||
const SizedBox(height: 12),
|
||||
// 每秒增长
|
||||
Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
||||
decoration: BoxDecoration(
|
||||
color: isDark ? _green.withOpacity(0.15) : _feta,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const Icon(Icons.bolt, size: 14, color: _green),
|
||||
const SizedBox(width: 6),
|
||||
DataText(
|
||||
data: asset != null
|
||||
? '+${formatDecimal(growthPerSecond.toString(), 8)}/秒'
|
||||
: null,
|
||||
isLoading: isLoading,
|
||||
placeholder: '+--/秒',
|
||||
style: const TextStyle(
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: _green,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
// 每秒增长 - 暂时隐藏
|
||||
// const SizedBox(height: 12),
|
||||
// Container(
|
||||
// padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
||||
// decoration: BoxDecoration(
|
||||
// color: isDark ? _green.withOpacity(0.15) : _feta,
|
||||
// borderRadius: BorderRadius.circular(8),
|
||||
// ),
|
||||
// child: Row(
|
||||
// mainAxisSize: MainAxisSize.min,
|
||||
// children: [
|
||||
// const Icon(Icons.bolt, size: 14, color: _green),
|
||||
// const SizedBox(width: 6),
|
||||
// DataText(
|
||||
// data: asset != null
|
||||
// ? '+${formatDecimal(growthPerSecond.toString(), 8)}/秒'
|
||||
// : null,
|
||||
// isLoading: isLoading,
|
||||
// placeholder: '+--/秒',
|
||||
// style: const TextStyle(
|
||||
// fontSize: 12,
|
||||
// fontWeight: FontWeight.w500,
|
||||
// color: _green,
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue