From 4a519eb4fac9e2730a31edf4c43002737b123631 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Tue, 20 Jan 2026 17:12:57 +0800 Subject: [PATCH] =?UTF-8?q?chore(=E5=BC=B9=E5=B9=95=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=80=9F=E5=BA=A6=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Ranking/Couple/components/Barrage.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/views/Ranking/Couple/components/Barrage.vue b/src/views/Ranking/Couple/components/Barrage.vue index d19e367..c1ba1cd 100644 --- a/src/views/Ranking/Couple/components/Barrage.vue +++ b/src/views/Ranking/Couple/components/Barrage.vue @@ -124,11 +124,6 @@ const props = defineProps({ default: () => [], }, - speed: { - type: Number, - default: 80, // 基础速度系数 - }, - maxItems: { type: Number, default: 4, // 每行最大弹幕数 @@ -178,7 +173,7 @@ const getBarrageStyle = (item) => { const generateBarrageProps = (item) => { const textLength = item.content.length return { - duration: Math.min(5 + textLength * 0.1, 8) * (100 / props.speed), // 弹幕项持续时间(每字符增加0.2秒,持续时间不低于8秒) + duration: Math.min(5 + textLength * 0.1, 8), // 弹幕项持续时间(每字符增加0.2秒,持续时间不低于8秒) startPos: 0, // 弹幕项起始位置 } }