From ee0a0c0f7e4648b8f74b545468d41f98670b44db Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 5 Apr 2023 16:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuman.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuman.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/SrcJuman.js b/SrcJuman.js index 847f3c07..7384a52c 100644 --- a/SrcJuman.js +++ b/SrcJuman.js @@ -17,15 +17,18 @@ function yiji() { }) d.push({ title: "排行", - url: "", + url: $("hiker://empty#noRecordHistory##noHistory#").rule(() => { + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJmPublic.js'); + getData('排行'); + }), pic_url: "hiker://files/cache/src/排行.webp", col_type: 'icon_5' }) d.push({ title: "分类", url: $("hiker://empty#noRecordHistory##noHistory#?page=fypage").rule(() => { - require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJmClass.js'); - Category(); + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJmPublic.js'); + getData('分类'); }), pic_url: "hiker://files/cache/src/分类.webp", col_type: 'icon_5' @@ -33,8 +36,8 @@ function yiji() { d.push({ title: "更新", url: $("hiker://empty#noRecordHistory##noHistory#").rule(() => { - require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJmClass.js'); - Update(); + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJmPublic.js'); + getData('更新'); }), pic_url: "hiker://files/cache/src/更新.webp", col_type: 'icon_5'