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