opt: 评论信息布局
This commit is contained in:
@ -200,25 +200,36 @@ class ReplyItem extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Row(
|
RichText(
|
||||||
children: <Widget>[
|
text: TextSpan(
|
||||||
Text(
|
children: [
|
||||||
Utils.dateFormat(replyItem!.ctime),
|
TextSpan(
|
||||||
style: TextStyle(
|
text: Utils.dateFormat(replyItem!.ctime),
|
||||||
fontSize: textTheme.labelSmall!.fontSize,
|
|
||||||
color: colorScheme.outline,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
if (replyItem!.replyControl != null &&
|
|
||||||
replyItem!.replyControl!.location != '')
|
|
||||||
Text(
|
|
||||||
' • ${replyItem!.replyControl!.location!}',
|
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: textTheme.labelSmall!.fontSize,
|
fontSize: textTheme.labelSmall!.fontSize,
|
||||||
color: colorScheme.outline),
|
color: colorScheme.outline,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
if (replyItem!.replyControl != null &&
|
||||||
)
|
replyItem!.replyControl!.location != '')
|
||||||
|
TextSpan(
|
||||||
|
text: ' • ${replyItem!.replyControl!.location!}',
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: textTheme.labelSmall!.fontSize,
|
||||||
|
color: colorScheme.outline,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
if (replyItem!.invisible!)
|
||||||
|
TextSpan(
|
||||||
|
text: ' • 隐藏的评论',
|
||||||
|
style: TextStyle(
|
||||||
|
color: colorScheme.outline,
|
||||||
|
fontSize: textTheme.labelSmall!.fontSize,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user