From aa1534f0cf2569852e76be7f8776b57c1a023f98 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 18 Nov 2023 21:02:50 +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, 12 insertions(+), 7 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index 037ec9aa..3b23908c 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -818,12 +818,6 @@ function sousuo2(d, disk) { }); }) } - d.push({ - title: '\t热搜榜\t\t\t', - url: "hiker://empty", - pic_url: 'https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=3779990328,1416553241&fm=179&app=35&f=PNG?w=60&h=70&s=E7951B62A4639D153293A4E90300401B', - col_type: 'icon_small_3' - }); let resoufile = "hiker://files/rules/Src/Juying/resou.json"; let Juyingresou = fetch(resoufile); @@ -856,12 +850,23 @@ function sousuo2(d, disk) { log("获取热搜榜出错>"+e.message); } } - + d.push({ + title: '\t热搜榜\t\t\t', + desc: fenlei[ids], + url: $(fenlei, 2).select((fenlei) => { + putMyVar("热榜分类",fenlei.indexOf(input)); + refreshPage(false); + return "hiker://empty"; + },fenlei), + pic_url: 'https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=3779990328,1416553241&fm=179&app=35&f=PNG?w=60&h=70&s=E7951B62A4639D153293A4E90300401B', + col_type: 'icon_small_3' + }); fenlei.forEach((item,i)=>{ d.push({ title: (ids==i?'✅':'')+item, url: $('#noLoading#').lazyRule((i) => { putMyVar("热榜分类",i); + refreshPage(false); return "hiker://empty"; },i), col_type: 'scroll_button'