parent
d2097586e6
commit
0289bead41
@ -0,0 +1,26 @@ |
||||
function SRCSet() { |
||||
addListener("onClose", $.toString(() => { |
||||
//clearMyVar('guanlicz');
|
||||
})); |
||||
|
||||
var d = []; |
||||
let livefile = "hiker://files/rules/Src/Juying/live.txt"; |
||||
let JYlive=fetch(livefile); |
||||
if(JYlive){ |
||||
var datalist = JYlive.split('\n'); |
||||
}else{ |
||||
var datalist = []; |
||||
} |
||||
if(datalist.length>0){ |
||||
d.push({ |
||||
title: '<br>', |
||||
col_type: 'rich_text' |
||||
}); |
||||
}else{ |
||||
d.push({ |
||||
title: '没有直播源数据', |
||||
col_type: 'rich_text' |
||||
}); |
||||
} |
||||
setHomeResult(d); |
||||
} |
@ -1,15 +0,0 @@ |
||||
function SRCSet() { |
||||
addListener("onClose", $.toString(() => { |
||||
clearMyVar('guanlicz'); |
||||
clearMyVar('duoselect'); |
||||
clearMyVar('datalist'); |
||||
//refreshPage(false);
|
||||
})); |
||||
setPageTitle("♥管理"+getMyVar('SrcJuying-Version', '')); |
||||
clearMyVar('duoselect'); |
||||
clearMyVar('datalist'); |
||||
function getTitle(title, Color) { |
||||
return '<font color="' + Color + '">' + title + '</font>'; |
||||
} |
||||
var d = []; |
||||
} |
Loading…
Reference in new issue