feat(player): 点赞与评论改为按集
This commit is contained in:
1 parent
e6f34977f5
commit
83822a0cbb
25 files changed
+337
-69
No files matched your search
@@ -158,6 +158,8 @@ Drama _detailDrama(Drama card) => Drama(
|
||||
isFree: number == 1,
|
||||
videoUrl: number == 1 ? '/files/${card.id}-1.mp4' : '',
|
||||
locked: number > 1,
|
||||
likeCount: card.likeCount,
|
||||
commentCount: card.commentCount,
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
@@ -463,6 +463,8 @@ Drama _detailDrama({
|
||||
durationSec: 135,
|
||||
locked: number > 1,
|
||||
videoUrl: number == 1 ? '/files/detail-k38-1.mp4' : '',
|
||||
likeCount: withCounts ? 12400 : null,
|
||||
commentCount: withCounts ? 96 : null,
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user