From 49003dea75658ced478ce15201d6c44a11c3eee2 Mon Sep 17 00:00:00 2001
From: src48597962 <48597962@qq.com>
Date: Thu, 13 Jul 2023 13:53:56 +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 | 54 ++++++++++++++++++++++++++----------------------------
1 file changed, 26 insertions(+), 28 deletions(-)
diff --git a/SrcJu.js b/SrcJu.js
index a8398ad3..37426c6d 100644
--- a/SrcJu.js
+++ b/SrcJu.js
@@ -641,34 +641,32 @@ function erji() {
cls: "loadlist"
}
})
- 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://未获取到列表'
- }
- 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"
+ d.push({
+ title: `““””样式🎨`,
+ url: $(["text_1","text_2","text_3","text_4","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;
+ }
+ })
+ 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,i)=>{
d.push({
@@ -794,7 +792,7 @@ function erji() {
d.push({
title: 列表[i].title.trim(),
url: "hiker://empty##" + 列表[i].url + lazy,
- col_type: stype!="影视"?list_col_type.replace("_left",""):列表[i].title.trim().length>=10?"text_2":"text_4",
+ col_type: list_col_type.replace("_left",""),
extra: extra
});
}