fixed81: 豆瓣详情补充地区/语言/片长/剧情简介
Docker Build & Test / build (push) Canceled after 0s
Docker Build & Test / test (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/amd64) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm/v7) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm64) (push) Canceled after 0s
Build & Push Docker image / merge-images (push) Canceled after 0s
Docker Build & Test / build (push) Canceled after 0s
Docker Build & Test / test (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/amd64) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm/v7) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm64) (push) Canceled after 0s
Build & Push Docker image / merge-images (push) Canceled after 0s
This commit is contained in:
1 parent
7a99890425
commit
eb93b3f062
2 files changed
+18
-4
No files matched your search
@@ -84,20 +84,24 @@ export default function VideoMetaExtra({
|
||||
const showScore = scoreNum1 > 0 ? scoreNum1.toFixed(1) : dbNum > 0 ? dbNum.toFixed(1) : '';
|
||||
|
||||
const showDirector = director || (dbDetail?.directors || []).join('、');
|
||||
if (!actors.length && !showDirector && !showScore && !area && !loading && !comments.length) return null;
|
||||
const showArea = area || dbDetail?.area || '';
|
||||
const showLang = lang || dbDetail?.languages || '';
|
||||
const showDuration = dbDetail?.duration || '';
|
||||
if (!actors.length && !showDirector && !showScore && !showArea && !loading && !comments.length) return null;
|
||||
|
||||
return (
|
||||
<div className='mt-4 space-y-4'>
|
||||
{/* 导演 / 地区 / 语言 */}
|
||||
{(showDirector || area || lang) && (
|
||||
{(showDirector || showArea || showLang || showDuration) && (
|
||||
<div className='text-sm opacity-80 space-x-4'>
|
||||
{showDirector && (
|
||||
<span>
|
||||
导演:<span className='font-medium'>{showDirector}</span>
|
||||
</span>
|
||||
)}
|
||||
{area && <span>地区:{area}</span>}
|
||||
{lang && <span>语言:{lang}</span>}
|
||||
{showArea && <span>地区:{showArea}</span>}
|
||||
{showLang && <span>语言:{showLang}</span>}
|
||||
{showDuration && <span>片长:{showDuration}</span>}
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -127,6 +131,13 @@ export default function VideoMetaExtra({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{dbDetail?.intro && (
|
||||
<div className='text-sm leading-relaxed opacity-90 whitespace-pre-line'>
|
||||
<span className='font-semibold'>剧情简介:</span>
|
||||
{dbDetail.intro}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* 演员列表 */}
|
||||
{actors.length > 0 && (
|
||||
<div>
|
||||
|
||||
Reference in new issue
Block a user