Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-20 16:33:08 +08:00
parent ea32f705f5
commit 3099bd6ca1
3 changed files with 7 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -117,12 +117,11 @@ class MsgHttp {
ReplyOptionType? replyOption, ReplyOptionType? replyOption,
int? privatePub, int? privatePub,
}) async { }) async {
String csrf = Accounts.main.csrf;
var res = await Request().post( var res = await Request().post(
Api.createDynamic, Api.createDynamic,
queryParameters: { queryParameters: {
'platform': 'web', 'platform': 'web',
'csrf': csrf, 'csrf': Accounts.main.csrf,
'x-bili-device-req-json': {"platform": "web", "device": "pc"}, 'x-bili-device-req-json': {"platform": "web", "device": "pc"},
'x-bili-web-req-json': {"spm_id": "333.999"}, 'x-bili-web-req-json': {"spm_id": "333.999"},
}, },

View File

@@ -409,7 +409,7 @@ class _EpisodePanelState extends CommonSlidePageState<EpisodePanel> {
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
if (cover?.isNotEmpty == true) if (cover?.isNotEmpty == true) ...[
AspectRatio( AspectRatio(
aspectRatio: StyleString.aspectRatio, aspectRatio: StyleString.aspectRatio,
child: LayoutBuilder( child: LayoutBuilder(
@@ -444,15 +444,17 @@ class _EpisodePanelState extends CommonSlidePageState<EpisodePanel> {
); );
}, },
), ),
) ),
else if (isCurrentIndex) const SizedBox(width: 10),
] else if (isCurrentIndex) ...[
Image.asset( Image.asset(
'assets/images/live.png', 'assets/images/live.png',
color: primary, color: primary,
height: 12, height: 12,
semanticLabel: "正在播放:", semanticLabel: "正在播放:",
), ),
const SizedBox(width: 10), const SizedBox(width: 10),
],
Expanded( Expanded(
child: Column( child: Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,