feat(frontend): replace lazy loading with zibll lazysizes
This commit is contained in:
1 parent
02571eecd6
commit
435ee1daa7
78 files changed
+1515
-909
No files matched your search
@@ -26,21 +26,6 @@
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* 分类推荐懒加载骨架 */
|
||||
.category-recommend-card__hero .aksrt-skeleton {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
.category-recommend-card__hero img.aksrt-lazy {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.category-recommend-card__hero img.aksrt-loaded {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 分类推荐响应式 */
|
||||
@media (max-width: 767px) {
|
||||
.category-recommend {
|
||||
@@ -121,4 +106,3 @@
|
||||
line-height: var(--leading-relaxed, 1.7);
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user