|
|
|
@ -1033,7 +1033,7 @@ function SRCSet() { |
|
|
|
|
d.push({ |
|
|
|
|
title:'添加header:根据实际需要自行调整', |
|
|
|
|
col_type: 'text_1', |
|
|
|
|
url:$(sethead(getMyVar("parseurl","")),"输入解析需要的header信息{}").input(()=>{ |
|
|
|
|
url:$(sethead(getMyVar("parseurl","")),"链接地址有变化时,先下拉刷新再来点击").input(()=>{ |
|
|
|
|
if(getMyVar("parseurl")&&/{|}/.test(input)){ |
|
|
|
|
putMyVar("parseurl",getMyVar("parseurl")+'#'+input); |
|
|
|
|
refreshPage(false); |
|
|
|
@ -1061,16 +1061,14 @@ function SRCSet() { |
|
|
|
|
col_type:'text_3', |
|
|
|
|
url: $().lazyRule((data)=>{ |
|
|
|
|
if(data){ |
|
|
|
|
var dataurl = data.url; |
|
|
|
|
var dataurl = data.url.split("#")[0]; |
|
|
|
|
}else{ |
|
|
|
|
var dataurl = getMyVar('parseurl'); |
|
|
|
|
var dataurl = getMyVar('parseurl').split("#")[0]; |
|
|
|
|
} |
|
|
|
|
if(!dataurl||!/^http/.test(dataurl)){ |
|
|
|
|
return "toast://获取解析地址失败,无法测试"; |
|
|
|
|
} |
|
|
|
|
//if(findItem('jxfrom')){
|
|
|
|
|
// deleteItemByCls('jxtest');
|
|
|
|
|
//}else{
|
|
|
|
|
|
|
|
|
|
addItemAfter('jxline',{ |
|
|
|
|
title: '选择测试片源', |
|
|
|
|
col_type: "rich_text", |
|
|
|
@ -1162,7 +1160,6 @@ function SRCSet() { |
|
|
|
|
cls: 'jxtest' |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
//}
|
|
|
|
|
updateItem('jxtest', { |
|
|
|
|
title:'测试', |
|
|
|
|
col_type:'text_3', |
|
|
|
|