From 761b16a569ef56f33c2c104ac7e4c242dcd396d2 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 2 Apr 2024 20:40:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJu.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 44fbb0b7..620bd28a 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -643,7 +643,7 @@ function erji() { col_type: "line_blank" }); let line_col_type = getItem('SrcJuLine_col_type', 'scroll_button'); - + let addmoreitems = 0; if(getItem('extenditems','1')=="1" && details.moreitems && $.type(details.moreitems)=='array'){ let moreitems = details.moreitems; if(moreitems.length>0){ @@ -654,10 +654,12 @@ function erji() { item.extra['back'] = 1; item.extra['cls'] = "Juloadlist extendlist"; d.push(item); + addmoreitems = 1; } }) } - } else if (line_col_type == 'scroll_button') { + } + if (line_col_type == 'scroll_button' && addmoreitems == 0) { for (let i = 0; i < 10; i++) { d.push({ col_type: "blank_block" @@ -801,7 +803,7 @@ function erji() { if(线路s.length>0 && 线路s[0] !="线路"){ 线路s.forEach((it,i)=>{ d.push({ - title: lineid==i?`““””`+it+``:it, + title: lineid==i?`““””`+it+``:it, url: $("#noLoading#").lazyRule((lineurl,nowid,newid) => { if(nowid != newid){ putMyVar(lineurl, newid);