From e078c07d4dd6751d298b4ea25f6976c33bffa261 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 3 Aug 2024 09:21:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index 7b412df4..c1a717fa 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -673,7 +673,7 @@ function dianboyiji() { input = input.replace(/[’‘]|<[^>]*>| |√/g, ""); setItem("接口搜索方式",input); refreshPage(); - return "toast://搜索方式设置为:"+input; + return "toast://搜索方式设置为:"+input+(input=="当前页面"?",只能搜索1页":""); }), pic_url: getIcon("点播-搜索.svg"), col_type: "icon_3_round_fill" @@ -707,16 +707,16 @@ function dianboyiji() { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJySet.js'); resource(); }) - }else if(input=="站源设置"){ - let modes = ["本地接口", "订阅文件"]; - return $(modes,2,"设置站源获取位置").select(()=>{ - if(input=="本地接口"){ - clearItem("sourceMode"); - }else if(input=="订阅文件"){ - setItem("sourceMode","2"); - } - return "toast://站源获取设置为"+input; - }) + }else if(input=="站源模式"){ + let sm; + if(getItem("sourceMode")=="2"){ + clearItem("sourceMode"); + sm = "本地接口模式"; + }else{ + setItem("sourceMode","2"); + sm = "订阅文件模式"; + } + return "toast://站源获取设置为:"+sm; } }), pic_url: getIcon("点播-设置.svg"),