|
|
|
@ -53,6 +53,28 @@ function erjimenu(desc,name,group) { |
|
|
|
|
{ |
|
|
|
|
title: "切换站源", |
|
|
|
|
url: !fileExist(jkfile) ? "toast://分享页面或没有接口,无法扩展更多片源" : $("#noLoading#").lazyRule((name,group) => { |
|
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyMenu.js'); |
|
|
|
|
cutSource(name,group); |
|
|
|
|
return "hiker://empty"; |
|
|
|
|
},name, group), |
|
|
|
|
pic_url: 'https://hikerfans.com/tubiao/messy/20.svg', |
|
|
|
|
col_type: 'icon_small_3', |
|
|
|
|
extra: { |
|
|
|
|
cls: "Juloadlist" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
//选中状态标识
|
|
|
|
|
function getide(is) { |
|
|
|
|
if(is==1){ |
|
|
|
|
return '‘‘’’<strong><font color="#f13b66a">◉ </front></strong>'; |
|
|
|
|
}else{ |
|
|
|
|
return '‘‘’’<strong><font color="#F54343">◉ </front></strong>'; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
//切源事件
|
|
|
|
|
function cutSource(name, group) { |
|
|
|
|
putMyVar("切源旧分组", group); |
|
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js'); |
|
|
|
|
let datalist = getDatas('jk',1); |
|
|
|
@ -99,23 +121,6 @@ function erjimenu(desc,name,group) { |
|
|
|
|
require(config.依赖); |
|
|
|
|
erjisousuo(name, group); |
|
|
|
|
} |
|
|
|
|
return "hiker://empty"; |
|
|
|
|
},name, group), |
|
|
|
|
pic_url: 'https://hikerfans.com/tubiao/messy/20.svg', |
|
|
|
|
col_type: 'icon_small_3', |
|
|
|
|
extra: { |
|
|
|
|
cls: "Juloadlist" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
//选中状态标识
|
|
|
|
|
function getide(is) { |
|
|
|
|
if(is==1){ |
|
|
|
|
return '‘‘’’<strong><font color="#f13b66a">◉ </front></strong>'; |
|
|
|
|
}else{ |
|
|
|
|
return '‘‘’’<strong><font color="#F54343">◉ </front></strong>'; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
function lookset() { |
|
|
|
|
setPageTitle("♥观影设置"); |
|
|
|
|