mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-22 14:37:30 +08:00
fix: episodes info in VideoCard
This commit is contained in:
@@ -250,6 +250,15 @@ export default function VideoCard({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{/* 集数圆形展示框 - 无当前集数且总集数大于 1 时展示 */}
|
||||||
|
{episodes && episodes > 1 && !currentEpisode && (
|
||||||
|
<div className='absolute top-2 right-2 w-4 h-4 sm:w-7 sm:h-7 bg-green-500 rounded-full flex items-center justify-center'>
|
||||||
|
<span className='text-white text-[0.5rem] sm:text-xs font-bold'>
|
||||||
|
{episodes}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{/* 豆瓣链接按钮 */}
|
{/* 豆瓣链接按钮 */}
|
||||||
{douban_id && from === 'search' && (
|
{douban_id && from === 'search' && (
|
||||||
<a
|
<a
|
||||||
|
|||||||
Reference in New Issue
Block a user