Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-22 11:49:24 +08:00
parent 2efb04f77e
commit 4ca9dfecb4
7 changed files with 16 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ class VideoCardVSkeleton extends StatelessWidget {
final color = Theme.of(context).colorScheme.onInverseSurface;
return Skeleton(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
AspectRatio(
aspectRatio: StyleString.aspectRatio,

View File

@@ -172,7 +172,8 @@ class _ArticleListPageState extends State<ArticleListPage> with GridMixin {
TextSpan(
children: [
TextSpan(
text: '${DateFormatUtils.dateFormat(item.updateTime)}更新',
text:
'${DateFormatUtils.dateFormat(item.updateTime)}更新',
),
divider,
TextSpan(text: '文集号: ${item.id}'),

View File

@@ -127,7 +127,9 @@ class _CreateReservePageState extends State<CreateReservePage> {
padding: const EdgeInsets.symmetric(vertical: 4),
child: Obx(
() => Text(
DateFormatUtils.longFormatD.format(_controller.date.value),
DateFormatUtils.longFormatD.format(
_controller.date.value,
),
),
),
),

View File

@@ -244,7 +244,9 @@ class _CreateVotePageState extends State<CreateVotePage> {
padding: const EdgeInsets.symmetric(vertical: 4),
child: Obx(
() => Text(
DateFormatUtils.longFormatD.format(_controller.endtime.value),
DateFormatUtils.longFormatD.format(
_controller.endtime.value,
),
),
),
),

View File

@@ -672,8 +672,10 @@ class _LiveRoomPageState extends State<LiveRoomPage>
}
Widget get _buildBodyH {
final videoWidth =
double videoWidth =
clampDouble(maxHeight / maxWidth * 1.08, 0.56, 0.7) * maxWidth;
final rigthWidth = min(400.0, maxWidth - videoWidth - padding.horizontal);
videoWidth = maxWidth - rigthWidth;
final videoHeight = maxHeight - padding.top;
return Obx(
() {
@@ -707,7 +709,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
Offstage(
offstage: isFullScreen,
child: SizedBox(
width: maxWidth - videoWidth - padding.horizontal,
width: rigthWidth,
height: videoHeight,
child: _buildBottomWidget,
),

View File

@@ -1977,8 +1977,8 @@ class HeaderControlState extends State<HeaderControl> {
),
if (introController.videoDetail.value.title != null &&
(isFullScreen ||
(!horizontalScreen && !isPortrait) ||
plPlayerController.isDesktopPip))
((!horizontalScreen || plPlayerController.isDesktopPip) &&
!isPortrait)))
Expanded(
child: Column(
mainAxisSize: MainAxisSize.min,

View File

@@ -1195,7 +1195,7 @@ packages:
description:
path: media_kit_video
ref: "version_1.2.5"
resolved-ref: "3ab061c314d0a7f57e8cd6ea610cc1977686fdc1"
resolved-ref: "902e962556c0bde4d384cd8f72b814598e5dfcf2"
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
source: git
version: "1.2.5"