xiangpei
2025-02-13 a3dbb8fe40e06f9abd9718f14aaa7311bddbc150
src/components/Process/style/flow-viewer.scss
@@ -7,7 +7,9 @@
.flowMsgPopover {
  display: none;
}
.bjs-powered-by {
  display: none;
}
.tipBox {
  width: 180px;
  background: #fff;
@@ -97,7 +99,7 @@
    right: 10px;
  }
  // 流程线
  // 完成流程线
  .highlight.djs-shape .djs-visual > :nth-child(1) {
    fill: #56bb56 !important;
    stroke: #56bb56 !important;
@@ -118,38 +120,68 @@
    stroke: #56bb56 !important;
  }
  .highlight-todo.djs-connection > .djs-visual > path {
    stroke: #eab24a !important;
    stroke-dasharray: 4px !important;
  // 代办流程线
  .highlight-todo.djs-shape .djs-visual > :nth-child(1) {
    fill: #559db0 !important;
    stroke: #559db0 !important;
    fill-opacity: 0.2 !important;
  }
  .highlight-todo.djs-shape .djs-visual > :nth-child(1) {
    stroke-dasharray: 5, 5;
    stroke-dashoffset: 500;
    stroke: #eab24a !important;
    fill: rgba(252, 211, 127, 0.2) !important;
  .highlight-todo.djs-shape .djs-visual > :nth-child(2) {
    fill: #559db0 !important;
  }
  // 流程线
  .highlight-todo.djs-shape .djs-visual > path {
    fill: #559db0 !important;
    fill-opacity: 0.2 !important;
    stroke: #559db0 !important;
  }
  .highlight-todo.djs-connection > .djs-visual > path {
    stroke: #559db0 !important;
  }
  // 已超时流程线
  //方块内部颜色
  .highlight-overtime.djs-shape .djs-visual > :nth-child(1) {
    fill: #ff5353 !important;
    stroke: #ff5353 !important;
    fill-opacity: 0.2 !important;
  }
  //文字颜色
  .highlight-overtime.djs-shape .djs-visual > :nth-child(2) {
    fill: #ff5353 !important;
  }
  //人物ui颜色
  .highlight-overtime.djs-shape .djs-visual > path {
    fill: #ff5353 !important;
    fill-opacity: 0.2 !important;
    stroke: #ff5353 !important;
  }
  //前面那条线的颜色
  .highlight-overtime.djs-connection > .djs-visual > path {
    stroke: #ff5353 !important;
}
  // 即将超时流程线
  .highlight-willOvertime.djs-shape .djs-visual > :nth-child(1) {
    fill: #eab24a !important;
    stroke: #eab24a !important;
    fill-opacity: 0.2 !important;
  }
  .highlight-willOvertime.djs-shape .djs-visual > :nth-child(2) {
    fill: #eab24a !important;
  }
  .highlight-willOvertime.djs-shape .djs-visual > path {
    fill: #eab24a !important;
    fill-opacity: 0.2 !important;
    stroke: #eab24a !important;
  }
  .highlight-willOvertime.djs-connection > .djs-visual > path {
    stroke: #eab24a !important;
  }
@@ -184,12 +216,21 @@
      margin-right: 8px;
    }
    .processing {
    .willOvertime {
      background-color: #fcf5ea;
      padding: 4px;
      border: 1px solid #fce9c7;
      border-radius: 3px;
      color: #eab24a;
      color: #de9603;
      margin-right: 8px;
    }
    .processing {
      background-color: #d8f1fc;
      padding: 4px;
      border: 1px solid #b6e1f5;
      border-radius: 3px;
      color: #559db0;
      margin-right: 8px;
    }
@@ -205,7 +246,7 @@
    .overtime {
      padding: 4px;
      background: #ffd1d1;
      border: 1px solid rgba(255, 0, 0, 0.1);
      border: 1px solid rgba(246, 181, 181, 0.1);
      border-radius: 3px;
      color: #ff5353;
      margin-right: 5px;