mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-18 20:14:41 +08:00
fix(组件样式): 修复DemoCard和VideoCard的背景透明度样式
修正了两个卡片组件中错误的背景透明度设置,将bg-transparen/0改为正确的bg-transparent,确保UI显示一致
This commit is contained in:
@@ -58,7 +58,7 @@ const DemoCard = ({ id, title, poster, rate, type }: DemoCardProps) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className='group relative w-full rounded-lg bg-transparen flex flex-col cursor-pointer transition-all duration-300 ease-in-out'
|
className='group relative w-full rounded-lg bg-transparent flex flex-col cursor-pointer transition-all duration-300 ease-in-out'
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
>
|
>
|
||||||
{/* 海报图片区域 */}
|
{/* 海报图片区域 */}
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ export default function VideoCard({
|
|||||||
)}${year ? `&year=${year}` : ''}${from ? `&from=${from}` : ''}`}
|
)}${year ? `&year=${year}` : ''}${from ? `&from=${from}` : ''}`}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={`group relative w-full rounded-lg bg-transparent/0 flex flex-col cursor-pointer transition-all duration-300 ease-in-out ${
|
className={`group relative w-full rounded-lg bg-transparent flex flex-col cursor-pointer transition-all duration-300 ease-in-out ${
|
||||||
isDeleting ? 'opacity-0 scale-90' : ''
|
isDeleting ? 'opacity-0 scale-90' : ''
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user