opt: pgc label

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-10 14:48:29 +08:00
parent 84bc0d55b7
commit ae88700b96

View File

@@ -60,21 +60,14 @@ Widget searchBangumiPanel(context, ctr, LoadingState loadingState) {
height: 148,
src: i.cover,
),
PBadge(
text: switch (i.mediaType) {
1 => '番剧',
2 => '电影',
3 => '纪录片',
4 => '国创',
5 => '电视剧',
7 => '综艺',
_ => 'type: ${i.mediaType}',
},
top: 6.0,
right: 4.0,
bottom: null,
left: null,
)
if (i.seasonTypeName?.isNotEmpty == true)
PBadge(
text: i.seasonTypeName,
top: 6.0,
right: 4.0,
bottom: null,
left: null,
)
],
),
const SizedBox(width: 10),