From 16e5cdd53cc0c06ffb4bfa622a16dd4ad434f578 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 11 Apr 2023 20:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJu.js | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 90782c1f..bbde1b17 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -31,12 +31,21 @@ function yiji() { if(MY_PAGE==1){ Version(); downloadicon(); - d.push({ - title: "管理", - url: $("hiker://empty#noRecordHistory##noHistory#").rule(() => { + + /* + $("hiker://empty#noRecordHistory##noHistory#").rule(() => { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuSet.js'); SRCSet(); - }), + }) + */ + d.push({ + title: "管理", + url: $(["书架", "收藏", "历史"], 1).select((cfgfile, Juconfig) => { + Juconfig["btnmenu5"] = input; + writeFile(cfgfile, JSON.stringify(Juconfig)); + refreshPage(false); + return 'toast://已切换为' + input; + }, cfgfile, Juconfig), pic_url: "https://lanmeiguojiang.com/tubiao/more/129.png", col_type: 'icon_5', extra: {