diff --git a/lib/pages/video/detail/introduction/view.dart b/lib/pages/video/detail/introduction/view.dart index 8d372942e..2548d1f20 100644 --- a/lib/pages/video/detail/introduction/view.dart +++ b/lib/pages/video/detail/introduction/view.dart @@ -231,7 +231,7 @@ class _VideoInfoState extends State with TickerProviderStateMixin { @override Widget build(BuildContext context) { return SliverPadding( - padding: const EdgeInsets.only(left: 12, right: 12, top: 20), + padding: const EdgeInsets.only(left: 12, right: 12, top: 10), sliver: SliverToBoxAdapter( child: !widget.loadingStatus || videoItem.isNotEmpty ? Column( diff --git a/lib/pages/video/detail/reply/view.dart b/lib/pages/video/detail/reply/view.dart index 852dc022f..91484cce3 100644 --- a/lib/pages/video/detail/reply/view.dart +++ b/lib/pages/video/detail/reply/view.dart @@ -53,9 +53,10 @@ class _VideoReplyPanelState extends State tag: widget.rpid.toString()); _videoReplyController.rPid = widget.rpid; } else { - int oid = Get.parameters['bvid'] != null - ? IdUtils.bv2av(Get.parameters['bvid']!) - : 0; + // fix 评论加载不对称 + // int oid = Get.parameters['bvid'] != null + // ? IdUtils.bv2av(Get.parameters['bvid']!) + // : 0; _videoReplyController = Get.put(VideoReplyController(oid, '', '1'), tag: Get.arguments['heroTag']); } diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index fcd3c0216..1017d2e24 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -232,7 +232,7 @@ class _VideoDetailPageState extends State children: [ Container( width: double.infinity, - height: 0, + height: 45, decoration: BoxDecoration( border: Border( bottom: BorderSide( @@ -252,8 +252,8 @@ class _VideoDetailPageState extends State () => TabBar( controller: videoDetailController.tabCtr, dividerColor: Colors.transparent, - indicatorColor: - Theme.of(context).colorScheme.background, + // indicatorColor: + // Theme.of(context).colorScheme.background, tabs: videoDetailController.tabs .map((String name) => Tab(text: name)) .toList(), @@ -278,7 +278,9 @@ class _VideoDetailPageState extends State ); }, ), - VideoReplyPanel() + VideoReplyPanel( + bvid: videoDetailController.bvid, + ) ], ), ),