From 2a6621580f1e7eb6fec3cbde1e716745f9c1ce61 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 5 Apr 2023 22:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJmSet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJmSet.js | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/SrcJmSet.js b/SrcJmSet.js index 917a9ffd..7966ef34 100644 --- a/SrcJmSet.js +++ b/SrcJmSet.js @@ -83,9 +83,32 @@ function SRCSet() { }) } }); + d.push({ + title: '测试', + col_type: 'text_2', + url: $(getItem('searchtestkey', '斗罗大陆'),"输入测试搜索关键字").input(()=>{ + setItem("searchtestkey",input); + let erparse = getMyVar('manhuaerparse'); + if(erparse){ + return $("hiker://empty#noRecordHistory##noHistory#").rule((name,sdata) => { + let d = []; + d.push({ + title: "搜索中...", + url: "hiker://empty", + extra: { + id: "listloading" + } + }); + setResult(d); + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuman.js'); + search(name,sdata); + },input,JSON.parse(erparse)) + } + }) + }) d.push({ title: '保存', - col_type: 'text_center_1', + col_type: 'text_2', url: $().lazyRule((filepath) => { if (!getMyVar('manhuaname')) { return "toast://名称不能为空";