Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-14 09:17:26 +08:00
parent 0d4d92a202
commit 861365930d
49 changed files with 110 additions and 56 deletions

View File

@@ -3,7 +3,8 @@ enum ArticleOrderType {
pubdate('最新发布'),
click('最多点击'),
attention('最多喜欢'),
scores('最多评论');
scores('最多评论')
;
String get order => name;
final String label;
@@ -19,7 +20,8 @@ enum ArticleZoneType {
interest('兴趣', 29),
novel('轻小说', 16),
tech('科技', 17),
note('笔记', 41);
note('笔记', 41)
;
final String label;
final int categoryId;

View File

@@ -18,7 +18,8 @@ enum SearchType {
// 用户bili_user
bili_user('用户'),
// 专栏article
article('专栏');
article('专栏')
;
// 相簿photo
// photo

View File

@@ -3,7 +3,8 @@ enum UserOrderType {
fansDesc('粉丝数由高到低', 0, 'fans'),
fansAsc('粉丝数由低到高', 1, 'fans'),
levelDesc('Lv等级由高到低', 0, 'level'),
levelAsc('Lv等级由低到高', 1, 'level');
levelAsc('Lv等级由低到高', 1, 'level')
;
final String label;
final int orderSort;
@@ -15,7 +16,8 @@ enum UserType {
all('全部用户'),
up('UP主'),
common('普通用户'),
verified('认证用户');
verified('认证用户')
;
final String label;
const UserType(this.label);

View File

@@ -2,7 +2,8 @@ enum VideoPubTimeType {
all('不限'),
day('最近一天'),
week('最近一周'),
halfYear('最近半年');
halfYear('最近半年')
;
final String label;
const VideoPubTimeType(this.label);
@@ -13,7 +14,8 @@ enum VideoDurationType {
tenMins('0-10分钟'),
halfHour('10-30分钟'),
hour('30-60分钟'),
hourPlus('60分钟+');
hourPlus('60分钟+')
;
final String label;
const VideoDurationType(this.label);
@@ -41,7 +43,8 @@ enum VideoZoneType {
cinephile('影视', tids: 181),
documentary('记录', tids: 177),
movie('电影', tids: 23),
tv('电视', tids: 11);
tv('电视', tids: 11)
;
final String label;
final int? tids;
@@ -55,7 +58,8 @@ enum ArchiveFilterType {
pubdate('新发布'),
dm('弹幕多'),
stow('收藏多'),
scores('评论多');
scores('评论多')
;
// 专栏
// attention('最多喜欢'),