更新 'SrcJuPublic.js'

Ju
src48597962 1 year ago
parent 92bf05e925
commit 90dc271646
  1. 4
      SrcJuPublic.js

@ -96,7 +96,7 @@ function selectSource(selectType) {
getListData("yi",selectType).forEach(it=>{
if(sourcenames.indexOf(it.name)==-1){
if(Juconfig[runMode+'sourcename'] == it.name){
it.name = '‘‘’’<span style="color:red" title="'+it.name+'">'+it.name+'</span>';
it.name = '<span style="color:red" title="'+it.name+'">'+it.name+'</span>';
}
sourcenames.push({title: it.name, icon: it.img, url: it.name});
}
@ -105,7 +105,7 @@ function selectSource(selectType) {
return "toast://当前分类无接口"
}
//return $(sourcenames,3,"选择 "+selectType+" 主页源").select((runMode,sourcename,cfgfile,Juconfig) => {
hikerPop.selectCenterIcon({iconList: sourcenames, title: "选择 "+selectType+" 主页源", columns: 3, click(input) {
hikerPop.selectCenterIcon({iconList: sourcenames, title: "选择 "+selectType+" 主页源", columns: 2, click(input) {
input = input.replace(/‘|’|“|”|<[^>]+>/g,"");
if(Juconfig["runMode"] == runMode && input==Juconfig[runMode+'sourcename']){
return 'toast://'+runMode+' 主页源:' + input;

Loading…
Cancel
Save