mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-20 19:23:42 +08:00
refactor: Remove video verification logic and related properties from search and display components
This commit is contained in:
@@ -15,7 +15,6 @@ interface Video {
|
||||
source: string;
|
||||
sourceName?: string;
|
||||
isNew?: boolean;
|
||||
isVerifying?: boolean;
|
||||
}
|
||||
|
||||
interface VideoGridProps {
|
||||
@@ -70,15 +69,6 @@ export function VideoGrid({ videos, className = '' }: VideoGridProps) {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Verifying Badge - Top Right */}
|
||||
{video.isVerifying && (
|
||||
<div className="absolute top-2 right-2 z-10">
|
||||
<Badge variant="secondary" className="text-xs backdrop-blur-md bg-yellow-500/90 text-white animate-pulse">
|
||||
验证中
|
||||
</Badge>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Overlay */}
|
||||
<div className="absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300">
|
||||
<div className="absolute bottom-0 left-0 right-0 p-3">
|
||||
|
||||
Reference in New Issue
Block a user