更新 'SrcJuying.js'

master
src48597962 7 months ago
parent aed9e82887
commit c6ebde1617
  1. 3
      SrcJuying.js

@ -563,8 +563,7 @@ function dianboerji() {
//const longestString = 列表.splice(0,10).reduce((a, b) => a.split('$')[0].replace(name,"").trim().length > b.split('$')[0].replace(name,"").trim().length ? a : b, ''); //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(); //listone = listone==name?'正片':listone.replace(name,"").trim();
let len = 列表.slice(0, 10).reduce((max, str) => Math.max(max, str.split('$')[0].replace(name,"").trim().length), 0); let len = 列表.slice(0, 10).reduce((max, str) => Math.max(max, str.split('$')[0].replace(name,"").trim().length), 0);
log(len); let col_type = 列表.length > 4 && len < 5 ? 'text_4' : len > 10 ? 'text_1' : len>4&&len<7 ? 'text_3' :'text_2';
let col_type = 列表.length > 4 && len < 5 ? 'text_4' : len > 9 ? 'text_1' :'text_3';
for(let i=0; i<列表.length; i++) { for(let i=0; i<列表.length; i++) {
let playtitle = 列表[i].split('$')[0]; let playtitle = 列表[i].split('$')[0];
playtitle = playtitle==name?'正片':playtitle.replace(name,"").trim(); playtitle = playtitle==name?'正片':playtitle.replace(name,"").trim();

Loading…
Cancel
Save