From 0766f2682fb7c8bafef918901c205356ecbde4b2 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 8 Aug 2024 09:40:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SrcJuying.js b/SrcJuying.js index e8fe354a..17d2724f 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -565,7 +565,7 @@ function dianboerji() { //let listone = 列表[0].split('$')[0]; //const longestString = 列表.splice(0,10).reduce((a, b) => a.split('$')[0].replace(name,"").trim().length > b.split('$')[0].replace(name,"").trim().length ? a : b, ''); //listone = listone==name?'正片':listone.replace(name,"").trim(); - let len = 列表.slice(0, 10).concat(列表.slice.slice(-10)).reduce((max, str) => Math.max(max, str.split('$')[0].replace(name,"").trim().length), 0); + let len = 列表.slice(0, 10).concat(列表.slice(-10)).reduce((max, str) => Math.max(max, str.split('$')[0].replace(name,"").trim().length), 0); let col_type = 列表.length > 4 && len < 5 ? 'text_4' : len > 10 ? 'text_1' : len>4&&len<7 ? 'text_3' :'text_2'; for(let i=0; i<列表.length; i++) { let playtitle = 列表[i].split('$')[0];