diff --git a/static/hub.css b/static/hub.css index d8f8783..7ae22f2 100644 --- a/static/hub.css +++ b/static/hub.css @@ -856,14 +856,6 @@ button, .btn { font-size: 0.8rem; font-weight: 600; } -.opt-side-put, -.overview-cond-wait.opt-side-put .overview-cond-wait-line { - color: #fb7185; -} -.opt-side-call, -.overview-cond-wait.opt-side-call .overview-cond-wait-line { - color: #34d399; -} .overview-cond-src { display: inline-block; margin-left: 6px; diff --git a/static/hub.js b/static/hub.js index 39e5133..bfe612d 100644 --- a/static/hub.js +++ b/static/hub.js @@ -77,16 +77,6 @@ ); } - function optSideClass(optType, instId) { - const t = String(optType || "").toUpperCase(); - if (t === "P") return "opt-side-put"; - if (t === "C") return "opt-side-call"; - const id = String(instId || "").toUpperCase(); - if (id.indexOf("-P-") >= 0 || id.slice(-2) === "-P") return "opt-side-put"; - if (id.indexOf("-C-") >= 0 || id.slice(-2) === "-C") return "opt-side-call"; - return ""; - } - function condWaitLine(cond) { if (!cond) return "条件单占用"; const put = String(cond.opt_type || "").toUpperCase() !== "C"; @@ -108,11 +98,8 @@ const list = brief || []; if (!list.length) { if (cond) { - const sideCls = optSideClass(cond.opt_type, ""); return ( - '