2
This commit is contained in:
@@ -42,13 +42,13 @@ import { onMounted, onUnmounted, ref } from 'vue'
|
|||||||
},
|
},
|
||||||
danmakuSpeed: {
|
danmakuSpeed: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 15000 // 弹幕滚动速度(毫秒)
|
default: 15000 // 弹幕滚动速度(毫秒),25秒让弹幕显示更久
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// 固定配置
|
// 固定配置
|
||||||
const FETCH_PAGE_SIZE = 50 // 每次获取的记录数
|
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 RANDOM_EMIT_RANGE = 1000 // 0-1秒随机范围
|
||||||
|
|
||||||
const enabled = ref(true)
|
const enabled = ref(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user