提升网页渲染性能,取消织纹效果和模糊效果
This commit is contained in:
@@ -80,7 +80,7 @@ const allTags = getAllAlbumTags(albums)
|
||||
|
||||
<div class="absolute inset-0 bg-gradient-to-t from-black/75 via-black/25 to-transparent" />
|
||||
|
||||
<div class="absolute right-2 top-2 rounded-full bg-black/50 px-2 py-1 text-xs font-medium text-white backdrop-blur-sm">
|
||||
<div class="absolute right-2 top-2 rounded-full bg-black/60 px-2 py-1 text-xs font-medium text-white">
|
||||
{album.photoCount} 张
|
||||
</div>
|
||||
|
||||
@@ -100,7 +100,7 @@ const allTags = getAllAlbumTags(albums)
|
||||
{album.tags && album.tags.length > 0 && (
|
||||
<div class="mt-2 flex flex-wrap gap-1">
|
||||
{album.tags.slice(0, 4).map((tag) => (
|
||||
<span class="rounded bg-white/20 px-1.5 py-0.5 text-[0.6rem] text-white/90 backdrop-blur-sm">
|
||||
<span class="rounded bg-black/45 px-1.5 py-0.5 text-[0.6rem] text-white/90">
|
||||
{tag}
|
||||
</span>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user