This commit is contained in:
Vanessa 2023-12-13 16:44:29 +08:00
parent 1b45bc002e
commit 93f623597f

View File

@ -214,7 +214,6 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
<span class="item__text">${item.name}</span>
</div>`;
});
setTimeout(() => {
e.firstElementChild.outerHTML = `<div class="av__container" style="--av-background:${e.style.backgroundColor || "var(--b3-theme-background)"}">
<div class="av__header">
<div class="fn__flex av__views">
@ -317,7 +316,6 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
if (cb) {
cb();
}
}, time ? 256 - (new Date().getTime() - time) : 0); // 为了让动画更好看,需延时到 256ms
});
});
}