1
0

add: lazy load for pics in video list

This commit is contained in:
alikia2x (寒寒) 2025-11-12 01:05:16 +08:00
parent 302dbcdffe
commit 6341d9bf7c
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 56209E0CCD8420C6

View File

@ -80,6 +80,7 @@ export default function Home() {
alt="视频封面"
className="h-25 w-40 rounded-sm object-cover flex-shrink-0"
referrerPolicy="no-referrer"
loading="lazy"
/>
)}
<div className="flex flex-col w-full justify-between">
@ -208,7 +209,7 @@ export default function Home() {
</div>
</div>
<h2 className="text-2xl mb-4"></h2>
<h2 className="text-2xl mb-4"></h2>
<div className="flex items-center gap-4 mb-6">
<Select value={milestoneType} onValueChange={(value: MilestoneType) => setMilestoneType(value)}>
<SelectTrigger className="w-20">