This commit is contained in:
2025-12-08 16:22:29 +08:00
parent fc2d5fb951
commit a5b516d42b

View File

@@ -281,7 +281,7 @@ onUnmounted(() => {
<style scoped>
.danmaku-item {
position: absolute;
left: 0;
right: 0;
white-space: nowrap;
animation: danmaku-scroll linear forwards;
pointer-events: none;
@@ -291,11 +291,11 @@ onUnmounted(() => {
@keyframes danmaku-scroll {
from {
transform: translateX(100%);
transform: translateX(0);
opacity: 1;
}
to {
transform: translateX(-100%);
transform: translateX(-200%);
opacity: 1;
}
}