diff --git a/flutter_monisuo/lib/ui/pages/asset/components/asset_dialogs.dart b/flutter_monisuo/lib/ui/pages/asset/components/asset_dialogs.dart index 5f1bedf..3d8b22d 100644 --- a/flutter_monisuo/lib/ui/pages/asset/components/asset_dialogs.dart +++ b/flutter_monisuo/lib/ui/pages/asset/components/asset_dialogs.dart @@ -553,7 +553,7 @@ void showWithdrawDialog(BuildContext context, String? balance) { MaterialInput( controller: contactController, labelText: '聯繫方式(可選)', - hintText: '聯繫方式', + hintText: '方便客服與您聯繫', ), ], ), diff --git a/flutter_monisuo/lib/ui/pages/asset/deposit_page.dart b/flutter_monisuo/lib/ui/pages/asset/deposit_page.dart index 4a5324d..6ef0197 100644 --- a/flutter_monisuo/lib/ui/pages/asset/deposit_page.dart +++ b/flutter_monisuo/lib/ui/pages/asset/deposit_page.dart @@ -269,7 +269,7 @@ class _DepositPageState extends State { size: 13, color: colorScheme.onSurfaceVariant), const SizedBox(width: 6), Text( - '单笔最低充值 1000 USDT', + '單筆最低充值 1000 USDT', style: AppTextStyles.bodySmall(context).copyWith( color: colorScheme.onSurfaceVariant, ), @@ -561,7 +561,7 @@ class _DepositPageState extends State { ), const SizedBox(height: 8), Text( - '网络: $_walletNetwork', + '網絡: $_walletNetwork', style: AppTextStyles.bodySmall(context).copyWith( color: colorScheme.onSurfaceVariant, ), diff --git a/flutter_monisuo/lib/ui/pages/auth/register_page.dart b/flutter_monisuo/lib/ui/pages/auth/register_page.dart index 618f6df..3ca29c3 100644 --- a/flutter_monisuo/lib/ui/pages/auth/register_page.dart +++ b/flutter_monisuo/lib/ui/pages/auth/register_page.dart @@ -2,6 +2,7 @@ import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:image_picker/image_picker.dart'; +import 'package:lucide_icons_flutter/lucide_icons.dart'; import '../../../core/theme/app_color_scheme.dart'; import '../../../core/theme/app_spacing.dart'; @@ -85,7 +86,7 @@ class _RegisterPageState extends State { backgroundColor: AppColorScheme.darkBackground.withValues(alpha: 0), elevation: 0, leading: IconButton( - icon: Icon(Icons.chevron_left, color: colorScheme.onSurface), + icon: Icon(LucideIcons.arrowLeft, color: colorScheme.onSurface), onPressed: _currentStep == 1 ? () => setState(() => _currentStep = 0) : () => Navigator.pop(context), @@ -171,7 +172,7 @@ class _RegisterPageState extends State { ), child: Center( child: isComplete - ? Icon(Icons.check, size: 16, color: textColor) + ? Icon(LucideIcons.check, size: 16, color: textColor) : Text( number, style: AppTextStyles.headlineMedium(context).copyWith( @@ -258,7 +259,7 @@ class _RegisterPageState extends State { MaterialInput( controller: _referralCodeController, labelText: '推廣碼', - hintText: '推廣碼(選填)', + hintText: '請輸入推廣碼(選填)', prefixIcon: Icons.card_giftcard, ), const SizedBox(height: AppSpacing.xl), @@ -315,7 +316,7 @@ class _RegisterPageState extends State { borderRadius: BorderRadius.circular(AppRadius.md), ), child: Icon( - Icons.shield, + LucideIcons.shieldCheck, color: colorScheme.primary, size: 22, ), @@ -414,7 +415,7 @@ class _RegisterPageState extends State { ), child: Row( children: [ - Icon(Icons.lock, size: 16, color: AppColorScheme.up), + Icon(LucideIcons.lock, size: 16, color: AppColorScheme.up), const SizedBox(width: AppSpacing.sm), Expanded( child: Text( @@ -518,7 +519,7 @@ class _RegisterPageState extends State { shape: BoxShape.circle, ), child: Icon( - Icons.close, + LucideIcons.x, size: 14, color: AppColorScheme.darkOnPrimary, ), @@ -540,7 +541,7 @@ class _RegisterPageState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ Icon( - Icons.camera_alt, + LucideIcons.camera, size: 28, color: colorScheme.onSurfaceVariant.withValues(alpha: 0.5), ), diff --git a/flutter_monisuo/lib/ui/pages/chart/chart_page.dart b/flutter_monisuo/lib/ui/pages/chart/chart_page.dart index 91efb64..3e82266 100644 --- a/flutter_monisuo/lib/ui/pages/chart/chart_page.dart +++ b/flutter_monisuo/lib/ui/pages/chart/chart_page.dart @@ -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('重試')), ], ), ); diff --git a/flutter_monisuo/lib/ui/pages/mine/components/menu_group1.dart b/flutter_monisuo/lib/ui/pages/mine/components/menu_group1.dart index 06b8128..e40c2b0 100644 --- a/flutter_monisuo/lib/ui/pages/mine/components/menu_group1.dart +++ b/flutter_monisuo/lib/ui/pages/mine/components/menu_group1.dart @@ -82,7 +82,7 @@ void _showKycStatusDialog(BuildContext context) { actions: [ TextButton( onPressed: () => Navigator.of(ctx).pop(), - child: const Text('确定'), + child: const Text('確定'), ), ], ), diff --git a/flutter_monisuo/lib/ui/pages/mine/mine_page.dart b/flutter_monisuo/lib/ui/pages/mine/mine_page.dart index b139e98..98d4386 100644 --- a/flutter_monisuo/lib/ui/pages/mine/mine_page.dart +++ b/flutter_monisuo/lib/ui/pages/mine/mine_page.dart @@ -99,7 +99,7 @@ class _MinePageState extends State actions: [ TextButton( onPressed: () => Navigator.of(ctx).pop(), - child: const Text('确定'), + child: const Text('確定'), ), ], ),