style(ui): 统一页面字号间距与状态样式

This commit is contained in:
Zhou Weidong committed 2026-10-19 10:21:28 +08:00
1 parent df5fbe5b08
commit c5bfd006fa
23 files changed
+542 -569

No files matched your search

+5 -2
View File
@@ -5,6 +5,7 @@ import 'package:flutter/material.dart';
import '../../../core/data/models/comment.dart';
import '../../../core/data/services/comment_controller.dart';
import '../../../core/theme/app_colors.dart';
import '../../../core/theme/app_dimens.dart';
import '../../../l10n/app_localizations.dart';
const String _deleteAction = 'delete';
@@ -43,7 +44,9 @@ class CommentTile extends StatelessWidget {
@override
Widget build(BuildContext context) {
final l10n = AppLocalizations.of(context)!;
final name = comment.nickname.isEmpty ? l10n.anonymousUser : comment.nickname;
final name = comment.nickname.isEmpty
? l10n.anonymousUser
: comment.nickname;
return Padding(
key: Key('comment-item-${comment.id}'),
padding: const EdgeInsets.symmetric(vertical: 8),
@@ -111,7 +114,7 @@ class CommentTile extends StatelessWidget {
key: Key('comment-pending-${comment.id}'),
style: const TextStyle(
color: AppColors.blueSoft,
fontSize: 11,
fontSize: AppDimens.caption,
),
),
),