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