mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
Binary file not shown.
|
Before Width: | Height: | Size: 45 KiB |
@@ -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"},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user