feat: later page: multi select

feat: fav detail page: multi select

opt: reply item

opt: load more

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-28 20:53:52 +08:00
parent 665dd8b92a
commit 12818ae415
51 changed files with 988 additions and 759 deletions

View File

@@ -27,6 +27,7 @@ class HotVideoItemModel {
this.seasontype,
this.isOgv,
this.rcmdReason,
required this.checked,
});
int? aid;
@@ -54,6 +55,7 @@ class HotVideoItemModel {
int? seasontype;
bool? isOgv;
RcmdReason? rcmdReason;
late bool checked;
HotVideoItemModel.fromJson(Map<String, dynamic> json) {
aid = json["aid"];
@@ -83,6 +85,7 @@ class HotVideoItemModel {
rcmdReason = json['rcmd_reason'] != '' && json['rcmd_reason'] != null
? RcmdReason.fromJson(json['rcmd_reason'])
: null;
checked = false;
}
}

View File

@@ -47,6 +47,7 @@ class FavDetailItemData {
this.stat,
this.cid,
this.epId,
required this.checked,
});
int? id;
@@ -69,6 +70,7 @@ class FavDetailItemData {
Stat? stat;
int? cid;
String? epId;
late bool checked;
FavDetailItemData.fromJson(Map<String, dynamic> json) {
id = json['id'];
@@ -93,6 +95,7 @@ class FavDetailItemData {
if (json['link'] != null && json['link'].contains('/bangumi')) {
epId = resolveEpId(json['link']);
}
checked = false;
}
String resolveEpId(url) {