From aeac77b90fdb2cee6e1fae24e9ed5c07da6630e4 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: 星期四, 04 四月 2024 20:41:58 +0800 Subject: [PATCH] chore: 拖动元素时的背景图 --- src/components/BpmnDesign/assets/style/index.scss | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/src/components/BpmnDesign/assets/style/index.scss b/src/components/BpmnDesign/assets/style/index.scss index d3ce379..3c92792 100644 --- a/src/components/BpmnDesign/assets/style/index.scss +++ b/src/components/BpmnDesign/assets/style/index.scss @@ -227,4 +227,58 @@ opacity: 0.8; } } + .bpmn-icon-data-object { + display: none; + &:hover { + &:after { + content: '鍒涘缓鏁版嵁瀵硅薄'; + position: absolute; + left: 45px; + width: 120px; + font-size: 15px; + font-weight: bold; + color: #3a84de; + border-radius: 2px; + border: 1px solid #cccccc; + background-color: #fafafa; + opacity: 0.8; + } + } + } + .bpmn-icon-data-store { + display: none; + &:hover { + &:after { + content: '鍒涘缓鏁版嵁瀛樺偍'; + position: absolute; + left: 100px; + width: 120px; + font-size: 15px; + font-weight: bold; + color: #3a84de; + border-radius: 2px; + border: 1px solid #cccccc; + background-color: #fafafa; + opacity: 0.8; + } + } + } + .bpmn-icon-group { + display: none; + &:hover { + &:after { + content: '鍒涘缓鍒嗙粍'; + position: absolute; + left: 100px; + width: 100px; + font-size: 15px; + font-weight: bold; + color: #3a84de; + border-radius: 2px; + border: 1px solid #cccccc; + background-color: #fafafa; + opacity: 0.8; + } + } + } } -- Gitblit v1.9.3