From 8b9be0b288adec4c5ec03a994f37bd9f0483cc3a Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 14 Sep 2024 21:59:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJySet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJySet.js | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/SrcJySet.js b/SrcJySet.js index 9b709a73..c1b71662 100644 --- a/SrcJySet.js +++ b/SrcJySet.js @@ -316,51 +316,64 @@ function SRCSet() { let d = []; require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js'); d.push({ - title: "选择判断失败条件", + title: "选择判定失败条件", col_type: "rich_text" }) d.push({ - title:(getMyVar('condition_yi','1')=="1"?getide(1):getide(0))+'一级列表', + title:(getMyVar('condition_yi','0')=="1"?getide(1):getide(0))+'一级列表', col_type:'text_3', url:$('#noLoading#').lazyRule(() => { - if(getMyVar('condition_yi')=="0"){ - putMyVar('condition_yi','1'); + if(getMyVar('condition_yi')=="1"){ + clearMyVar('condition_yi'); }else{ - putMyVar('condition_yi','0'); + putMyVar('condition_yi','1'); } refreshPage(false); return "hiker://empty"; }) }); d.push({ - title:(getMyVar('condition_er','1')=="1"?getide(1):getide(0))+'二级选集', + title:(getMyVar('condition_er','0')=="1"?getide(1):getide(0))+'二级选集', col_type:'text_3', url:$('#noLoading#').lazyRule(() => { - if(getMyVar('condition_er')=="0"){ - putMyVar('condition_er','1'); + if(getMyVar('condition_er')=="1"){ + clearMyVar('condition_er'); }else{ - putMyVar('condition_er','0'); + putMyVar('condition_er','1'); } refreshPage(false); return "hiker://empty"; }) }); d.push({ - title:(getMyVar('condition_ss','1')=="1"?getide(1):getide(0))+'搜索结果', + title:(getMyVar('condition_ss','0')=="1"?getide(1):getide(0))+'搜索结果', col_type:'text_3', url:$('#noLoading#').lazyRule(() => { - if(getMyVar('condition_ss')=="0"){ - putMyVar('condition_ss','1'); + if(getMyVar('condition_ss')=="1"){ + clearMyVar('condition_ss'); }else{ - putMyVar('condition_ss','0'); + putMyVar('condition_ss','1'); } refreshPage(false); return "hiker://empty"; }) }); d.push({ - title: "待较验源:" + num, - url: $('#noLoading#').lazyRule(() => { + col_type: "line_blank" + }); + let nexttime = 0; + if(getMyVar('condition_yi')=='1'){ + nexttime += 12; + } + if(getMyVar('condition_er')=='1'){ + nexttime += 12; + } + if(getMyVar('condition_ss')=='1'){ + nexttime += 12; + } + d.push({ + title: "待较验源:" + num + ",点击开始", + url: nexttime==0?"toast://选择判定失败的条件":$("确定开始批量较验源?下次执行需要等"+nexttime+"小时!").confirm(() => { let duoselect = storage0.getMyVar('SrcJu_duoselect') || []; require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js'); require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyData.js');