fix(ui): 修正六屏顶栏与内容间距

This commit is contained in:
Zhou Weidong committed 2026-10-19 16:25:25 +08:00
1 parent e03ea76505
commit 2fd92cdbea
11 files changed
+281 -66

No files matched your search

+7 -7
View File
@@ -257,7 +257,7 @@ class _DiscoverPageState extends State<DiscoverPage> {
tooltip: l10n.search,
onTap: logic.openSearch,
),
const SizedBox(width: 7),
const SizedBox(width: 8),
Semantics(
button: true,
label: widget.signedIn ? l10n.myTab : l10n.logIn,
@@ -266,8 +266,8 @@ class _DiscoverPageState extends State<DiscoverPage> {
customBorder: const CircleBorder(),
onTap: widget.signedIn ? widget.onCoins : widget.onSignIn,
child: Container(
width: 28,
height: 28,
width: 36,
height: 36,
decoration: BoxDecoration(
shape: BoxShape.circle,
gradient: const LinearGradient(
@@ -279,7 +279,7 @@ class _DiscoverPageState extends State<DiscoverPage> {
child: const Icon(
Icons.person_rounded,
color: AppColors.onSurface,
size: 15,
size: 18,
),
),
),
@@ -601,8 +601,8 @@ class _HeaderIcon extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SizedBox(
width: 28,
height: 28,
width: 36,
height: 36,
child: IconButton(
tooltip: tooltip,
onPressed: onTap,
@@ -611,7 +611,7 @@ class _HeaderIcon extends StatelessWidget {
backgroundColor: const Color(0xFF2C2D33),
foregroundColor: AppColors.onSurface,
),
icon: Icon(icon, size: 14),
icon: Icon(icon, size: 18),
),
);
}