|
|
@ -133,8 +133,22 @@ function SRCSet() { |
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
col_type: "line" |
|
|
|
col_type: "line" |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
let typebtn = runModes; |
|
|
|
|
|
|
|
typebtn.unshift("全部"); |
|
|
|
|
|
|
|
typebtn.forEach(it =>{ |
|
|
|
|
|
|
|
d.push({ |
|
|
|
|
|
|
|
title: getMyVar("SrcJuJiekouType","全部")==it?`““””<b><span style="color: #3399cc">`+it+`</span></b>`:it, |
|
|
|
|
|
|
|
url: $('#noLoading#').lazyRule((it) => { |
|
|
|
|
|
|
|
putMyVar("SrcJuJiekouType",it); |
|
|
|
|
|
|
|
refreshPage(false); |
|
|
|
|
|
|
|
return "hiker://empty"; |
|
|
|
|
|
|
|
},it), |
|
|
|
|
|
|
|
col_type: 'scroll_button' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
datalist.forEach(item => { |
|
|
|
datalist.forEach(item => { |
|
|
|
|
|
|
|
if(getMyVar("SrcJuJiekouType","全部")=="全部" || getMyVar("SrcJuJiekouType","全部")==item.type){ |
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
title: (item.stop?`‘‘’’<font color=#f20c00>`+item.name+`</font>`:item.name) + (item.parse ? " [主页源]" : "") + (item.erparse ? " [搜索源]" : ""), |
|
|
|
title: (item.stop?`‘‘’’<font color=#f20c00>`+item.name+`</font>`:item.name) + (item.parse ? " [主页源]" : "") + (item.erparse ? " [搜索源]" : ""), |
|
|
|
url: $(["分享", "编辑", "删除", item.stop?"启用":"禁用"], 1).select((sourcefile, data) => { |
|
|
|
url: $(["分享", "编辑", "删除", item.stop?"启用":"禁用"], 1).select((sourcefile, data) => { |
|
|
@ -174,6 +188,7 @@ function SRCSet() { |
|
|
|
img: "https://lanmeiguojiang.com/tubiao/ke/31.png", |
|
|
|
img: "https://lanmeiguojiang.com/tubiao/ke/31.png", |
|
|
|
col_type: "avatar" |
|
|
|
col_type: "avatar" |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
setResult(d); |
|
|
|
setResult(d); |
|
|
|
} |
|
|
|
} |
|
|
|