mod: 动态视频标签展示

This commit is contained in:
guozhigq
2024-09-09 00:47:16 +08:00
parent f6f492b51f
commit 892d4943d1

View File

@ -86,7 +86,7 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
height: width / StyleString.aspectRatio,
src: content.cover,
),
if (content.badge != null && type == 'pgc')
if (content.badge != null && content.badge['text'] != null)
PBadge(
text: content.badge['text'],
top: 8.0,