mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -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,
|
||||
|
||||
@@ -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}'),
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user