广州矛调粤政易端
xusd
7 days ago d27794814b69d18aeb8ee96a46cae91d5613570c
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/** 流程容器 */
.process-flow-container {
    width: 100%;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
 
    /** 流程节点 */
    .process-node {
        display: flex;
        flex-direction: column;
        align-items: center;
        
        /** 节点图标基础样式 */
        .node-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            color: #fff;
        }
        
        /** 节点文本基础样式 */
        .node-text {
            font-size: 14px;
            line-height: 22px;
            font-family: PingFang SC, PingFang SC-400;
            font-weight: 400;
        }
    }
    
    /** 节点连接线基础样式 */
    .node-connector {
        width: 80px;
        height: 2px;
        margin: 0 4px;
        position: relative;
        top: -16px; // 使连接线与图标中心对齐:-(24px高度 + 8px底部margin) / 2
    }
}
 
/** 
 * 节点状态样式
 * 包含三种状态:已完成、进行中、未开始
 */
 
/** 1. 已完成状态样式 */
.node-icon-completed {
    background-color: #e8f3ff;
    &::after {
        content: "";
        width: 12px;
        height: 12px;
        background-image: url('../../../../assets/img/suceess.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: inline-block;
    }
}
 
.node-text-completed {
    color: #171A1D;
    opacity: 1;
}
 
.connector-completed {
    background-color: #1a6fb8;
}
 
/** 2. 进行中状态样式 */
.node-icon-in-progress {
    background-color: #1a6fb8;
    color: white;
}
 
.node-text-in-progress {
    color: #1A6FB8;
    opacity: 1;
}
 
.connector-in-progress {
    background-color: #e8f3ff;
}
 
/** 3. 未开始状态样式 */
.node-icon-not-started {
    background-color: #86909c;
    color: white;
}
 
.node-text-not-started {
    color: #171A1D;
    opacity: 0.4;
}
 
.connector-not-started {
    background-color: #86909c;
}
 
/** 
 * 以下是旧版样式,保留以便向后兼容
 * 建议后续迭代移除
 */
.node-icon-active {
    background-color: #1890ff;
}
 
.node-icon-inactive {
    background-color: #ccc;
}
 
.node-text-active {
    color: #1890ff;
}
 
.node-text-inactive {
    color: #999;
}
 
.connector-active {
    background-color: #1890ff;
}
 
.connector-inactive {
    background-color: #ccc;