Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -74,7 +74,9 @@ class MemberVideoCtr
@override
bool customHandleResponse(
bool isRefresh, Success<SpaceArchiveData> response) {
bool isRefresh,
Success<SpaceArchiveData> response,
) {
SpaceArchiveData data = response.response;
episodicButton
..value = data.episodicButton ?? EpisodicButton()
@@ -116,14 +118,14 @@ class MemberVideoCtr
mid: mid,
aid: type == ContributeType.video
? isLoadPrevious == true
? firstAid
: lastAid
? firstAid
: lastAid
: null,
order: type == ContributeType.video ? order.value : null,
sort: type == ContributeType.video
? isLoadPrevious == true
? 'asc'
: null
? 'asc'
: null
: sort.value,
pn: type == ContributeType.charging ? page : null,
next: next,
@@ -184,7 +186,8 @@ class MemberVideoCtr
SmartDialog.showToast('已跳过不支持播放的视频');
}
bool desc = seasonId != null ? false : true;
desc = (seasonId != null || seriesId != null) &&
desc =
(seasonId != null || seriesId != null) &&
(type == ContributeType.video
? order.value == 'click'
: sort.value == 'asc')
@@ -202,8 +205,9 @@ class MemberVideoCtr
'$username: ${title ?? episodicButton.text ?? '播放全部'}',
if (seriesId == null) 'count': count.value,
if (seasonId != null || seriesId != null)
'mediaType':
Uri.parse(episodicButton.uri!).queryParameters['page_type'],
'mediaType': Uri.parse(
episodicButton.uri!,
).queryParameters['page_type'],
'desc': desc,
if (type == ContributeType.video)
'sortField': order.value == 'click' ? 2 : 1,