diff --git a/SrcJu.js b/SrcJu.js index 78e50e77..f437937e 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -397,7 +397,6 @@ function erji() { title: getMyVar(sname + 'sort') == '1' ? `““””排序⇅` : `““””排序⇅`, url: $("#noLoading#").lazyRule((列表,name,sname,lazy) => { let arr = findItemsByCls('playlist'); - log(arr); deleteItemByCls('playlist'); if (getMyVar(sname + 'sort') == '1') { putMyVar(sname + 'sort', '0'); @@ -407,11 +406,12 @@ function erji() { } else { putMyVar(sname + 'sort', '1') //列表.reverse(); - //arr.reverse(); + arr.reverse(); updateItem('listsort', { title: `““””排序⇅` }); }; + /* let d = []; let list_col_type = getItem('SrcJuList_col_type', 'text_2'); @@ -429,6 +429,10 @@ function erji() { } addItemBefore('listloading', d); */ + let list_col_type = getItem('SrcJuList_col_type', 'text_2'); + arr.forEach(item => { + item.col_type = list_col_type; + }) addItemBefore('listloading', arr); return 'toast://切换排序成功' }, 列表,name,sname,lazy),