|
|
@ -140,7 +140,18 @@ function yiji() { |
|
|
|
return 'toast://运行模式已切换为:' + input; |
|
|
|
return 'toast://运行模式已切换为:' + input; |
|
|
|
}, cfgfile, Juconfig,it) |
|
|
|
}, cfgfile, Juconfig,it) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}).concat([{ |
|
|
|
|
|
|
|
title:getItem('runtypebtn')?"关界面按钮":"开界面按钮", |
|
|
|
|
|
|
|
js: $.toString(()=>{ |
|
|
|
|
|
|
|
if(getItem('runtypebtn')){ |
|
|
|
|
|
|
|
clearItem('runtypebtn'); |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
setItem('runtypebtn',1); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
refreshPage(false); |
|
|
|
|
|
|
|
return "hiker://empty"; |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
}]) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
if(parse&&parse["排行"]){ |
|
|
|
if(parse&&parse["排行"]){ |
|
|
@ -255,6 +266,7 @@ function yiji() { |
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
col_type: 'blank_block' |
|
|
|
col_type: 'blank_block' |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
if(getItem('runtypebtn')){ |
|
|
|
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, |
|
|
@ -267,6 +279,10 @@ function yiji() { |
|
|
|
col_type: 'scroll_button' |
|
|
|
col_type: 'scroll_button' |
|
|
|
}); |
|
|
|
}); |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
d.push({ |
|
|
|
|
|
|
|
col_type: 'blank_block' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
putMyVar(runMode+"_"+sourcename, "1"); |
|
|
|
putMyVar(runMode+"_"+sourcename, "1"); |
|
|
|
} |
|
|
|
} |
|
|
|
try{ |
|
|
|
try{ |
|
|
|