更新 'SrcJu.js'

Ju
src48597962 2 years ago
parent 350e4e8455
commit 698b2ddf15
  1. 8
      SrcJu.js

@ -141,12 +141,12 @@ function yiji() {
}, cfgfile, Juconfig,it) }, cfgfile, Juconfig,it)
} }
}).concat([{ }).concat([{
title:getItem('runtypebtn')?"关界面按钮":"开界面按钮", title:getItem('runtypebtn')=="1"?"关界面按钮":"开界面按钮",
js: $.toString(()=>{ js: $.toString(()=>{
if(getItem('runtypebtn')){ if(getItem('runtypebtn')=="1"){
clearItem('runtypebtn'); clearItem('runtypebtn');
}else{ }else{
setItem('runtypebtn',1); setItem('runtypebtn','1');
} }
refreshPage(false); refreshPage(false);
return "hiker://empty"; return "hiker://empty";
@ -266,7 +266,7 @@ function yiji() {
d.push({ d.push({
col_type: 'blank_block' col_type: 'blank_block'
}) })
if(getItem('runtypebtn')){ if(getItem('runtypebtn')=="1"){
runModes.forEach((it) =>{ runModes.forEach((it) =>{
d.push({ d.push({
title: Juconfig["runMode"]==it?`““””<b><span style="color: #3399cc">`+it+`</span></b>`:it, title: Juconfig["runMode"]==it?`““””<b><span style="color: #3399cc">`+it+`</span></b>`:it,

Loading…
Cancel
Save