From 727b63104c5ae47b97ad270caf7430f95186b532 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 6 Apr 2023 13:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuman.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuman.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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();