fix(order): correct payment label text in fund order card
Updated the text label from '应收款项' (receivables) to '应付款' (payables) in the fund order card component to accurately reflect the payment direction. Also corrected a typo in the Chinese text for 'fund orders list'.
This commit is contained in:
@@ -126,7 +126,7 @@ class _FundOrderCard extends StatelessWidget {
|
||||
SizedBox(height: AppSpacing.xs),
|
||||
Row(
|
||||
children: [
|
||||
Text('应收款项: ', style: theme.textTheme.muted),
|
||||
Text('应付款: ', style: theme.textTheme.muted),
|
||||
Text('${order.receivableAmount ?? "0"} USDT', style: theme.textTheme.small.copyWith(fontWeight: FontWeight.bold)),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -19,7 +19,7 @@ class FundOrdersList extends StatelessWidget {
|
||||
if (orders.isEmpty) {
|
||||
return _EmptyState(
|
||||
icon: LucideIcons.receipt,
|
||||
message: '暂无充提记录',
|
||||
message: '暂无订单记录',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ class _OrdersPageState extends State<OrdersPage> with AutomaticKeepAliveClientMi
|
||||
child: Column(
|
||||
children: [
|
||||
TabSelector(
|
||||
tabs: const ['充提记录', '交易记录'],
|
||||
tabs: const ['订单记录', '交易记录'],
|
||||
selectedIndex: _activeTab,
|
||||
onChanged: (index) => setState(() => _activeTab = index),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user