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

@@ -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,