首页视频卡片增加评分

This commit is contained in:
mtvpls
2025-12-26 23:54:27 +08:00
parent fb9f55136d
commit 83bbf78545
3 changed files with 9 additions and 1 deletions
+5
View File
@@ -111,6 +111,11 @@ export default function PrivateLibraryPage() {
title={video.title}
poster={video.poster}
year={video.releaseDate.split('-')[0]}
rate={
video.voteAverage && video.voteAverage > 0
? video.voteAverage.toFixed(1)
: ''
}
from='search'
/>
))}