From 2ba2f3bbc924566303773f3290273f53eb0551af Mon Sep 17 00:00:00 2001 From: liudianxin Date: Sat, 8 Aug 2020 19:10:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E4=BD=95=E5=88=A4=E5=AE=9A=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E9=97=AD=E7=8E=AF=EF=BC=9F=E7=BB=93=E6=9E=84=E5=A4=8D?= =?UTF-8?q?=E6=9D=82=E7=9A=84=E8=AF=9D=E5=8A=A8=E6=80=81=E8=A7=84=E5=88=92?= =?UTF-8?q?=E6=98=BE=E7=84=B6=E4=B8=8D=E6=98=AF=E4=B8=80=E4=B8=AA=E5=A5=BD?= =?UTF-8?q?=E5=8A=9E=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/work-flow/super-flow.vue | 117 +++++++----------- .../process-design/index.vue | 67 +++++++++- 2 files changed, 105 insertions(+), 79 deletions(-) diff --git a/src/components/work-flow/super-flow.vue b/src/components/work-flow/super-flow.vue index 9669842..ee1010f 100644 --- a/src/components/work-flow/super-flow.vue +++ b/src/components/work-flow/super-flow.vue @@ -5,39 +5,17 @@

节点类型

请拖拽添加到流程中

- - {{item.label}} + + {{item.label}}
- +
@@ -48,7 +26,7 @@ @@ -296,6 +272,7 @@ export default { height: 800px; background-color: #f5f5f5; @list-width: 200px; + position: relative; > .node-container { width: @list-width; position: absolute; @@ -326,6 +303,10 @@ export default { box-shadow: none; border: none; background-color: transparent; + border-radius: 8px; + &:focus { + box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8); + } .flow-node-begin { width: 100%; height: 100%; @@ -338,9 +319,6 @@ export default { text-overflow: ellipsis; border-radius: 8px; border: 2px solid #444; - &:focus { - border: 2px solid #0f0; - } } .flow-node-end { width: 100%; @@ -353,9 +331,6 @@ export default { text-overflow: ellipsis; border-radius: 8px; border: 2px solid #f80; - &:focus { - border: 2px solid #0f0; - } } .flow-node-default { width: 100%; @@ -368,9 +343,6 @@ export default { text-overflow: ellipsis; border-radius: 8px; border: 2px solid #3a9; - &:focus { - border: 2px solid #0f0; - } } } } @@ -391,9 +363,6 @@ export default { &:hover { box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4); } - &:focus { - background-color: chocolate; - } } diff --git a/src/pages/workbench/component-center/process-management/process-design/index.vue b/src/pages/workbench/component-center/process-management/process-design/index.vue index 01a9992..13aa9b5 100644 --- a/src/pages/workbench/component-center/process-management/process-design/index.vue +++ b/src/pages/workbench/component-center/process-management/process-design/index.vue @@ -1,15 +1,72 @@ + + -- 2.26.0