From 9fa9035940c5eeb2db6fa4068f40f10270abcd82 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 5 Oct 2024 15:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index 8a697f8e..a76709ed 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -1302,21 +1302,27 @@ function yiji() { }), col_type: 'scroll_button' }); - /* d.push({ - title: "🔍"+(getItem('historyEnable')=='1'?"关":"开")+"观看记录", + title: "🔍搜索接口", url: $('#noLoading#').lazyRule(() => { - if(getItem('historyEnable')=='1'){ - clearItem('historyEnable'); - }else{ - setItem('historyEnable','1'); - } - refreshPage(false); - return "toast://已切换" + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js'); + let datalist = getDatas("jk", 1); + let groupNames = getJiekouGroups(datalist); + groupNames.unshift("全部"); + let selectkeys = getJkTags(datalist); + groupNames.concat(selectkeys); + return $(groupNames, 3).select(() => { + if(input=='全部'){ + clearItem('主页搜索接口范围'); + }else{ + setItem('主页搜索接口范围', input); + } + refreshPage(false); + return "toast://已切换" + }) }), col_type: 'scroll_button' }); - */ d.push({ col_type: "blank_block" });