From 8888704a8399e93fd35d844e7affbabad2000e0f Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 8 Sep 2024 21:26:30 +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 | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index 2484bc00..2993744a 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -1007,11 +1007,13 @@ function dianboyiji(testSource) { //一级 function yiji() { - /* addListener("onClose", $.toString(() => { - clearMyVar('isverifyA'); + clearMyVar('SrcJu_homeHistory'); })); - */ + addListener('onRefresh', $.toString(() => { + clearMyVar('SrcJu_homeHistory'); + })); + if(MY_RULE.title=="聚影✓"){ toast("此小程序已停用,请重新导入聚影"); } @@ -1335,11 +1337,18 @@ function yiji() { }); }) } - + if(getItem('historyEnable')=='1'){ d.push({ title: '\t观看记录\t\t\t', - url: 'hiker://empty', + url: $('#noLoading#').lazyRule(() => { + let i = parseInt(getMyVar('SrcJu_homeHistory','0')) + 1; + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js'); + deleteItemByCls('historylist'); + let h = getHistory(i); + addItemAfter("historyid", h); + return "hiker://empty"; + }), pic_url: getIcon("主页-记录.svg", 1),//'https://hikerfans.com/tubiao/red/40.png', col_type: 'avatar', extra: {