|
|
@ -62,24 +62,17 @@ function dianbo() { |
|
|
|
|
|
|
|
|
|
|
|
d.push(obj); |
|
|
|
d.push(obj); |
|
|
|
}) |
|
|
|
}) |
|
|
|
/* |
|
|
|
if(!sourceNmae){ |
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
title: Juconfig['sitename'] || '选择主页源', |
|
|
|
title: runMode+" 主页源不存在\n需先选择配置主页源",//\n设置-选择漫画/小说/听书/
|
|
|
|
url: $(['选择源'], 2).select((sitenames, cfgfile, Juconfig) => { |
|
|
|
desc: "点上面分类按钮皆可选择",//设置长按菜单可以开启界面切换开关
|
|
|
|
if(input=='选择源'){ |
|
|
|
url: 'toast://点上面分类按钮', |
|
|
|
return $(sitenames, 2).select((cfgfile, Juconfig) => { |
|
|
|
col_type: "text_center_1", |
|
|
|
Juconfig['sitename'] = input; |
|
|
|
extra: { |
|
|
|
writeFile(cfgfile, JSON.stringify(Juconfig)); |
|
|
|
lineVisible: false |
|
|
|
refreshPage(true); |
|
|
|
|
|
|
|
return 'toast://选择主页源:' + input; |
|
|
|
|
|
|
|
}, cfgfile, Juconfig) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, sitenames, cfgfile, Juconfig), |
|
|
|
|
|
|
|
desc: '管理', |
|
|
|
|
|
|
|
img: "https://hikerfans.com/tubiao/ke/31.png", |
|
|
|
|
|
|
|
col_type: "avatar" |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
*/ |
|
|
|
} |
|
|
|
setResult(d); |
|
|
|
setResult(d); |
|
|
|
} |
|
|
|
} |
|
|
|
//接口一级
|
|
|
|
//接口一级
|
|
|
|