更新 'SrcJu.js'

Ju
src48597962 2 years ago
parent 2940e9a604
commit 1489d47436
  1. 10
      SrcJu.js

@ -397,6 +397,10 @@ function erji() {
title: getMyVar(sname + 'sort') == '1' ? `““””<b><span style="color: #66CCEE">排序⇅</span></b>` : `““””<b><span style="color: #55AA44">排序⇅</span></b>`,
url: $("#noLoading#").lazyRule((sname) => {
let 列表 = findItemsByCls('playlist') || [];
if(列表.length==0){
return 'toast://未获取到列表'
}
deleteItemByCls('playlist');
if (getMyVar(sname + 'sort') == '1') {
putMyVar(sname + 'sort', '0');
updateItem('listsort', {
@ -413,7 +417,6 @@ function erji() {
列表.forEach(item => {
item.col_type = list_col_type;
})
deleteItemByCls('playlist');
addItemBefore('listloading', 列表);
return 'toast://切换排序成功'
}, sname),
@ -427,10 +430,13 @@ function erji() {
title: `““””<b><span style="color: #f47983">样式<small>🎨</small></span></b>`,
url: $(["text_1","text_2","text_3","flex_button"],1,"选集列表样式").select(() => {
let 列表 = findItemsByCls('playlist') || [];
if(列表.length==0){
return 'toast://未获取到列表'
}
deleteItemByCls('playlist');
列表.forEach(item => {
item.col_type = input;
})
deleteItemByCls('playlist');
addItemBefore('listloading', 列表);
setItem('SrcJuList_col_type', input);
return 'hiker://empty'

Loading…
Cancel
Save