更新 'SrcJyPublic.js'

master
src48597962 7 months ago
parent e7d4b7398f
commit 522c3cdbd0
  1. 24
      SrcJyPublic.js

@ -435,7 +435,7 @@ function selectSource() {
let pop = hikerPop.selectBottomRes({ let pop = hikerPop.selectBottomRes({
options: names, options: names,
columns: spen, columns: spen,
title: "当前>" + (sourceName?(sourceGroup + "_" + sourceName):""), title: sourceAllList.length+">当前>" + (sourceName?(sourceGroup + "_" + sourceName):""),
noAutoDismiss: true, noAutoDismiss: true,
toPosition: index, toPosition: index,
extraInputBox: (inputBox = new hikerPop.ResExtraInputBox({ extraInputBox: (inputBox = new hikerPop.ResExtraInputBox({
@ -459,31 +459,11 @@ function selectSource() {
hikerPop.selectCenter({ hikerPop.selectCenter({
options: selects, options: selects,
columns: 3, columns: 3,
title: "切换源分组", title: "切换源分组/TAG快速筛选",
//position: groupnames.indexOf(sourceName), //position: groupnames.indexOf(sourceName),
click(s) { click(s) {
if(s.startsWith('[')){ if(s.startsWith('[')){
//inputBox.setTitle('全部');
inputBox.setDefaultValue(s); 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{ }else{
inputBox.setTitle(s); inputBox.setTitle(s);
inputBox.setDefaultValue(""); inputBox.setDefaultValue("");

Loading…
Cancel
Save