From 87b1b8986ab84cd19c28e8878b5a1ecec21cf6dd Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 7 Apr 2023 20:57:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJu.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index ccf6e522..a4163038 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -130,21 +130,23 @@ function yiji() { }); d.push({ title: '切换样式', - url: $('#noLoading#').lazyRule((cfgfile, Juconfig, list) => { - //deleteItemByCls("caselist"); + url: $('#noLoading#').lazyRule((cfgfile, Juconfig) => { + deleteItemByCls("caselist"); if(Juconfig["bookCase_col_type"]=="movie_1_vertical_pic"){ Juconfig["bookCase_col_type"] = "movie_3_marquee"; }else{ Juconfig["bookCase_col_type"] = "movie_1_vertical_pic"; } + /* log(list); list.forEach(it=>{ it.col_type = Juconfig["bookCase_col_type"]; }) addItemBefore("caseloading", list); + */ writeFile(cfgfile, JSON.stringify(Juconfig)); return 'hiker://empty'; - }, cfgfile, Juconfig, list), + }, cfgfile, Juconfig), img: "https://lanmeiguojiang.com/tubiao/more/25.png", col_type: "icon_2" });