From f30fb7a71c67cfe2b0c9b092e2b79b2a90ab7824 Mon Sep 17 00:00:00 2001 From: guozhigq Date: Sat, 21 Oct 2023 21:50:38 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E8=A7=86=E9=A2=91=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/video/detail/introduction/view.dart | 4 ++-- lib/pages/video/detail/widgets/header_control.dart | 11 ++++++----- lib/plugin/pl_player/widgets/bottom_control.dart | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/pages/video/detail/introduction/view.dart b/lib/pages/video/detail/introduction/view.dart index d07b30fd..ef8ab928 100644 --- a/lib/pages/video/detail/introduction/view.dart +++ b/lib/pages/video/detail/introduction/view.dart @@ -248,8 +248,8 @@ class _VideoInfoState extends State with TickerProviderStateMixin { ? widget.videoDetail!.title : videoItem['title'], style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, + fontSize: 17, + fontWeight: FontWeight.bold, ), maxLines: 2, overflow: TextOverflow.ellipsis, diff --git a/lib/pages/video/detail/widgets/header_control.dart b/lib/pages/video/detail/widgets/header_control.dart index e1e94bd9..85adfc25 100644 --- a/lib/pages/video/detail/widgets/header_control.dart +++ b/lib/pages/video/detail/widgets/header_control.dart @@ -43,6 +43,7 @@ class _HeaderControlState extends State { Box localCache = GStrorage.localCache; Box videoStorage = GStrorage.video; late List speedsList; + double buttonSpace = 8; @override void initState() { @@ -276,7 +277,7 @@ class _HeaderControlState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ Text('选择画质', style: titleStyle), - const SizedBox(width: 4), + SizedBox(width: buttonSpace), Icon( Icons.info_outline, size: 16, @@ -793,7 +794,7 @@ class _HeaderControlState extends State { ), fuc: () => Get.back(), ), - const SizedBox(width: 4), + SizedBox(width: buttonSpace), ComBtn( icon: const Icon( FontAwesomeIcons.house, @@ -838,7 +839,7 @@ class _HeaderControlState extends State { ), ), ), - const SizedBox(width: 4), + SizedBox(width: buttonSpace), if (Platform.isAndroid) ...[ SizedBox( width: 34, @@ -870,7 +871,7 @@ class _HeaderControlState extends State { ), ), ), - const SizedBox(width: 4), + SizedBox(width: buttonSpace), ], Obx( () => SizedBox( @@ -888,7 +889,7 @@ class _HeaderControlState extends State { ), ), ), - const SizedBox(width: 4), + SizedBox(width: buttonSpace), ComBtn( icon: const Icon( FontAwesomeIcons.sliders, diff --git a/lib/plugin/pl_player/widgets/bottom_control.dart b/lib/plugin/pl_player/widgets/bottom_control.dart index fb0f42b6..5a1d3cf3 100644 --- a/lib/plugin/pl_player/widgets/bottom_control.dart +++ b/lib/plugin/pl_player/widgets/bottom_control.dart @@ -123,7 +123,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget { ), fuc: () => _.toggleVideoFit(), ), - const SizedBox(width: 4), + const SizedBox(width: 10), // 全屏 Obx( () => ComBtn( @@ -139,7 +139,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget { ), ], ), - const SizedBox(height: 10), + const SizedBox(height: 12), ], ), );