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: {