From 697d142ad175701405dfd226a49ae422f074ed5a Mon Sep 17 00:00:00 2001 From: dyphire <61936050+dyphire@users.noreply.github.com> Date: Sun, 16 Mar 2025 18:29:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=88=B1=E5=A5=87?= =?UTF-8?q?=E8=89=BA=E8=BF=94=E5=9B=9E=E6=97=A0=E6=95=88=E7=9A=84=20fontsi?= =?UTF-8?q?ze?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/api/iqiyi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/api/iqiyi.js b/routes/api/iqiyi.js index 38d3bd1..96f695c 100644 --- a/routes/api/iqiyi.js +++ b/routes/api/iqiyi.js @@ -70,7 +70,7 @@ function Iqiyi() { const danmaku = extract(xml, "content"); const showTime = extract(xml, "showTime"); const color = extract(xml, "color"); - const font = extract(xml, "font"); + //const font = extract(xml, "font"); // 控制步长,减小内存占用 const step = Math.ceil(danmaku.length*length/10000); @@ -81,7 +81,7 @@ function Iqiyi() { content.timepoint = showTime[i];//showTime content.color = parseInt(color[i], 16);//color content.content = danmaku[i]; //content - content.size = font[i];//font + content.size = 25;//font contents.push(content); } };