From f1a06f9802ab162e26151a6043ff771f2640bd00 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 30 May 2024 15:33:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyData.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyData.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/SrcJyData.js b/SrcJyData.js index d3bb493e..2cbac5bf 100644 --- a/SrcJyData.js +++ b/SrcJyData.js @@ -304,6 +304,11 @@ function getYiData(jkdata) { title: fold === '1' ? '““””' : '““””', url: $('#noLoading#').lazyRule((fold) => { putMyVar('SrcJu_dianbo$fold', fold === '1' ? '0' : '1'); + clearMyVar('SrcJu_dianbo$类型'); + clearMyVar('SrcJu_dianbo$剧情'); + clearMyVar('SrcJu_dianbo$地区'); + clearMyVar('SrcJu_dianbo$年份'); + clearMyVar('SrcJu_dianbo$排序'); refreshPage(false); return "hiker://empty"; }, fold), @@ -608,7 +613,15 @@ function getYiData(jkdata) { } catch (e) { lists = json.list||json.data.list||json.data||[]; } - } + } + if(lists.length==0){ + d.push({ + title: '列表为空', + desc: '点击访问原网页', + url: MY_URL + '#noHistory#', + col_type: 'text_center_1' + }); + } }catch(e){ d.push({ title: '获取列表数据失败!',