|
|
@ -130,21 +130,23 @@ function yiji() { |
|
|
|
}); |
|
|
|
}); |
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
title: '切换样式', |
|
|
|
title: '切换样式', |
|
|
|
url: $('#noLoading#').lazyRule((cfgfile, Juconfig, list) => { |
|
|
|
url: $('#noLoading#').lazyRule((cfgfile, Juconfig) => { |
|
|
|
//deleteItemByCls("caselist");
|
|
|
|
deleteItemByCls("caselist"); |
|
|
|
if(Juconfig["bookCase_col_type"]=="movie_1_vertical_pic"){ |
|
|
|
if(Juconfig["bookCase_col_type"]=="movie_1_vertical_pic"){ |
|
|
|
Juconfig["bookCase_col_type"] = "movie_3_marquee"; |
|
|
|
Juconfig["bookCase_col_type"] = "movie_3_marquee"; |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
Juconfig["bookCase_col_type"] = "movie_1_vertical_pic"; |
|
|
|
Juconfig["bookCase_col_type"] = "movie_1_vertical_pic"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/* |
|
|
|
log(list); |
|
|
|
log(list); |
|
|
|
list.forEach(it=>{ |
|
|
|
list.forEach(it=>{ |
|
|
|
it.col_type = Juconfig["bookCase_col_type"]; |
|
|
|
it.col_type = Juconfig["bookCase_col_type"]; |
|
|
|
}) |
|
|
|
}) |
|
|
|
addItemBefore("caseloading", list); |
|
|
|
addItemBefore("caseloading", list); |
|
|
|
|
|
|
|
*/ |
|
|
|
writeFile(cfgfile, JSON.stringify(Juconfig)); |
|
|
|
writeFile(cfgfile, JSON.stringify(Juconfig)); |
|
|
|
return 'hiker://empty'; |
|
|
|
return 'hiker://empty'; |
|
|
|
}, cfgfile, Juconfig, list), |
|
|
|
}, cfgfile, Juconfig), |
|
|
|
img: "https://lanmeiguojiang.com/tubiao/more/25.png", |
|
|
|
img: "https://lanmeiguojiang.com/tubiao/more/25.png", |
|
|
|
col_type: "icon_2" |
|
|
|
col_type: "icon_2" |
|
|
|
}); |
|
|
|
}); |
|
|
|