From 45208ac9e8a8bc4f0bcd710087da712126e7009a Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 15 Jul 2024 13:46:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyMenu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyMenu.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SrcJyMenu.js b/SrcJyMenu.js index c1a23919..40367e68 100644 --- a/SrcJyMenu.js +++ b/SrcJyMenu.js @@ -1,5 +1,5 @@ //本代码仅用于个人学习,请勿用于其他作用,下载后请24小时内删除,代码虽然是公开学习的,但请尊重作者,应留下说明 -require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js'); + //二级统一菜单 function erjimenu(desc,name,group) { return [ @@ -43,6 +43,7 @@ function erjimenu(desc,name,group) { title: "观影设置", url: $('hiker://empty#noRecordHistory##noHistory#').rule(() => { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyMenu.js'); + let getIcon = globalMap0.getMyVar('gmParams').getIcon; lookset(); }), pic_url: getIcon("点播-观影设置.svg"), @@ -87,7 +88,7 @@ function cutSource(name, group) { title: oldgroup }) updateItem("id_"+newgroup, { - title: `““””`+newgroup+`` + title: `““””`+newgroup+`` }) updateItem(oldgroup+"_"+name+"_loading", { extra: {"id":newgroup+"_"+name+"_loading","lineVisible":false} @@ -125,6 +126,7 @@ function cutSource(name, group) { erjisousuo(name, group); } } + function lookset() { setPageTitle("♥观影设置"); let recordfile = globalMap0.getMyVar('gmParams').rulepath + "parse.json";//解析相关记录文件