mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: view bangumi
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -44,8 +44,7 @@ class FavVideoCardH extends StatelessWidget {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String? epId;
|
String? epId;
|
||||||
if (videoItem.ogv != null &&
|
if (videoItem.type == 24) {
|
||||||
['番剧', '国创', '纪录片'].contains(videoItem.ogv['type_name'])) {
|
|
||||||
videoItem.cid = await SearchHttp.ab2c(bvid: bvid);
|
videoItem.cid = await SearchHttp.ab2c(bvid: bvid);
|
||||||
dynamic seasonId = videoItem.ogv['season_id'];
|
dynamic seasonId = videoItem.ogv['season_id'];
|
||||||
epId = videoItem.epId;
|
epId = videoItem.epId;
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ class HistoryItem extends StatelessWidget {
|
|||||||
} else {
|
} else {
|
||||||
SmartDialog.showToast('直播未开播');
|
SmartDialog.showToast('直播未开播');
|
||||||
}
|
}
|
||||||
} else if (videoItem.badge == '番剧' ||
|
} else if (videoItem.history?.business == 'pgc' ||
|
||||||
videoItem.tagName.contains('动画')) {
|
videoItem.tagName.contains('动画')) {
|
||||||
/// hack
|
/// hack
|
||||||
var bvid = videoItem.history.bvid;
|
var bvid = videoItem.history.bvid;
|
||||||
|
|||||||
Reference in New Issue
Block a user