diff --git a/src/components/work-flow/super-flow.vue b/src/components/work-flow/super-flow.vue index 96698428333e1744a54899427157f751b4924ab8..ee1010f491cae73f18848a9c545bf2a0ab128322 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 01a999210ab2a9d43307bce762394ef5f065258a..13aa9b54e55ac910886bd146720e678641c313cf 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 @@ + +