fixed 样式错误

This commit is contained in:
Vaica committed 2026-02-01 17:42:15 +08:00
1 parent 62e547b2ee
commit 6f5fe6de35
5 files changed
+133 -28

No files matched your search

+4 -4
View File
@@ -413,15 +413,15 @@
const description = post.description ? post.description.replace(/"/g, '"') : '';
// Calculate delay for staggered animation
const delay = index * 100;
const delay = index * 50;
html += `
<a href="${post.link}" target="_blank" class="fc-item" data-desc="${description}" data-title="${post.title}" uk-scrollspy="cls: uk-animation-slide-bottom-small; delay: ${delay}">
<a href="${post.link}" target="_blank" class="fc-item" data-desc="${description}" data-title="${post.title}" uk-scrollspy="cls: uk-animation-slide-bottom-small uk-animation-fast; delay: ${delay}">
<div class="fc-title" title="${post.title}">${post.title}</div>
<img src="${bgImageSrc}" class="fc-bg-image" loading="lazy" onerror="this.style.opacity=0">
<img src="${bgImageSrc}" class="fc-bg-image" onerror="this.style.opacity=0">
<div class="fc-bottom">
<div class="fc-author-pill">
<img src="${post.avatar}" class="fc-avatar" loading="lazy" onerror="this.src='https://cravatar.cn/avatar/default?s=50'">
<img src="${post.avatar}" class="fc-avatar" onerror="this.src='https://cravatar.cn/avatar/default?s=50'">
<span class="fc-author-name">${post.author}</span>
</div>
<div class="fc-date">