From c58e1befc4c85281f67b2b2c7038595e9c9d32db Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 13 Jul 2023 13:41:14 +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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/SrcJu.js b/SrcJu.js index 19dc0329..e276fd25 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -668,6 +668,24 @@ function erji() { } }) if(线路s.length>1){ + 线路s.forEach(it=>{ + d.push({ + title: getMyVar("SrcJu_"+surl+"_line")==lineid?`““””`+it+``:it, + url: $("#noLoading#").lazyRule((surl,lineid) => { + let index = getMyVar("SrcJu_"+surl+"_line","0"); + if(lineid != index){ + putMyVar("SrcJu_"+surl+"_line", index); + refreshPage(false); + } + return 'hiker://empty' + }, surl, lineid), + col_type: 'scroll_button', + extra: { + cls: "loadlist" + } + }) + }) + /* d.push({ title: `““””`+线路s[lineid]+``, url: $(线路s,2,"选择线路").select((线路s,surl,lineid) => { @@ -683,6 +701,7 @@ function erji() { cls: "loadlist" } }) + */ } if(details.page && details.pageparse){ let 分页s = details.page