diff --git a/SrcJuman.js b/SrcJuman.js index 692f3357..578347cb 100644 --- a/SrcJuman.js +++ b/SrcJuman.js @@ -97,7 +97,12 @@ function yiji() { }) } data.forEach(item => { - item.extra = { name: item.title, img: item.pic_url || item.img } + let extra = item.extra || {}; + extra.name = extra.name || item.title; + extra.img = extra.img || item.pic_url || item.img; + if(!item.col_type=="scroll_button" || item.extra){ + item.extra = extra; + } item.url = $('hiker://empty#immersiveTheme##autoCache#').rule(() => { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuman.js'); erji();