From ff4505ac4300581907b1e7f6d60d0b442a5b81d0 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 6 Oct 2024 21:13:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyMenu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyMenu.js | 72 +--------------------------------------------------- 1 file changed, 1 insertion(+), 71 deletions(-) diff --git a/SrcJyMenu.js b/SrcJyMenu.js index 0ce1b63c..52f16692 100644 --- a/SrcJyMenu.js +++ b/SrcJyMenu.js @@ -1,5 +1,5 @@ //本代码仅用于个人学习,请勿用于其他作用,下载后请24小时内删除,代码虽然是公开学习的,但请尊重作者,应留下说明 -require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyPublic.js'); +let getIcon = globalMap0.getVar('Jy_gmParams').getIcon; //二级统一菜单 function erjimenu(desc,name,group) { return [ @@ -405,76 +405,6 @@ function lookset() { pic_url: playSet['dmRoute']?getIcon("点播-开.svg"):getIcon("关.svg"), col_type: "text_icon" }); - - /* - d.push({ - title: (getItem('enabledpush', '') == '1' ? getide(1) : getide(0)) + 'TVBOX推送', - url: $('#noLoading#').lazyRule(() => { - refreshPage(false); - if (getItem('enabledpush', '') == '1') { - clearItem('enabledpush'); - return 'toast://已关闭按钮'; - } else { - setItem('enabledpush', '1'); - return 'toast://已开启,仅对接口二级有效,非需要请关闭'; - } - }), - col_type: "text_1", - extra: { - lineVisible: false - } - }); - - if (getItem('enabledpush', '') == '1') { - try { - var boxip = getIP(); - } catch (e) { - var boxip = '0.0.0.0'; - } - d.push({ - title: getItem('hikertvboxset') ? '参照频道香佬教程,需自行研究' : '推送选集列表,设置接收端ip地址', - desc: getItem('hikertvboxset') ? '接收端ip地址:' + getItem('hikertvboxset', '') : '还未设置接收端ip地址', - url: "input://" + (getItem('hikertvboxset', '') == '' ? ('http://' + boxip + ':9978') : getItem('hikertvboxset')) + "////TVBOX接收端ip地址.js:setItem('hikertvboxset',input);refreshPage()", - col_type: "text_center_1" - }); - } - d.push({ - col_type: "line_blank" - }); - - d.push({ - title: '颜色设置', - col_type: "rich_text" - }); - d.push({ - title: getItem('SrcJy$linecolor1', '') == '' ? '线路选中' : '‘‘’’' + '线路选中' + '', - url: $("", "选中的线路名颜色设置").input(() => { - setItem('SrcJy$linecolor1', input); - refreshPage(false); - return "hiker://empty"; - }), - col_type: "text_3" - }) - d.push({ - title: getItem('SrcJy$linecolor2', '') == '' ? '线路未选' : '‘‘’’' + '线路未选' + '', - url: $("", "未选中的线路名颜色设置").input(() => { - setItem('SrcJy$linecolor2', input); - refreshPage(false); - return "hiker://empty"; - }), - col_type: "text_3" - }) - d.push({ - title: getItem('SrcJy$playcolor', '') == '' ? '选集颜色' : '‘‘’’' + '选集颜色' + '', - url: $("", "选集列表名称的颜色设置").input(() => { - setItem('SrcJy$playcolor', input); - refreshPage(false); - return "hiker://empty"; - }), - col_type: "text_3" - }) - */ - d.push({ title: '
', col_type: 'rich_text'