Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-14 11:40:01 +08:00
parent 22d9fbddf9
commit 0cd57c9bb0
10 changed files with 24 additions and 24 deletions

View File

@@ -0,0 +1,28 @@
// ignore_for_file: constant_identifier_names
enum SearchType {
// all('综合'),
// 视频video
video('视频', hasHeader: true),
// 番剧media_bangumi,
media_bangumi('番剧'),
// 影视media_ft
media_ft('影视'),
// 直播间及主播live
// live,
// 直播间live_room
live_room('直播间'),
// 主播live_user
// live_user,
// 话题topic
// topic,
// 用户bili_user
bili_user('用户', hasHeader: true),
// 专栏article
article('专栏', hasHeader: true);
// 相簿photo
// photo
final bool hasHeader;
final String label;
const SearchType(this.label, {this.hasHeader = false});
}

View File

@@ -47,3 +47,18 @@ enum VideoZoneType {
final int? tids;
const VideoZoneType(this.label, {this.tids});
}
// 搜索类型为视频、专栏及相簿时
enum ArchiveFilterType {
totalrank('默认排序'),
click('播放多'),
pubdate('新发布'),
dm('弹幕多'),
stow('收藏多'),
scores('评论多');
// 专栏
// attention('最多喜欢'),
final String desc;
const ArchiveFilterType(this.desc);
}