mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-01 23:59:50 +08:00
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user