diff --git a/SrcJu.js b/SrcJu.js
index e276fd25..a8398ad3 100644
--- a/SrcJu.js
+++ b/SrcJu.js
@@ -641,36 +641,38 @@ function erji() {
cls: "loadlist"
}
})
- d.push({
- title: `““””样式🎨`,
- url: $(["text_1","text_2","text_3","flex_button","text_2_left","text_3_left"],2,"选集列表样式").select(() => {
- let 列表 = findItemsByCls('playlist') || [];
- if(列表.length==0){
- return 'toast://未获取到列表'
- }
- deleteItemByCls('playlist');
- let list_col_type = input;
- 列表.forEach(item => {
- item.col_type = list_col_type.replace("_left","");
- if(list_col_type.indexOf("_left")>-1){
- item.extra.textAlign = 'left';
- }else{
- delete item.extra.textAlign;
+ if(stype!="影视"){
+ d.push({
+ title: `““””样式🎨`,
+ url: $(["text_1","text_2","text_3","flex_button","text_2_left","text_3_left"],2,"选集列表样式").select(() => {
+ let 列表 = findItemsByCls('playlist') || [];
+ if(列表.length==0){
+ return 'toast://未获取到列表'
}
- })
- addItemBefore(getMyVar("listloading","1")=="1"?"listloading":"listloading2", 列表);
- setItem('SrcJuList_col_type', input);
- return 'hiker://empty'
- }),
- col_type: 'scroll_button',
- extra: {
- cls: "loadlist"
- }
- })
+ deleteItemByCls('playlist');
+ let list_col_type = input;
+ 列表.forEach(item => {
+ item.col_type = list_col_type.replace("_left","");
+ if(list_col_type.indexOf("_left")>-1){
+ item.extra.textAlign = 'left';
+ }else{
+ delete item.extra.textAlign;
+ }
+ })
+ addItemBefore(getMyVar("listloading","1")=="1"?"listloading":"listloading2", 列表);
+ setItem('SrcJuList_col_type', input);
+ return 'hiker://empty'
+ }),
+ col_type: 'scroll_button',
+ extra: {
+ cls: "loadlist"
+ }
+ })
+ }
if(线路s.length>1){
- 线路s.forEach(it=>{
+ 线路s.forEach((it,i)=>{
d.push({
- title: getMyVar("SrcJu_"+surl+"_line")==lineid?`““””`+it+``:it,
+ title: getMyVar("SrcJu_"+surl+"_line")==i?`““””`+it+``:it,
url: $("#noLoading#").lazyRule((surl,lineid) => {
let index = getMyVar("SrcJu_"+surl+"_line","0");
if(lineid != index){
@@ -678,7 +680,7 @@ function erji() {
refreshPage(false);
}
return 'hiker://empty'
- }, surl, lineid),
+ }, surl, i),
col_type: 'scroll_button',
extra: {
cls: "loadlist"
@@ -776,7 +778,7 @@ function erji() {
url: 列表[i].url,
cls: "loadlist playlist"
}
- if(stype=="听书"){
+ if(stype=="听书"||stype=="影视"){
extra.jsLoadingInject = true;
let blockRules = ['.m4a', '.mp3', '.gif', '.jpeg', '.jpg', '.ico', '.png', 'hm.baidu.com', '/ads/*.js', 'cnzz.com', '51.la'];
if(details.blockRules && $.type(details.blockRules)=="array"){
@@ -792,7 +794,7 @@ function erji() {
d.push({
title: 列表[i].title.trim(),
url: "hiker://empty##" + 列表[i].url + lazy,
- col_type: list_col_type.replace("_left",""),
+ col_type: stype!="影视"?list_col_type.replace("_left",""):列表[i].title.trim().length>=10?"text_2":"text_4",
extra: extra
});
}