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; }