feat 优化
This commit is contained in:
@@ -8,6 +8,7 @@ import '../../../core/theme/app_spacing.dart';
|
||||
import '../../../data/models/account_models.dart';
|
||||
import '../../../providers/asset_provider.dart';
|
||||
import '../../../providers/auth_provider.dart';
|
||||
import '../../shared/ui_constants.dart';
|
||||
|
||||
/// 首页 - "The Kinetic Vault" 设计风格
|
||||
class HomePage extends StatefulWidget {
|
||||
@@ -190,7 +191,7 @@ class _GreetingSection extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
'Welcome back,',
|
||||
'欢迎回来,',
|
||||
style: TextStyle(
|
||||
color: AppColorScheme.darkOnSurfaceVariant,
|
||||
fontSize: 14,
|
||||
@@ -199,7 +200,7 @@ class _GreetingSection extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
'Hello, ${auth.user?.username ?? 'User'}',
|
||||
'${auth.user?.username ?? '用户'}',
|
||||
style: const TextStyle(
|
||||
color: AppColorScheme.darkOnSurface,
|
||||
fontWeight: FontWeight.bold,
|
||||
@@ -373,7 +374,7 @@ class _QuickActionsGrid extends StatelessWidget {
|
||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||
children: [
|
||||
_QuickActionBtn(
|
||||
icon: LucideIcons.plusCircle,
|
||||
icon: LucideIcons.plus,
|
||||
label: '充值',
|
||||
color: AppColorScheme.darkPrimary,
|
||||
onTap: onDeposit,
|
||||
@@ -391,7 +392,7 @@ class _QuickActionsGrid extends StatelessWidget {
|
||||
onTap: onTransfer,
|
||||
),
|
||||
_QuickActionBtn(
|
||||
icon: LucideIcons.lineChart,
|
||||
icon: LucideIcons.trendingUp,
|
||||
label: '交易',
|
||||
color: AppColorScheme.darkPrimary,
|
||||
onTap: () {
|
||||
|
||||
Reference in New Issue
Block a user