fix: 修复充值/提现图标含义错误
## 问题 - 充值显示 arrowUpRight(右上箭头),看起来像禁止符号 - 提现显示 arrowDownLeft(左下箭头),含义不直观 ## 修复(2个文件) ### quick_actions_row.dart(首页快捷操作) - 充值:arrowUpRight → arrowDownToLine(箭头向下到底线,资金入账) - 提现:arrowDownLeft → arrowUpFromLine(箭头向上离开底线,资金转出) ### action_buttons_row.dart(资产页面操作按钮) - 充值:arrowUpRight → arrowDownToLine - 提现:arrowDownLeft → arrowUpFromLine ## 检查结果 ✅ 底部导航图标全部正确(首页/行情/交易/资产/我的) ✅ 其他页面图标全部正确(划转/盈亏/账单等) ✅ 71处 LucideIcons 使用全部语义匹配
This commit is contained in:
@@ -29,7 +29,7 @@ class ActionButtonsRow extends StatelessWidget {
|
|||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
ActionButton(
|
ActionButton(
|
||||||
icon: LucideIcons.arrowUpRight,
|
icon: LucideIcons.arrowDownToLine,
|
||||||
label: '充值',
|
label: '充值',
|
||||||
accentColor: accentColor,
|
accentColor: accentColor,
|
||||||
bgColor: bgColor,
|
bgColor: bgColor,
|
||||||
@@ -37,7 +37,7 @@ class ActionButtonsRow extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
ActionButton(
|
ActionButton(
|
||||||
icon: LucideIcons.arrowDownLeft,
|
icon: LucideIcons.arrowUpFromLine,
|
||||||
label: '提現',
|
label: '提現',
|
||||||
accentColor: accentColor,
|
accentColor: accentColor,
|
||||||
bgColor: bgColor,
|
bgColor: bgColor,
|
||||||
|
|||||||
@@ -49,13 +49,13 @@ class QuickActionsRow extends StatelessWidget {
|
|||||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||||
children: [
|
children: [
|
||||||
_ActionItem(
|
_ActionItem(
|
||||||
icon: LucideIcons.arrowUpRight,
|
icon: LucideIcons.arrowDownToLine,
|
||||||
label: '充值',
|
label: '充值',
|
||||||
colorScheme: colorScheme,
|
colorScheme: colorScheme,
|
||||||
onTap: onDeposit,
|
onTap: onDeposit,
|
||||||
),
|
),
|
||||||
_ActionItem(
|
_ActionItem(
|
||||||
icon: LucideIcons.arrowDownLeft,
|
icon: LucideIcons.arrowUpFromLine,
|
||||||
label: '提現',
|
label: '提現',
|
||||||
colorScheme: colorScheme,
|
colorScheme: colorScheme,
|
||||||
onTap: onWithdraw,
|
onTap: onWithdraw,
|
||||||
|
|||||||
Reference in New Issue
Block a user