兰宝车间质量管理系统-前端
dap
2024-04-04 b117a6f198dec7b739aae9873ff9cfa179ec4117
update: 流程预览 进行中动画效果
已修改1个文件
35 ■■■■ 文件已修改
src/components/BpmnView/index.vue 35 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BpmnView/index.vue
@@ -338,16 +338,35 @@
  :deep(.highlight.djs-connection > .djs-visual > path) {
    stroke: green !important;
  }
  :deep(.highlight-todo.djs-connection > .djs-visual > path) {
    stroke: orange !important;
    stroke-dasharray: 4px !important;
    fill-opacity: 0.2 !important;
    marker-end: url(#sequenceflow-end-_E7DFDF-_E7DFDF-803g1kf6zwzmcig1y2ulm5egr);
  // 边框滚动动画
  @keyframes path-animation {
    from {
      stroke-dashoffset: 100%;
    }
    to {
      stroke-dashoffset: 0%;
    }
  }
  :deep(.highlight-todo.djs-shape .djs-visual > :nth-child(1)) {
    fill: orange !important;
    stroke: orange !important;
  :deep(.highlight-todo.djs-connection > .djs-visual > path) {
    animation: path-animation 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    stroke-dasharray: 4px !important;
    stroke: orange !important;
    fill-opacity: 0.2 !important;
    marker-end: url('#sequenceflow-end-_E7DFDF-_E7DFDF-803g1kf6zwzmcig1y2ulm5egr');
  }
  :deep(.highlight-todo.djs-shape .djs-visual > :nth-child(1)) {
    animation: path-animation 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    stroke-dasharray: 4px !important;
    stroke: orange !important;
    fill: orange !important;
    fill-opacity: 0.2 !important;
  }
}