This commit is contained in:
2025-12-09 10:25:23 +08:00
parent ea0f7108cc
commit ef7ce1b74a

View File

@@ -42,13 +42,13 @@ import { onMounted, onUnmounted, ref } from 'vue'
},
danmakuSpeed: {
type: Number,
default: 15000 // 弹幕滚动速度(毫秒)
default: 15000 // 弹幕滚动速度(毫秒)25秒让弹幕显示更久
}
})
// 固定配置
const FETCH_PAGE_SIZE = 50 // 每次获取的记录数
const BASE_EMIT_INTERVAL = 5000 // 基础5秒避免弹幕重叠
const BASE_EMIT_INTERVAL = 4700// 基础5秒避免弹幕重叠
const RANDOM_EMIT_RANGE = 1000 // 0-1秒随机范围
const enabled = ref(true)