mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-14 21:30:15 +08:00
@@ -10,6 +10,7 @@ class VideoCardVSkeleton extends StatelessWidget {
|
|||||||
final color = Theme.of(context).colorScheme.onInverseSurface;
|
final color = Theme.of(context).colorScheme.onInverseSurface;
|
||||||
return Skeleton(
|
return Skeleton(
|
||||||
child: Column(
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
AspectRatio(
|
AspectRatio(
|
||||||
aspectRatio: StyleString.aspectRatio,
|
aspectRatio: StyleString.aspectRatio,
|
||||||
|
|||||||
@@ -172,7 +172,8 @@ class _ArticleListPageState extends State<ArticleListPage> with GridMixin {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
children: [
|
children: [
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: '${DateFormatUtils.dateFormat(item.updateTime)}更新',
|
text:
|
||||||
|
'${DateFormatUtils.dateFormat(item.updateTime)}更新',
|
||||||
),
|
),
|
||||||
divider,
|
divider,
|
||||||
TextSpan(text: '文集号: ${item.id}'),
|
TextSpan(text: '文集号: ${item.id}'),
|
||||||
|
|||||||
@@ -127,7 +127,9 @@ class _CreateReservePageState extends State<CreateReservePage> {
|
|||||||
padding: const EdgeInsets.symmetric(vertical: 4),
|
padding: const EdgeInsets.symmetric(vertical: 4),
|
||||||
child: Obx(
|
child: Obx(
|
||||||
() => Text(
|
() => 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),
|
padding: const EdgeInsets.symmetric(vertical: 4),
|
||||||
child: Obx(
|
child: Obx(
|
||||||
() => Text(
|
() => 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 {
|
Widget get _buildBodyH {
|
||||||
final videoWidth =
|
double videoWidth =
|
||||||
clampDouble(maxHeight / maxWidth * 1.08, 0.56, 0.7) * maxWidth;
|
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;
|
final videoHeight = maxHeight - padding.top;
|
||||||
return Obx(
|
return Obx(
|
||||||
() {
|
() {
|
||||||
@@ -707,7 +709,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
|||||||
Offstage(
|
Offstage(
|
||||||
offstage: isFullScreen,
|
offstage: isFullScreen,
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: maxWidth - videoWidth - padding.horizontal,
|
width: rigthWidth,
|
||||||
height: videoHeight,
|
height: videoHeight,
|
||||||
child: _buildBottomWidget,
|
child: _buildBottomWidget,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -1977,8 +1977,8 @@ class HeaderControlState extends State<HeaderControl> {
|
|||||||
),
|
),
|
||||||
if (introController.videoDetail.value.title != null &&
|
if (introController.videoDetail.value.title != null &&
|
||||||
(isFullScreen ||
|
(isFullScreen ||
|
||||||
(!horizontalScreen && !isPortrait) ||
|
((!horizontalScreen || plPlayerController.isDesktopPip) &&
|
||||||
plPlayerController.isDesktopPip))
|
!isPortrait)))
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
|||||||
@@ -1195,7 +1195,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: media_kit_video
|
path: media_kit_video
|
||||||
ref: "version_1.2.5"
|
ref: "version_1.2.5"
|
||||||
resolved-ref: "3ab061c314d0a7f57e8cd6ea610cc1977686fdc1"
|
resolved-ref: "902e962556c0bde4d384cd8f72b814598e5dfcf2"
|
||||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||||
source: git
|
source: git
|
||||||
version: "1.2.5"
|
version: "1.2.5"
|
||||||
|
|||||||
Reference in New Issue
Block a user