mod: intro: author info widget

Closes #103

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-06 11:38:11 +08:00
parent 5a481dbaaf
commit fee161e99b

View File

@@ -347,9 +347,6 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
child: videoItem['staff'] == null child: videoItem['staff'] == null
? GestureDetector( ? GestureDetector(
onTap: onPushMember, onTap: onPushMember,
child: Container(
padding: const EdgeInsets.symmetric(
vertical: 1, horizontal: 0),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
@@ -359,8 +356,8 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
src: widget.loadingStatus src: widget.loadingStatus
? videoItem['owner']?.face ?? "" ? videoItem['owner']?.face ?? ""
: videoDetail.owner!.face, : videoDetail.owner!.face,
width: 30, width: 35,
height: 30, height: 35,
fadeInDuration: Duration.zero, fadeInDuration: Duration.zero,
fadeOutDuration: Duration.zero, fadeOutDuration: Duration.zero,
), ),
@@ -377,7 +374,7 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 13,
// color: t.colorScheme.primary, // color: t.colorScheme.primary,
), ),
// semanticsLabel: "UP主${owner.name}", // semanticsLabel: "UP主${owner.name}",
@@ -398,7 +395,6 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
followButton(context, t), followButton(context, t),
], ],
), ),
),
) )
: SelfSizedHorizontalList( : SelfSizedHorizontalList(
gapSize: 25, gapSize: 25,
@@ -430,8 +426,8 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
NetworkImgLayer( NetworkImgLayer(
type: 'avatar', type: 'avatar',
src: videoItem['staff'][index].face, src: videoItem['staff'][index].face,
width: 40, width: 35,
height: 40, height: 35,
fadeInDuration: Duration.zero, fadeInDuration: Duration.zero,
fadeOutDuration: Duration.zero, fadeOutDuration: Duration.zero,
), ),
@@ -446,6 +442,7 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
fontSize: 13,
color: videoItem['staff'][index] color: videoItem['staff'][index]
.vip .vip
.status > .status >