//2026-06-13 09:37:57 var jsondata=[]; function getColor(code,colorindex) { let r=jsondata.filter(function(data) {return data.code == code}); if (r && r.length>0){ if (colorindex=='2'){ return r[0].color2; }else if (colorindex=='3'){ return r[0].color3; }else { return r[0].color1; } }else{ return ''; } }