From 2ccad887dd9707e484db7a14315ea457d0d2ea17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=AE=BF=E6=98=95?= Date: Fri, 16 Oct 2020 19:08:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E4=B8=AA=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E5=85=88=E5=87=91=E5=90=88=E7=94=A8=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/work-flow/super-flow.vue | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/components/work-flow/super-flow.vue b/src/components/work-flow/super-flow.vue index 58cf256..2dc4c81 100644 --- a/src/components/work-flow/super-flow.vue +++ b/src/components/work-flow/super-flow.vue @@ -83,6 +83,9 @@ 'flow-node-judge': nodeParams(node.meta.id).type == 4 && node.meta.id != nodeItem.id, + 'flow-node-judge-active': + nodeParams(node.meta.id).type == 4 && + node.meta.id == nodeItem.id, }" :id="node.meta.id" > @@ -2049,6 +2052,25 @@ export default { } } } + .flow-node-judge-active { + width: 100%; + height: 100%; + padding: 2px 6px; + border-radius: 8px; + background-color: transparent; + border: none; + position: relative; + .svg_in { + position: absolute; + top: 0; + left: 0; + z-index: -1; + overflow: hidden; + .judge_svg { + position: relative; + } + } + } } } .super-flow__menu-container .super-flow__menu { -- 2.26.0