fix: 修复图标和标签语义问题

## P0 - 简繁体中文混用(6个文件)
- chart_page.dart: 6处简体→繁体(暂无数据、买入、卖出、加载失败等)
- mine_page.dart: 确定 → 確定
- menu_group1.dart: 确定 → 確定
- deposit_page.dart: 单笔最低充值 → 單筆最低充值、网络 → 網絡

## P1 - 图标库不一致(1个文件)
- register_page.dart: Material Icons 统一为 Lucide Icons
  - Icons.chevron_left → LucideIcons.arrowLeft
  - Icons.check → LucideIcons.check
  - Icons.shield → LucideIcons.shieldCheck
  - Icons.lock → LucideIcons.lock
  - Icons.close → LucideIcons.x
  - Icons.camera_alt → LucideIcons.camera

## P2 - hintText 重复(2个文件)
- register_page.dart: 推廣碼(選填) → 請輸入推廣碼(選填)
- asset_dialogs.dart: 聯繫方式 → 方便客服與您聯繫

## 检查结论
 所有图标与功能语义完全匹配
 所有简繁混用问题已修复
 所有图标库统一为 Lucide Icons
This commit is contained in:
2026-04-08 12:41:00 +08:00
parent e4251a169d
commit 42563c906c
6 changed files with 19 additions and 18 deletions

View File

@@ -46,7 +46,7 @@ class ChartPage extends StatelessWidget {
final data = provider.klineData;
if (data.isEmpty) {
return const Center(child: Text('暂无数据'));
return const Center(child: Text('暫無數據'));
}
return Column(
@@ -382,7 +382,7 @@ class ChartPage extends StatelessWidget {
elevation: 0,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(AppRadius.md)),
),
child: Text('', style: AppTextStyles.headlineSmall(context).copyWith(fontWeight: FontWeight.w600, color: Colors.white)),
child: Text('', style: AppTextStyles.headlineSmall(context).copyWith(fontWeight: FontWeight.w600, color: Colors.white)),
),
),
),
@@ -398,7 +398,7 @@ class ChartPage extends StatelessWidget {
elevation: 0,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(AppRadius.md)),
),
child: Text('', style: AppTextStyles.headlineSmall(context).copyWith(fontWeight: FontWeight.w600, color: Colors.white)),
child: Text('', style: AppTextStyles.headlineSmall(context).copyWith(fontWeight: FontWeight.w600, color: Colors.white)),
),
),
),
@@ -408,7 +408,7 @@ class ChartPage extends StatelessWidget {
}
void _navigateToTrade(BuildContext context, String symbol, String side) {
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('$symbol $side - 跳交易面(待实现')));
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('$symbol $side - 跳交易面(待實現')));
}
Widget _buildTitle(BuildContext context) {
@@ -435,9 +435,9 @@ class ChartPage extends StatelessWidget {
children: [
Icon(Icons.error_outline, size: 48, color: colorScheme.error),
const SizedBox(height: AppSpacing.md),
Text('载失败', style: AppTextStyles.bodyLarge(context)),
Text('載失敗', style: AppTextStyles.bodyLarge(context)),
const SizedBox(height: AppSpacing.sm),
TextButton(onPressed: provider.loadCandles, child: const Text('')),
TextButton(onPressed: provider.loadCandles, child: const Text('')),
],
),
);