feat(flutter): 播放页互动数量与评论面板收紧
This commit is contained in:
1 parent
e39aa766ac
commit
bed6bbb75b
13 files changed
+265
-59
No files matched your search
@@ -107,7 +107,11 @@ class CommentTile extends StatelessWidget {
|
||||
),
|
||||
Text(
|
||||
comment.content,
|
||||
style: const TextStyle(color: AppColors.cream, fontSize: 14),
|
||||
style: const TextStyle(
|
||||
color: AppColors.cream,
|
||||
fontSize: 13,
|
||||
height: 1.2,
|
||||
),
|
||||
),
|
||||
if (comment.isPending)
|
||||
Padding(
|
||||
@@ -153,14 +157,14 @@ class CommentTile extends StatelessWidget {
|
||||
}
|
||||
|
||||
Widget _avatar() {
|
||||
final size = isReply ? 24.0 : 32.0;
|
||||
final size = isReply ? 22.0 : 28.0;
|
||||
if (comment.avatarUrl.isEmpty) {
|
||||
return CircleAvatar(
|
||||
radius: size / 2,
|
||||
backgroundColor: AppColors.raised,
|
||||
child: Icon(
|
||||
Icons.person_rounded,
|
||||
size: isReply ? 14 : 18,
|
||||
size: isReply ? 13 : 16,
|
||||
color: AppColors.cream,
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user