222
schangxiang@126.com
2025-04-30 9bec4dcae002f36aa23231da11cb03a156b40110
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// 开始节点与结束节点
.baseNodeContent {
  padding: 2px;
  .baseNode {
    width: 101px;
    height: 33px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -1px 4px 0 rgba(247, 140, 227, 0.5),
      1px 1px 4px 0 rgba(230, 174, 220, 0.5);
    padding: 0 16px;
    position: relative;
    .detail {
      display: none;
    }
    &:hover {
      .detail {
        display: block;
      }
    }
    .nodeText {
      width: calc(100% - 20px);
      margin-left: 10px;
    }
  }
 
  .baseNodeSelected {
    border-color: #5a84ff !important;
    box-shadow: 0 0 0 3px #c8d3f2;
    background-color: #e7ecfd !important;
  }
  .detail {
    position: absolute;
    right: 3px;
    top: 3px;
    cursor: pointer;
    &:hover {
      filter: invert(48%) sepia(64%) saturate(2590%) hue-rotate(206deg)
        brightness(100%) contrast(102%);
    }
  }
}
// 流程节点
.flowNodeContent {
  padding: 2px;
  .flowNode {
    width: 200px;
    height: 130px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 5px;
    font-size: 12px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -1px 4px 0 rgba(209, 209, 209, 50%),
      1px 1px 4px 0 rgba(217, 217, 217, 50%);
  }
  .flowNodeSelected {
    border-color: #5a84ff;
    box-shadow: 0 0 0 3px #c8d3f2;
  }
  .flowHeader {
    width: 100%;
    height: 36px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    color: #fff;
    background: #fff;
    font-weight: 500;
    font-size: 14px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    flex-shrink: 0;
  }
  .flowNodeMain {
    width: 100%;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    .flowInfo {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      margin-bottom: 4px;
 
      .label {
        font-size: 12px;
      }
      .info {
        font-size: 12px;
      }
    }
  }
}