From 7b7140f2be65ffb30c4ff1f1624f89c789622292 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 31 Mar 2024 20:33:05 +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 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 617239a8..4dafca1d 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -642,6 +642,7 @@ function erji() { d.push({ col_type: "line_blank" }); + if(getItem('extenditems','1')=="1" && details.moreitems && $.type(details.moreitems)=='array'){ let moreitems = details.moreitems; if(moreitems.length>0){ @@ -651,16 +652,18 @@ function erji() { item.extra = item.extra || {}; item.extra['back'] = 1; item.extra['cls'] = "Juloadlist extendlist"; - d.push(item) + d.push(item); } }) } + } else { + for (let i = 0; i < 10; i++) { + d.push({ + col_type: "blank_block" + }) + } } - for (let i = 0; i < 10; i++) { - d.push({ - col_type: "blank_block" - }) - } + d.push({ title: getMyVar(sname + 'sort') == '1' ? `““””排序⇅` : `““””排序⇅`, url: $("#noLoading#").lazyRule((sname) => {