From 141e6cc3d31aac73fa701f308f65af13d6c6e39f Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 7 Apr 2023 21:59:16 +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 | 45 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index a615ee01..34f7d4b5 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -213,9 +213,9 @@ function sousuo() { function erji() { addListener("onClose", $.toString(() => { clearMyVar('erjiextra'); - clearMyVar('descloading'); + clearMyVar('SrcJudescload'); })); - clearMyVar('descloading'); + clearMyVar('SrcJudescload'); let name = MY_PARAMS.name; setPageTitle(name); let isload;//是否正确加载 @@ -275,24 +275,24 @@ function erji() { d.push({ title: "详情简介", url: $("#noLoading#").lazyRule((desc) => { - if(getMyVar('descloading')=="1"){ - clearMyVar('descloading'); - deleteItemByCls("descloading"); + if(getMyVar('SrcJudescload')=="1"){ + clearMyVar('SrcJudescload'); + deleteItemByCls("SrcJudescload"); }else{ - putMyVar('descloading',"1"); + putMyVar('SrcJudescload',"1"); addItemAfter('detailid', [{ title: `详情简介 >`, col_type: "avatar", url: "hiker://empty", pic_url: "https://lanmeiguojiang.com/tubiao/ke/91.png", extra: { - cls: "descloading" + cls: "SrcJudescload" } },{ title: desc, col_type: "rich_text", extra: { - cls: "descloading" + cls: "SrcJudescload" } }]); } @@ -338,7 +338,7 @@ function erji() { d.push({ col_type: "line_blank" }); - for (let i = 0; i < 8; i++) { + for (let i = 0; i < 10; i++) { d.push({ col_type: "blank_block" }) @@ -382,6 +382,33 @@ function erji() { cls: "loadlist" } }) + d.push({ + title: `““””`+(getMyVar('SrcJulistcol',"1")=="1"?"一列":getMyVar('SrcJulistcol',"1")=="2"?"两列":"三列")+``, + url: $(["一列","两列","三列"]).select((列表, 解析, name) => { + deleteItemByCls('playlist'); + let d = []; + 列表.forEach((item, id) => { + d.push({ + title: item.title, + url: item.url + $("").lazyRule((解析) => { + return 解析(input); + }, 解析), + col_type: input=="一列"?"text_1":input=="两列"?"text_2":"text_3", + extra: { + id: name + "_选集_" + id, + cls: "loadlist playlist" + } + }); + }) + addItemBefore('listloading', d); + return 'hiker://empty' + }, 列表, 解析, name), + col_type: 'scroll_button', + extra: { + id: "listsort", + cls: "loadlist" + } + }) 列表.forEach((item, id) => { d.push({