|
|
@ -447,8 +447,7 @@ function selectSource() { |
|
|
|
click(s, manage) { |
|
|
|
click(s, manage) { |
|
|
|
let groupnames = getJiekouGroups(sourceAllList); |
|
|
|
let groupnames = getJiekouGroups(sourceAllList); |
|
|
|
let tags = getJkTags(sourceAllList); |
|
|
|
let tags = getJkTags(sourceAllList); |
|
|
|
let fgs = ['-','-']; |
|
|
|
let selects = ['全部'].concat(groupnames).concat(tags); |
|
|
|
let selects = ['全部'].concat(fgs).concat(groupnames).concat(fgs).concat(tags); |
|
|
|
|
|
|
|
//inputBox.setHint("提示");
|
|
|
|
//inputBox.setHint("提示");
|
|
|
|
hikerPop.selectCenter({ |
|
|
|
hikerPop.selectCenter({ |
|
|
|
options: selects,
|
|
|
|
options: selects,
|
|
|
@ -456,9 +455,15 @@ function selectSource() { |
|
|
|
title: "切换源分组",
|
|
|
|
title: "切换源分组",
|
|
|
|
//position: groupnames.indexOf(sourceName),
|
|
|
|
//position: groupnames.indexOf(sourceName),
|
|
|
|
click(a) { |
|
|
|
click(a) { |
|
|
|
inputBox.setTitle(a); |
|
|
|
if(a.startsWith('[')){ |
|
|
|
inputBox.setDefaultValue(""); |
|
|
|
inputBox.setTitle('全部'); |
|
|
|
sourceList = getGroupLists(sourceAllList, a); |
|
|
|
inputBox.setDefaultValue(a); |
|
|
|
|
|
|
|
sourceList = getGroupLists(sourceAllList, '全部'); |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
inputBox.setTitle(a); |
|
|
|
|
|
|
|
inputBox.setDefaultValue(""); |
|
|
|
|
|
|
|
sourceList = getGroupLists(sourceAllList, a); |
|
|
|
|
|
|
|
} |
|
|
|
tmpList = sourceList; |
|
|
|
tmpList = sourceList; |
|
|
|
names = sourceList.map((v,i) => { |
|
|
|
names = sourceList.map((v,i) => { |
|
|
|
return v.name; |
|
|
|
return v.name; |
|
|
|