mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: pgc label
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -60,21 +60,14 @@ Widget searchBangumiPanel(context, ctr, LoadingState loadingState) {
|
|||||||
height: 148,
|
height: 148,
|
||||||
src: i.cover,
|
src: i.cover,
|
||||||
),
|
),
|
||||||
PBadge(
|
if (i.seasonTypeName?.isNotEmpty == true)
|
||||||
text: switch (i.mediaType) {
|
PBadge(
|
||||||
1 => '番剧',
|
text: i.seasonTypeName,
|
||||||
2 => '电影',
|
top: 6.0,
|
||||||
3 => '纪录片',
|
right: 4.0,
|
||||||
4 => '国创',
|
bottom: null,
|
||||||
5 => '电视剧',
|
left: null,
|
||||||
7 => '综艺',
|
)
|
||||||
_ => 'type: ${i.mediaType}',
|
|
||||||
},
|
|
||||||
top: 6.0,
|
|
||||||
right: 4.0,
|
|
||||||
bottom: null,
|
|
||||||
left: null,
|
|
||||||
)
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
|
|||||||
Reference in New Issue
Block a user