@vtx/modals2 2.15.48 → 2.15.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/README.md +33 -33
  2. package/lib/style/index.css +3 -0
  3. package/lib/style/index.less +8 -8
  4. package/lib/style/themes/dark.css +3 -0
  5. package/lib/style/themes/dark.less +126 -124
  6. package/lib/style/themes/default.css +1 -0
  7. package/lib/style/themes/default.less +1 -0
  8. package/lib/style/themes/index.css +3 -0
  9. package/lib/style/themes/index.less +1 -1
  10. package/lib/vm-alarm-info/Components/index.less +43 -43
  11. package/lib/vm-alarm-info/style/index.less +16 -16
  12. package/lib/vm-alarm-situation/style/index.less +67 -67
  13. package/lib/vm-alarm-situation-pt/style/index.less +65 -65
  14. package/lib/vm-analysis-comparison/style/index.less +12 -12
  15. package/lib/vm-appraisal-info/style/index.less +136 -136
  16. package/lib/vm-base-list/style/index.less +39 -39
  17. package/lib/vm-button/style/index.less +20 -20
  18. package/lib/vm-charts/index.less +30 -30
  19. package/lib/vm-checkbox/style/index.less +25 -25
  20. package/lib/vm-container/style/index.less +30 -30
  21. package/lib/vm-correlation-comparison/style/index.less +13 -13
  22. package/lib/vm-custom/style/index.less +20 -20
  23. package/lib/vm-empty/style/index.less +23 -23
  24. package/lib/vm-iframe-modal/style/index.less +9 -9
  25. package/lib/vm-image-text/style/index.less +32 -32
  26. package/lib/vm-map/style/index.less +3 -3
  27. package/lib/vm-modal-table/style/index.less +23 -23
  28. package/lib/vm-radio/style/index.less +26 -26
  29. package/lib/vm-real-time-monitor/style/index.less +12 -12
  30. package/lib/vm-repair-maintain/style/index.less +115 -115
  31. package/lib/vm-round-content/style/index.less +33 -33
  32. package/lib/vm-select-device/style/index.less +16 -16
  33. package/lib/vm-sub-tabs/style/index.less +179 -179
  34. package/lib/vm-sub-title/style/index.css +1 -0
  35. package/lib/vm-sub-title/style/index.less +69 -68
  36. package/lib/vm-video/index.css +3 -0
  37. package/lib/vm-video/index.less +36 -36
  38. package/lib/vtx-base-info/style/index.less +66 -66
  39. package/lib/vtx-base-modal/style/index.css +20 -0
  40. package/lib/vtx-base-modal/style/index.less +1097 -1075
  41. package/lib/vtx-car-modal/components/AlarmInfo/index.less +40 -40
  42. package/lib/vtx-car-modal/components/BaseInfo/index.js +61 -48
  43. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  44. package/lib/vtx-car-modal/components/BaseInfo/index.less +290 -290
  45. package/lib/vtx-car-modal/components/Collection/index.less +18 -18
  46. package/lib/vtx-car-modal/components/DetailInfo/index.less +21 -21
  47. package/lib/vtx-car-modal/components/Maintenance/index.less +35 -35
  48. package/lib/vtx-car-modal/components/OilConsumption/index.less +39 -39
  49. package/lib/vtx-car-modal/components/StaticInfo/index.less +82 -82
  50. package/lib/vtx-car-modal/components/WaterConsumption/index.less +25 -25
  51. package/lib/vtx-car-modal/components/WorkInfo/index.less +66 -66
  52. package/lib/vtx-car-modal/style/index.css +3 -0
  53. package/lib/vtx-car-modal/style/index.less +8 -8
  54. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.less +108 -108
  55. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +46 -46
  56. package/lib/vtx-cc-cp-modal/style/index.css +3 -0
  57. package/lib/vtx-cc-cp-modal/style/index.less +1 -1
  58. package/lib/vtx-cc-unit-modal/style/index.css +3 -0
  59. package/lib/vtx-cc-unit-modal/style/index.less +1 -1
  60. package/lib/vtx-cp-modal/components/AlarmInfo/index.less +109 -109
  61. package/lib/vtx-cp-modal/components/BaseInfo/index.less +156 -156
  62. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +109 -109
  63. package/lib/vtx-cp-modal/components/SyInfo/index.less +47 -47
  64. package/lib/vtx-cp-modal/style/index.css +3 -0
  65. package/lib/vtx-cp-modal/style/index.less +1 -1
  66. package/lib/vtx-default-modal/components/BaseInfo/index.less +38 -38
  67. package/lib/vtx-default-modal/index.js +2 -2
  68. package/lib/vtx-default-modal/index.js.map +1 -1
  69. package/lib/vtx-default-modal/style/index.css +3 -0
  70. package/lib/vtx-default-modal/style/index.less +1 -1
  71. package/lib/vtx-df-modal/components/BaseInfo/index.less +173 -173
  72. package/lib/vtx-df-modal/components/Metering/index.less +83 -83
  73. package/lib/vtx-df-modal/components/WorkCondition/index.less +136 -136
  74. package/lib/vtx-df-modal/style/index.css +3 -0
  75. package/lib/vtx-df-modal/style/index.less +1 -1
  76. package/lib/vtx-facility-modal/components/OverView/index.less +120 -120
  77. package/lib/vtx-facility-modal/config.js +31 -1
  78. package/lib/vtx-facility-modal/config.js.map +1 -1
  79. package/lib/vtx-facility-modal/style/index.less +1 -1
  80. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
  81. package/lib/vtx-housing-estate-modal/components/OverView/index.less +256 -256
  82. package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
  83. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
  84. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
  85. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +102 -102
  86. package/lib/vtx-housing-estate-modal/style/index.less +1 -1
  87. package/lib/vtx-kh-modal/components/BaseInfo/index.less +66 -66
  88. package/lib/vtx-kh-modal/style/index.css +3 -0
  89. package/lib/vtx-kh-modal/style/index.less +1 -1
  90. package/lib/vtx-pump-modal/components/AlarmRecord/index.less +103 -103
  91. package/lib/vtx-pump-modal/components/Basic/index.less +74 -74
  92. package/lib/vtx-pump-modal/components/Sbxl/index.less +90 -90
  93. package/lib/vtx-pump-modal/components/Sjfx/index.less +60 -60
  94. package/lib/vtx-pump-modal/components/Sxyx/index.less +161 -161
  95. package/lib/vtx-pump-modal/style/index.less +1 -1
  96. package/lib/vtx-restaurant-modal/components/Alarm/index.less +35 -35
  97. package/lib/vtx-restaurant-modal/components/Collection/index.less +29 -29
  98. package/lib/vtx-restaurant-modal/style/index.less +1 -1
  99. package/lib/vtx-road-modal/components/BaseInfo/index.less +146 -146
  100. package/lib/vtx-road-modal/components/Statistical/index.less +112 -112
  101. package/lib/vtx-road-modal/style/index.css +3 -0
  102. package/lib/vtx-road-modal/style/index.less +1 -1
  103. package/lib/vtx-staff-modal/api.js +128 -36
  104. package/lib/vtx-staff-modal/api.js.map +1 -1
  105. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +23 -23
  106. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +4 -3
  107. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  108. package/lib/vtx-staff-modal/components/Attendance/Record.js +8 -4
  109. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  110. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +4 -3
  111. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  112. package/lib/vtx-staff-modal/components/Attendance/index.css +30 -3
  113. package/lib/vtx-staff-modal/components/Attendance/index.js +38 -7
  114. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  115. package/lib/vtx-staff-modal/components/Attendance/index.less +42 -22
  116. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +119 -0
  117. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js.map +1 -0
  118. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +30 -22
  119. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  120. package/lib/vtx-staff-modal/components/BaseInfo/WorkStaticDay.js +145 -0
  121. package/lib/vtx-staff-modal/components/BaseInfo/WorkStaticDay.js.map +1 -0
  122. package/lib/vtx-staff-modal/components/BaseInfo/index.css +144 -52
  123. package/lib/vtx-staff-modal/components/BaseInfo/index.js +90 -106
  124. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  125. package/lib/vtx-staff-modal/components/BaseInfo/index.less +218 -158
  126. package/lib/vtx-staff-modal/components/DetailInfo/index.less +38 -38
  127. package/lib/vtx-staff-modal/components/Equipment/index.css +29 -2
  128. package/lib/vtx-staff-modal/components/Equipment/index.js +27 -2
  129. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  130. package/lib/vtx-staff-modal/components/Equipment/index.less +53 -28
  131. package/lib/vtx-staff-modal/components/StaticInfo/Charts.js +161 -0
  132. package/lib/vtx-staff-modal/components/StaticInfo/Charts.js.map +1 -0
  133. package/lib/vtx-staff-modal/components/StaticInfo/index.css +348 -0
  134. package/lib/vtx-staff-modal/components/StaticInfo/index.js +131 -0
  135. package/lib/vtx-staff-modal/components/StaticInfo/index.js.map +1 -0
  136. package/lib/vtx-staff-modal/components/StaticInfo/index.less +284 -0
  137. package/lib/vtx-staff-modal/imgs/caution.png +0 -0
  138. package/lib/vtx-staff-modal/imgs/help.png +0 -0
  139. package/lib/vtx-staff-modal/imgs/rjzx.png +0 -0
  140. package/lib/vtx-staff-modal/imgs/rjzx_light.png +0 -0
  141. package/lib/vtx-staff-modal/imgs/time.png +0 -0
  142. package/lib/vtx-staff-modal/imgs/todayOnline.png +0 -0
  143. package/lib/vtx-staff-modal/imgs/todayOnline_light.png +0 -0
  144. package/lib/vtx-staff-modal/imgs/todayWork.png +0 -0
  145. package/lib/vtx-staff-modal/imgs/todayWork_light.png +0 -0
  146. package/lib/vtx-staff-modal/imgs/zzx.png +0 -0
  147. package/lib/vtx-staff-modal/imgs/zzx_light.png +0 -0
  148. package/lib/vtx-staff-modal/index.js +16 -3
  149. package/lib/vtx-staff-modal/index.js.map +1 -1
  150. package/lib/vtx-staff-modal/style/index.css +3 -0
  151. package/lib/vtx-staff-modal/style/index.less +1 -1
  152. package/lib/vtx-throw-point-modal/components/Alarm/index.less +69 -69
  153. package/lib/vtx-throw-point-modal/components/OverView/index.less +331 -331
  154. package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
  155. package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
  156. package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
  157. package/lib/vtx-throw-point-modal/components/WGXW/index.less +102 -102
  158. package/lib/vtx-throw-point-modal/style/index.less +1 -1
  159. package/lib/vtx-wr-modal/components/AlarmInfo/index.less +106 -106
  160. package/lib/vtx-wr-modal/components/BaseInfo/index.less +142 -142
  161. package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -570
  162. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +461 -461
  163. package/lib/vtx-wr-modal/components/Evaluate/index.less +124 -124
  164. package/lib/vtx-wr-modal/components/Monitor/index.less +82 -82
  165. package/lib/vtx-wr-modal/components/Score/index.less +134 -134
  166. package/lib/vtx-wr-modal/style/index.css +3 -0
  167. package/lib/vtx-wr-modal/style/index.less +1 -1
  168. package/lib/vtx-zg-modal/components/BaseInfo/index.less +97 -97
  169. package/lib/vtx-zg-modal/style/index.css +3 -0
  170. package/lib/vtx-zg-modal/style/index.less +1 -1
  171. package/package.json +2 -2
@@ -1,108 +1,108 @@
1
- .cc-cp-order {
2
- margin: 6px;
3
- width: 100%;
4
- .order-summary {
5
- padding: 14px 20px;
6
- background-color: var(--bg-color2);
7
- border: 1px solid var(--bg-border-color2);
8
-
9
- &-time {
10
- margin: 24px;
11
- display: flex;
12
- justify-content: start;
13
- align-items: center;
14
- img {
15
- width: 46px;
16
- height: 46px;
17
- margin-right: 19px;
18
- }
19
- &-name {
20
- font-size: 12px;
21
- color: var(--title-color);
22
- }
23
- &-value {
24
- color: var(--title-color);
25
- font-size: 12px;
26
- span {
27
- font-size: 20px;
28
- line-height: 25px;
29
- }
30
- &-compare {
31
- display: inline-block;
32
- margin-left: 36px;
33
- }
34
- }
35
- }
36
- .triangle-up {
37
- width: 12px;
38
- height: 8px;
39
- position: relative;
40
- overflow: hidden;
41
- display: inline-block;
42
- margin-left: 4px;
43
- &::before {
44
- content: '';
45
- position: absolute;
46
- top: 0;
47
- left: 0;
48
- right: 0;
49
- bottom: 0;
50
- background: #f65861;
51
- transform-origin: left bottom;
52
- transform: rotate(45deg);
53
- }
54
- }
55
- .triangle-down {
56
- width: 12px;
57
- height: 8px;
58
- position: relative;
59
- overflow: hidden;
60
- display: inline-block;
61
- margin-left: 4px;
62
- margin-bottom: -2px;
63
- &::before {
64
- content: '';
65
- position: absolute;
66
- top: 0;
67
- left: 0;
68
- right: 0;
69
- bottom: 0;
70
- background: #41ffb4;
71
- transform-origin: right top;
72
- transform: rotate(45deg);
73
- }
74
- }
75
- }
76
-
77
- .order-trend {
78
- height: 358px;
79
- padding: 14px 20px;
80
- background-color: var(--bg-color2);
81
- border: 1px solid var(--bg-border-color2);
82
- }
83
-
84
- .order-record {
85
- padding: 14px 20px;
86
- background-color: var(--bg-color2);
87
- border: 1px solid var(--bg-border-color2);
88
-
89
- min-height: 180px;
90
-
91
- &-head {
92
- display: flex;
93
- justify-content: space-between;
94
- align-items: center;
95
- }
96
-
97
- &-table {
98
- margin-top: 14px;
99
- height: 200px;
100
- }
101
-
102
- .orderLevel {
103
- img {
104
- margin-top: -2px;
105
- }
106
- }
107
- }
108
- }
1
+ .cc-cp-order {
2
+ margin: 6px;
3
+ width: 100%;
4
+ .order-summary {
5
+ padding: 14px 20px;
6
+ background-color: var(--bg-color2);
7
+ border: 1px solid var(--bg-border-color2);
8
+
9
+ &-time {
10
+ margin: 24px;
11
+ display: flex;
12
+ justify-content: start;
13
+ align-items: center;
14
+ img {
15
+ width: 46px;
16
+ height: 46px;
17
+ margin-right: 19px;
18
+ }
19
+ &-name {
20
+ font-size: 12px;
21
+ color: var(--title-color);
22
+ }
23
+ &-value {
24
+ color: var(--title-color);
25
+ font-size: 12px;
26
+ span {
27
+ font-size: 20px;
28
+ line-height: 25px;
29
+ }
30
+ &-compare {
31
+ display: inline-block;
32
+ margin-left: 36px;
33
+ }
34
+ }
35
+ }
36
+ .triangle-up {
37
+ width: 12px;
38
+ height: 8px;
39
+ position: relative;
40
+ overflow: hidden;
41
+ display: inline-block;
42
+ margin-left: 4px;
43
+ &::before {
44
+ content: '';
45
+ position: absolute;
46
+ top: 0;
47
+ left: 0;
48
+ right: 0;
49
+ bottom: 0;
50
+ background: #f65861;
51
+ transform-origin: left bottom;
52
+ transform: rotate(45deg);
53
+ }
54
+ }
55
+ .triangle-down {
56
+ width: 12px;
57
+ height: 8px;
58
+ position: relative;
59
+ overflow: hidden;
60
+ display: inline-block;
61
+ margin-left: 4px;
62
+ margin-bottom: -2px;
63
+ &::before {
64
+ content: '';
65
+ position: absolute;
66
+ top: 0;
67
+ left: 0;
68
+ right: 0;
69
+ bottom: 0;
70
+ background: #41ffb4;
71
+ transform-origin: right top;
72
+ transform: rotate(45deg);
73
+ }
74
+ }
75
+ }
76
+
77
+ .order-trend {
78
+ height: 358px;
79
+ padding: 14px 20px;
80
+ background-color: var(--bg-color2);
81
+ border: 1px solid var(--bg-border-color2);
82
+ }
83
+
84
+ .order-record {
85
+ padding: 14px 20px;
86
+ background-color: var(--bg-color2);
87
+ border: 1px solid var(--bg-border-color2);
88
+
89
+ min-height: 180px;
90
+
91
+ &-head {
92
+ display: flex;
93
+ justify-content: space-between;
94
+ align-items: center;
95
+ }
96
+
97
+ &-table {
98
+ margin-top: 14px;
99
+ height: 200px;
100
+ }
101
+
102
+ .orderLevel {
103
+ img {
104
+ margin-top: -2px;
105
+ }
106
+ }
107
+ }
108
+ }
@@ -1,46 +1,46 @@
1
- .cc-cp-syinfo {
2
- padding: 6px 10px;
3
- &-head {
4
- padding: 8px 20px;
5
- background-color: var(--bg-color2);
6
- border: 1px solid var(--bg-border-color2);
7
-
8
- display: flex;
9
- justify-content: flex-end;
10
- }
11
- &-base {
12
- margin-top: 10px;
13
- }
14
- &-base-noweight {
15
- padding: 12px 20px;
16
- margin-top: 10px;
17
- background-color: var(--bg-color2);
18
- border: 1px solid var(--bg-border-color2);
19
- }
20
- &-base-weight {
21
- height: 200px;
22
- background-color: var(--bg-color2);
23
- border: 1px solid var(--bg-border-color2);
24
-
25
- padding-left: 20px;
26
- padding-top: 12px;
27
- &-item {
28
- display: flex;
29
- flex-wrap: wrap;
30
- }
31
- }
32
- &-base-chart {
33
- height: 200px;
34
- padding-left: 20px;
35
- padding-top: 12px;
36
- background-color: var(--bg-color2);
37
- border: 1px solid var(--bg-border-color2);
38
- }
39
- &-table {
40
- padding: 20px;
41
- margin-top: 10px;
42
- height: 400px;
43
- background-color: var(--bg-color2);
44
- border: 1px solid var(--bg-border-color2);
45
- }
46
- }
1
+ .cc-cp-syinfo {
2
+ padding: 6px 10px;
3
+ &-head {
4
+ padding: 8px 20px;
5
+ background-color: var(--bg-color2);
6
+ border: 1px solid var(--bg-border-color2);
7
+
8
+ display: flex;
9
+ justify-content: flex-end;
10
+ }
11
+ &-base {
12
+ margin-top: 10px;
13
+ }
14
+ &-base-noweight {
15
+ padding: 12px 20px;
16
+ margin-top: 10px;
17
+ background-color: var(--bg-color2);
18
+ border: 1px solid var(--bg-border-color2);
19
+ }
20
+ &-base-weight {
21
+ height: 200px;
22
+ background-color: var(--bg-color2);
23
+ border: 1px solid var(--bg-border-color2);
24
+
25
+ padding-left: 20px;
26
+ padding-top: 12px;
27
+ &-item {
28
+ display: flex;
29
+ flex-wrap: wrap;
30
+ }
31
+ }
32
+ &-base-chart {
33
+ height: 200px;
34
+ padding-left: 20px;
35
+ padding-top: 12px;
36
+ background-color: var(--bg-color2);
37
+ border: 1px solid var(--bg-border-color2);
38
+ }
39
+ &-table {
40
+ padding: 20px;
41
+ margin-top: 10px;
42
+ height: 400px;
43
+ background-color: var(--bg-color2);
44
+ border: 1px solid var(--bg-border-color2);
45
+ }
46
+ }
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -1 +1 @@
1
- @import '../../style/index';
1
+ @import '../../style/index';
@@ -12,6 +12,7 @@
12
12
  --calendar-border: #ececec;
13
13
  --calendar-thead-bg: #fff;
14
14
  --calendar-bg: #fff;
15
+ --calendar-content-sigle-bg: #f3f5f8;
15
16
  --info-danger: #fd3a15;
16
17
  --info-warnning: #f7d93d;
17
18
  --info-active: #222;
@@ -78,6 +79,7 @@
78
79
  --arrow-icon-color: #355e5f;
79
80
  --block-bg-color: rgba(255, 255, 255, 0.1);
80
81
  --block-bg-color2: rgba(48, 118, 114, 0.2);
82
+ --calendar-content-sigle-bg: rgba(243, 245, 248, 0.053);
81
83
  --info-active: #40ffd3;
82
84
  --info-active2: #52c41a;
83
85
  --info-active3: #40ffd3;
@@ -109,6 +111,7 @@
109
111
  --sub-title-color: #64bcff;
110
112
  --label-color: #fff;
111
113
  --info-color: #74bbf4;
114
+ --calendar-content-sigle-bg: #1464a62e;
112
115
  --border-color: #1464a6;
113
116
  --scroll-bar-bg: #39cbc3aa;
114
117
  --scroll-bar-hover-bg: #219fff3d;
@@ -1 +1 @@
1
- @import '../../style/index';
1
+ @import '../../style/index';
@@ -1,109 +1,109 @@
1
- .cp-alarm {
2
- margin: 6px;
3
- width: 100%;
4
-
5
- .alarm-summary {
6
- padding: 14px 20px;
7
- background-color: var(--bg-color2);
8
- border: 1px solid var(--bg-border-color2);
9
-
10
- &-time {
11
- margin: 24px;
12
- display: flex;
13
- justify-content: start;
14
- align-items: center;
15
- img {
16
- width: 46px;
17
- height: 46px;
18
- margin-right: 19px;
19
- }
20
- &-name {
21
- font-size: 12px;
22
- color: var(--title-color);
23
- }
24
- &-value {
25
- color: var(--title-color);
26
- font-size: 12px;
27
- span {
28
- font-size: 20px;
29
- line-height: 25px;
30
- }
31
- &-compare {
32
- display: inline-block;
33
- margin-left: 36px;
34
- }
35
- }
36
- }
37
- .triangle-up {
38
- width: 12px;
39
- height: 8px;
40
- position: relative;
41
- overflow: hidden;
42
- display: inline-block;
43
- margin-left: 4px;
44
- &::before {
45
- content: '';
46
- position: absolute;
47
- top: 0;
48
- left: 0;
49
- right: 0;
50
- bottom: 0;
51
- background: #f65861;
52
- transform-origin: left bottom;
53
- transform: rotate(45deg);
54
- }
55
- }
56
- .triangle-down {
57
- width: 12px;
58
- height: 8px;
59
- position: relative;
60
- overflow: hidden;
61
- display: inline-block;
62
- margin-left: 4px;
63
- margin-bottom: -2px;
64
- &::before {
65
- content: '';
66
- position: absolute;
67
- top: 0;
68
- left: 0;
69
- right: 0;
70
- bottom: 0;
71
- background: #41ffb4;
72
- transform-origin: right top;
73
- transform: rotate(45deg);
74
- }
75
- }
76
- }
77
-
78
- .alarm-trend {
79
- height: 328px;
80
- padding: 14px 20px;
81
- background-color: var(--bg-color2);
82
- border: 1px solid var(--bg-border-color2);
83
- }
84
-
85
- .alarm-record {
86
- padding: 14px 20px;
87
- background-color: var(--bg-color2);
88
- border: 1px solid var(--bg-border-color2);
89
-
90
- min-height: 180px;
91
-
92
- &-head {
93
- display: flex;
94
- justify-content: space-between;
95
- align-items: center;
96
- }
97
-
98
- &-table {
99
- margin-top: 14px;
100
- height: 200px;
101
- }
102
-
103
- .alarmLevel {
104
- img {
105
- margin-top: -2px;
106
- }
107
- }
108
- }
109
- }
1
+ .cp-alarm {
2
+ margin: 6px;
3
+ width: 100%;
4
+
5
+ .alarm-summary {
6
+ padding: 14px 20px;
7
+ background-color: var(--bg-color2);
8
+ border: 1px solid var(--bg-border-color2);
9
+
10
+ &-time {
11
+ margin: 24px;
12
+ display: flex;
13
+ justify-content: start;
14
+ align-items: center;
15
+ img {
16
+ width: 46px;
17
+ height: 46px;
18
+ margin-right: 19px;
19
+ }
20
+ &-name {
21
+ font-size: 12px;
22
+ color: var(--title-color);
23
+ }
24
+ &-value {
25
+ color: var(--title-color);
26
+ font-size: 12px;
27
+ span {
28
+ font-size: 20px;
29
+ line-height: 25px;
30
+ }
31
+ &-compare {
32
+ display: inline-block;
33
+ margin-left: 36px;
34
+ }
35
+ }
36
+ }
37
+ .triangle-up {
38
+ width: 12px;
39
+ height: 8px;
40
+ position: relative;
41
+ overflow: hidden;
42
+ display: inline-block;
43
+ margin-left: 4px;
44
+ &::before {
45
+ content: '';
46
+ position: absolute;
47
+ top: 0;
48
+ left: 0;
49
+ right: 0;
50
+ bottom: 0;
51
+ background: #f65861;
52
+ transform-origin: left bottom;
53
+ transform: rotate(45deg);
54
+ }
55
+ }
56
+ .triangle-down {
57
+ width: 12px;
58
+ height: 8px;
59
+ position: relative;
60
+ overflow: hidden;
61
+ display: inline-block;
62
+ margin-left: 4px;
63
+ margin-bottom: -2px;
64
+ &::before {
65
+ content: '';
66
+ position: absolute;
67
+ top: 0;
68
+ left: 0;
69
+ right: 0;
70
+ bottom: 0;
71
+ background: #41ffb4;
72
+ transform-origin: right top;
73
+ transform: rotate(45deg);
74
+ }
75
+ }
76
+ }
77
+
78
+ .alarm-trend {
79
+ height: 328px;
80
+ padding: 14px 20px;
81
+ background-color: var(--bg-color2);
82
+ border: 1px solid var(--bg-border-color2);
83
+ }
84
+
85
+ .alarm-record {
86
+ padding: 14px 20px;
87
+ background-color: var(--bg-color2);
88
+ border: 1px solid var(--bg-border-color2);
89
+
90
+ min-height: 180px;
91
+
92
+ &-head {
93
+ display: flex;
94
+ justify-content: space-between;
95
+ align-items: center;
96
+ }
97
+
98
+ &-table {
99
+ margin-top: 14px;
100
+ height: 200px;
101
+ }
102
+
103
+ .alarmLevel {
104
+ img {
105
+ margin-top: -2px;
106
+ }
107
+ }
108
+ }
109
+ }