From 522c3cdbd0cda376568d5657a752438d4bc6abdb Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 21 Jul 2024 15:31:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyPublic.js | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/SrcJyPublic.js b/SrcJyPublic.js index 693471a4..02397128 100644 --- a/SrcJyPublic.js +++ b/SrcJyPublic.js @@ -435,7 +435,7 @@ function selectSource() { let pop = hikerPop.selectBottomRes({ options: names, columns: spen, - title: "当前源>" + (sourceName?(sourceGroup + "_" + sourceName):""), + title: sourceAllList.length+">当前>" + (sourceName?(sourceGroup + "_" + sourceName):""), noAutoDismiss: true, toPosition: index, extraInputBox: (inputBox = new hikerPop.ResExtraInputBox({ @@ -459,31 +459,11 @@ function selectSource() { hikerPop.selectCenter({ options: selects, columns: 3, - title: "切换源分组", + title: "切换源分组/TAG快速筛选", //position: groupnames.indexOf(sourceName), click(s) { if(s.startsWith('[')){ - //inputBox.setTitle('全部'); inputBox.setDefaultValue(s); - /* - sourceList = getGroupLists(sourceAllList, '全部'); - names = getnames(sourceList).names; - tmpList = sourceList.filter(x => x.name.toLowerCase().includes(s.toLowerCase())); - let flist = names.filter(x => x.toLowerCase().includes(s.toLowerCase())); - manage.list.length = 0; - flist.forEach(x => { - manage.list.push(x); - }); - manage.change(); - - tmpList = sourceList.filter(x => x.name.includes(s)); - let flist = getnames(tmpList).names; - manage.list.length = 0; - flist.forEach(x => { - manage.list.push(x); - }); - manage.change(); - */ }else{ inputBox.setTitle(s); inputBox.setDefaultValue("");