diff --git a/SrcBook.js b/SrcBook.js index 111d9683..fc75db62 100644 --- a/SrcBook.js +++ b/SrcBook.js @@ -11,7 +11,7 @@ function yiji() { col_type: 'icon_5' }, { - title: "书架", + title: "布局", url: "hiker://collection", pic_url: 'https://lanmeiguojiang.com/tubiao/more/109.png', col_type: 'icon_5' @@ -35,7 +35,7 @@ function yiji() { col_type: 'icon_5' }, { - title: "直播", + title: "编辑", url: $("hiker://empty#noRecordHistory##noHistory#").rule(() => { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); Live(); @@ -58,6 +58,19 @@ function yiji() { col_type: "blank_block" }) } + var shelffile = "hiker://files/rules/Src/Read/bookshelf.js"; + var shelf=fetch(cfgfile); + if(shelf != ""){ + eval("var bookshelf=" + shelf+ ";"); + }else{ + var bookshelf= []; + } + if(bookshelf.length==0){ + d.push({ + title: '↻书架是空的', + col_type: "rich_text" + }); + } } setResult(d); } \ No newline at end of file