From 1faef2c179d4d29a353f89b9fc62279d41ebca85 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 23 Oct 2022 08:37:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyXunmi.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyXunmi.js | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/SrcJyXunmi.js b/SrcJyXunmi.js index e5ee6228..46c20a03 100644 --- a/SrcJyXunmi.js +++ b/SrcJyXunmi.js @@ -152,24 +152,27 @@ function xunmi(name,data,ishkss) { } }); } - d.push({ - title: '删除开关', - url: $('#noLoading#').lazyRule(()=>{ - if(getMyVar('deleteswitch')){ - clearMyVar('deleteswitch'); - updateItem('deleteswitch',{title:'删除开关'}); - return 'toast://退出处理模式,撤销二级删除开关'; - }else{ - putMyVar('deleteswitch','1'); - updateItem('deleteswitch',{title:'‘‘’’删除开关'}); - return 'toast://进入处理模式,点击影片详情确认是否删除'; - } - }), - col_type: "scroll_button", - extra: { - id: 'deleteswitch' - } - }); + if(getMyVar('isload', '0')=="0"){ + d.push({ + title: '删除开关', + url: $('#noLoading#').lazyRule(()=>{ + if(getMyVar('deleteswitch')){ + clearMyVar('deleteswitch'); + updateItem('deleteswitch',{title:'删除开关'}); + return 'toast://退出处理模式,撤销二级删除开关'; + }else{ + putMyVar('deleteswitch','1'); + updateItem('deleteswitch',{title:'‘‘’’删除开关'}); + return 'toast://进入处理模式,点击影片详情确认是否删除'; + } + }), + col_type: "scroll_button", + extra: { + id: 'deleteswitch' + } + }); + } + if(datalist2.length>0){ datalist = datalist2; }