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
| /**
| * WarningAlert 组件样式
| * 预警提示消息条
| */
|
| .warning-alert {
| display: flex;
| align-items: center;
| justify-content: space-between;
| background: linear-gradient(135deg, #fffbe6, #fff7e0);
| border: 1px solid #ffe58f;
| border-left: 4px solid #faad14;
| border-radius: 6px;
| padding: 10px 16px;
| margin: 0 24px 12px;
| }
|
| .warning-alert-content {
| display: flex;
| align-items: center;
| flex: 1;
| gap: 6px;
| min-width: 0;
| }
|
| .warning-icon {
| color: #faad14;
| font-size: 1rem;
| flex-shrink: 0;
| }
|
| .warning-label {
| color: #d46b08;
| font-weight: 600;
| font-size: 0.9rem;
| flex-shrink: 0;
| }
|
| .warning-text {
| color: #ad6800;
| font-size: 0.9rem;
| line-height: 1.4;
| overflow: hidden;
| text-overflow: ellipsis;
| white-space: nowrap;
| }
|
| .warning-alert-actions {
| display: flex;
| align-items: center;
| gap: 12px;
| flex-shrink: 0;
| margin-left: 16px;
| }
|
| .warning-count {
| color: #d46b08;
| font-size: 0.85rem;
| font-weight: 500;
| }
|
| .warning-more-btn {
| display: flex;
| align-items: center;
| gap: 4px;
| background: transparent;
| border: 1px solid #faad14;
| color: #d46b08;
| padding: 4px 10px;
| border-radius: 4px;
| font-size: 0.8rem;
| cursor: pointer;
| transition: all 0.2s;
| }
|
| .warning-more-btn:hover {
| background: #faad14;
| color: white;
| }
|
| /* 弹窗样式 */
| .warning-modal .ant-modal-body {
| max-height: 400px;
| overflow-y: auto;
| }
|
| .warning-modal-item {
| display: flex;
| flex-direction: column;
| padding: 12px 0;
| border-bottom: 1px solid #f0f0f0;
| }
|
| .warning-modal-item:last-child {
| border-bottom: none;
| }
|
| .warning-modal-content {
| display: flex;
| gap: 8px;
| line-height: 1.5;
| }
|
| .warning-modal-index {
| color: #faad14;
| font-weight: 600;
| flex-shrink: 0;
| }
|
| .warning-modal-text {
| color: #333;
| font-size: 0.9rem;
| }
|
| .warning-modal-time {
| color: #999;
| font-size: 0.8rem;
| margin-top: 6px;
| }
|
|