更新 'SrcJuying.js'

master
src48597962 7 months ago
parent 1465d7f285
commit 0766f2682f
  1. 2
      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];

Loading…
Cancel
Save