diff --git a/lib/pages/video/detail/introduction/view.dart b/lib/pages/video/detail/introduction/view.dart index e673cb1a4..d49834bf8 100644 --- a/lib/pages/video/detail/introduction/view.dart +++ b/lib/pages/video/detail/introduction/view.dart @@ -548,64 +548,66 @@ class _VideoInfoState extends State with TickerProviderStateMixin { ), ), ), - const SizedBox(height: 8), Stack( children: [ GestureDetector( behavior: HitTestBehavior.translucent, onTap: showIntroDetail, - child: Row( - children: [ - statView( - context: context, - theme: 'gray', - view: !widget.loadingStatus - ? videoDetail.stat?.view ?? '-' - : videoItem['stat']?.view ?? '-', - size: 'medium', - ), - const SizedBox(width: 10), - statDanMu( - context: context, - theme: 'gray', - danmu: !widget.loadingStatus - ? videoDetail.stat?.danmu ?? '-' - : videoItem['stat']?.danmu ?? '-', - size: 'medium', - ), - const SizedBox(width: 10), - Text( - Utils.dateFormat( - !widget.loadingStatus - ? videoDetail.pubdate - : videoItem['pubdate'], - formatType: 'detail'), - style: TextStyle( - fontSize: 12, - color: t.colorScheme.outline, + child: Padding( + padding: const EdgeInsets.only(top: 8), + child: Row( + children: [ + statView( + context: context, + theme: 'gray', + view: !widget.loadingStatus + ? videoDetail.stat?.view ?? '-' + : videoItem['stat']?.view ?? '-', + size: 'medium', ), - ), - if (MineController.anonymity.value) ...[ const SizedBox(width: 10), - Icon( - MdiIcons.incognito, - size: 15, - color: t.colorScheme.outline, - semanticLabel: '无痕', + statDanMu( + context: context, + theme: 'gray', + danmu: !widget.loadingStatus + ? videoDetail.stat?.danmu ?? '-' + : videoItem['stat']?.danmu ?? '-', + size: 'medium', ), - ], - const SizedBox(width: 10), - if (videoIntroController.isShowOnlineTotal) - Obx( - () => Text( - '${videoIntroController.total.value}人在看', - style: TextStyle( - fontSize: 12, - color: t.colorScheme.outline, - ), + const SizedBox(width: 10), + Text( + Utils.dateFormat( + !widget.loadingStatus + ? videoDetail.pubdate + : videoItem['pubdate'], + formatType: 'detail'), + style: TextStyle( + fontSize: 12, + color: t.colorScheme.outline, ), ), - ], + if (MineController.anonymity.value) ...[ + const SizedBox(width: 10), + Icon( + MdiIcons.incognito, + size: 15, + color: t.colorScheme.outline, + semanticLabel: '无痕', + ), + ], + const SizedBox(width: 10), + if (videoIntroController.isShowOnlineTotal) + Obx( + () => Text( + '${videoIntroController.total.value}人在看', + style: TextStyle( + fontSize: 12, + color: t.colorScheme.outline, + ), + ), + ), + ], + ), ), ), if (videoIntroController.enableAi)