This commit is contained in:
sion
2026-04-07 01:05:05 +08:00
parent edad10ff06
commit 5ca1274607
83 changed files with 1561 additions and 1241 deletions

View File

@@ -13,7 +13,7 @@ import 'components/records_link_row.dart';
import '../orders/fund_orders_page.dart';
import 'transfer_page.dart';
/// 资产页面 - Matching .pen design spec (CMcqs)
/// 資產頁面 - Matching .pen design spec (CMcqs)
class AssetPage extends StatefulWidget {
const AssetPage({super.key});
@@ -78,24 +78,24 @@ class _AssetPageState extends State<AssetPage> with AutomaticKeepAliveClientMixi
Padding(
padding: const EdgeInsets.only(top: 16, bottom: 8),
child: Text(
'资产',
'資產',
style: AppTextStyles.displaySmall(context),
),
),
const SizedBox(height: AppSpacing.sm),
// 资金账户 + 交易账户 左右
// 資金賬戶 + 交易賬戶 左右
Row(
children: [
Expanded(
child: BalanceCard(
label: '资金账户',
label: '資金賬戶',
balance: provider.fundAccount?.balance ?? provider.overview?.fundBalance ?? '0.00',
),
),
const SizedBox(width: AppSpacing.sm),
Expanded(
child: BalanceCard(
label: '交易账户',
label: '交易賬戶',
balance: _calculateTradeTotal(provider),
),
),