From f8d2163dbd4c38478b3c16eceaa2afb35cb1bfa7 Mon Sep 17 00:00:00 2001
From: src48597962 <48597962@qq.com>
Date: Thu, 13 Apr 2023 14:09:23 +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 | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/SrcJu.js b/SrcJu.js
index f384ad0d..f779d827 100644
--- a/SrcJu.js
+++ b/SrcJu.js
@@ -396,6 +396,7 @@ function erji() {
d.push({
title: getMyVar(sname + 'sort') == '1' ? `““””排序⇅` : `““””排序⇅`,
url: $("#noLoading#").b64().lazyRule((列表,name,sname,lazy) => {
+ let arr = findItemsByCls('playlist');
deleteItemByCls('playlist');
if (getMyVar(sname + 'sort') == '1') {
putMyVar(sname + 'sort', '0');
@@ -404,11 +405,13 @@ function erji() {
});
} else {
putMyVar(sname + 'sort', '1')
- 列表.reverse();
+ //列表.reverse();
+ arr.reverse();
updateItem('listsort', {
title: `““””排序⇅`
});
};
+ /*
let d = [];
let list_col_type = getItem('SrcJuList_col_type', 'text_2');
for(let i=0; i<列表.length; i++) {
@@ -424,6 +427,8 @@ function erji() {
});
}
addItemBefore('listloading', d);
+ */
+ addItemBefore('listloading', arr);
return 'toast://切换排序成功'
}, 列表,name,sname,lazy),
col_type: 'scroll_button',