@vtx/modals2 2.15.89 → 2.15.90
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.
- package/lib/style/index.css +1 -1
- package/lib/style/themes/dark.css +1 -1
- package/lib/style/themes/dark.less +1 -1
- package/lib/style/themes/index.css +1 -1
- package/lib/vm-sub-tabs/style/index.css +6 -6
- package/lib/vm-sub-tabs/style/index.less +182 -182
- package/lib/vm-video/index.css +1 -1
- package/lib/vtx-area-modal/style/index.css +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.css +15 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +40 -31
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +15 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.css +13 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.less +13 -2
- package/lib/vtx-car-modal/components/BaseInfoLJSY/index.css +13 -0
- package/lib/vtx-car-modal/components/BaseInfoLJSY/index.less +13 -0
- package/lib/vtx-car-modal/components/Maintenance/index.css +14 -1
- package/lib/vtx-car-modal/components/Maintenance/index.less +16 -3
- package/lib/vtx-car-modal/components/StaticInfo/index.css +19 -0
- package/lib/vtx-car-modal/components/StaticInfo/index.js +31 -22
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.less +17 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.css +14 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +7 -6
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +15 -3
- package/lib/vtx-car-modal/components/WorkInfo/index.css +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/index.less +1 -1
- package/lib/vtx-car-modal/imgs/chart.svg +1 -0
- package/lib/vtx-car-modal/imgs/table.svg +1 -0
- package/lib/vtx-car-modal/style/index.css +1 -1
- package/lib/vtx-cc-cp-modal/style/index.css +1 -1
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/Factory/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/style/index.css +1 -1
- package/lib/vtx-cp-modal/style/index.css +1 -1
- package/lib/vtx-default-modal/style/index.css +1 -1
- package/lib/vtx-df-modal/style/index.css +1 -1
- package/lib/vtx-kh-modal/style/index.css +1 -1
- package/lib/vtx-road-modal/style/index.css +1 -1
- package/lib/vtx-staff-modal/style/index.css +1 -1
- package/lib/vtx-wr-modal/style/index.css +1 -1
- package/lib/vtx-zg-modal/style/index.css +1 -1
- package/package.json +1 -1
package/lib/style/index.css
CHANGED
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
--info-warnning: #f7d93d;
|
|
136
136
|
--table-head-bg: rgba(0, 173, 177, 0.1);
|
|
137
137
|
--timeline-active: #24f2ff;
|
|
138
|
-
--calendar-border:
|
|
138
|
+
--calendar-border: rgba(32, 102, 167, 0.5);
|
|
139
139
|
--calendar-thead-bg: rgba(255, 255, 255, 0.1);
|
|
140
140
|
--calendar-content-bg: linear-gradient(0deg, #2a55e9, #0dbafe);
|
|
141
141
|
--calendar-bg: rgba(255, 255, 255, 0.1);
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
--info-warnning: #f7d93d;
|
|
136
136
|
--table-head-bg: rgba(0, 173, 177, 0.1);
|
|
137
137
|
--timeline-active: #24f2ff;
|
|
138
|
-
--calendar-border:
|
|
138
|
+
--calendar-border: rgba(32, 102, 167, 0.5);
|
|
139
139
|
--calendar-thead-bg: rgba(255, 255, 255, 0.1);
|
|
140
140
|
--calendar-content-bg: linear-gradient(0deg, #2a55e9, #0dbafe);
|
|
141
141
|
--calendar-bg: rgba(255, 255, 255, 0.1);
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
--info-warnning: #f7d93d;
|
|
111
111
|
--table-head-bg: rgba(0, 173, 177, 0.1);
|
|
112
112
|
--timeline-active: #24f2ff;
|
|
113
|
-
--calendar-border:
|
|
113
|
+
--calendar-border: rgba(32, 102, 167, 0.5);
|
|
114
114
|
--calendar-thead-bg: rgba(255, 255, 255, 0.1);
|
|
115
115
|
--calendar-content-bg: linear-gradient(0deg, #2a55e9, #0dbafe);
|
|
116
116
|
--calendar-bg: rgba(255, 255, 255, 0.1);
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
--info-warnning: #f7d93d;
|
|
136
136
|
--table-head-bg: rgba(0, 173, 177, 0.1);
|
|
137
137
|
--timeline-active: #24f2ff;
|
|
138
|
-
--calendar-border:
|
|
138
|
+
--calendar-border: rgba(32, 102, 167, 0.5);
|
|
139
139
|
--calendar-thead-bg: rgba(255, 255, 255, 0.1);
|
|
140
140
|
--calendar-content-bg: linear-gradient(0deg, #2a55e9, #0dbafe);
|
|
141
141
|
--calendar-bg: rgba(255, 255, 255, 0.1);
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
--border-active: 1px solid #018aff;
|
|
32
32
|
--color: #fff;
|
|
33
33
|
--active-color: #fff !important;
|
|
34
|
-
--active-bg:
|
|
34
|
+
--active-bg: rgba(28, 115, 212, 0.4);
|
|
35
35
|
}
|
|
36
36
|
.vtx-sub-tabs .tab-pane {
|
|
37
37
|
padding: 18px 0;
|
|
@@ -75,15 +75,15 @@
|
|
|
75
75
|
height: 32px;
|
|
76
76
|
margin-left: 0 !important;
|
|
77
77
|
color: var(--color);
|
|
78
|
-
background-color:
|
|
79
|
-
border: var(--
|
|
78
|
+
background-color: transparent;
|
|
79
|
+
border: 1px solid var(--active-bg);
|
|
80
80
|
border-radius: 2px;
|
|
81
81
|
}
|
|
82
82
|
.vtx-sub-tabs.blue > .ant-tabs-nav > .ant-tabs-nav-wrap > .ant-tabs-nav-list > .ant-tabs-tab-active {
|
|
83
83
|
background: var(--active-bg);
|
|
84
|
-
border: var(--
|
|
85
|
-
-o-border-image: var(--
|
|
86
|
-
border-image: var(--
|
|
84
|
+
border: 1px solid var(--active-bg);
|
|
85
|
+
-o-border-image: var(--active-bg);
|
|
86
|
+
border-image: var(--active-bg);
|
|
87
87
|
}
|
|
88
88
|
.vtx-sub-tabs.blue > .ant-tabs-nav > .ant-tabs-nav-wrap > .ant-tabs-nav-list > .ant-tabs-tab-active .ant-tabs-tab-btn {
|
|
89
89
|
color: var(--active-color);
|
|
@@ -1,182 +1,182 @@
|
|
|
1
|
-
.vtx-sub-tabs {
|
|
2
|
-
--border: 1px solid #dadadaff;
|
|
3
|
-
--border-active: 1px solid #1890ffff;
|
|
4
|
-
--border-image: none;
|
|
5
|
-
--color: #222;
|
|
6
|
-
--active-color: #1890ffff;
|
|
7
|
-
--active-bg: transparent;
|
|
8
|
-
min-width: 300px;
|
|
9
|
-
img {
|
|
10
|
-
margin: -2px 14px 0 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&.ghost {
|
|
14
|
-
--border: 1px solid #4eadfb;
|
|
15
|
-
|
|
16
|
-
--color: #1890ff;
|
|
17
|
-
--active-color: #fff;
|
|
18
|
-
--active-bg: linear-gradient(180deg, #62c1fd 0%, #1890ff 100%);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.dark {
|
|
22
|
-
--border: 1px solid #95fff933;
|
|
23
|
-
--border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
|
|
24
|
-
--border-active: 1px solid #95fff9ff;
|
|
25
|
-
--color: #8d9798ff;
|
|
26
|
-
--active-color: #95fff9ff !important;
|
|
27
|
-
--active-bg: linear-gradient(0deg, #1a606d, #192f3f);
|
|
28
|
-
}
|
|
29
|
-
&.blue {
|
|
30
|
-
--border: 1px solid #1464a6;
|
|
31
|
-
--border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
|
|
32
|
-
--border-active: 1px solid #018aff;
|
|
33
|
-
--color: #fff;
|
|
34
|
-
--active-color: #fff !important;
|
|
35
|
-
--active-bg:
|
|
36
|
-
}
|
|
37
|
-
color: var(--color);
|
|
38
|
-
.tab-pane {
|
|
39
|
-
padding: 18px 0;
|
|
40
|
-
}
|
|
41
|
-
> .ant-tabs-content-holder {
|
|
42
|
-
color: var(--color);
|
|
43
|
-
}
|
|
44
|
-
> .ant-tabs-nav {
|
|
45
|
-
// margin-bottom: 0;
|
|
46
|
-
|
|
47
|
-
&::before {
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
> .ant-tabs-nav-wrap {
|
|
52
|
-
> .ant-tabs-nav-list {
|
|
53
|
-
> .ant-tabs-tab {
|
|
54
|
-
height: 32px;
|
|
55
|
-
margin-left: 0 !important;
|
|
56
|
-
color: var(--color);
|
|
57
|
-
background-color: transparent;
|
|
58
|
-
border: var(--border);
|
|
59
|
-
border-radius: 2px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
> .ant-tabs-tab-active {
|
|
63
|
-
background: var(--active-bg);
|
|
64
|
-
border: var(--border-active);
|
|
65
|
-
border-image: var(--border-image);
|
|
66
|
-
|
|
67
|
-
.ant-tabs-tab-btn {
|
|
68
|
-
color: var(--active-color);
|
|
69
|
-
&:focus {
|
|
70
|
-
color: var(--active-color);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
.ant-tabs-tab-btn:active {
|
|
77
|
-
color: var(--border-active);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&.blue {
|
|
82
|
-
.tab-pane {
|
|
83
|
-
padding: 18px 0;
|
|
84
|
-
}
|
|
85
|
-
> .ant-tabs-nav {
|
|
86
|
-
// margin-bottom: 0;
|
|
87
|
-
|
|
88
|
-
&::before {
|
|
89
|
-
display: none;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
> .ant-tabs-nav-wrap {
|
|
93
|
-
> .ant-tabs-nav-list {
|
|
94
|
-
> .ant-tabs-tab {
|
|
95
|
-
height: 32px;
|
|
96
|
-
margin-left: 0 !important;
|
|
97
|
-
color: var(--color);
|
|
98
|
-
background-color:
|
|
99
|
-
border: var(--
|
|
100
|
-
border-radius: 2px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
> .ant-tabs-tab-active {
|
|
104
|
-
background: var(--active-bg);
|
|
105
|
-
border: var(--
|
|
106
|
-
border-image: var(--
|
|
107
|
-
|
|
108
|
-
.ant-tabs-tab-btn {
|
|
109
|
-
color: var(--active-color);
|
|
110
|
-
&:focus {
|
|
111
|
-
color: var(--active-color);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
.ant-tabs-tab-btn:active {
|
|
118
|
-
color: var(--border-active);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.vtx-sub-tabs-line {
|
|
125
|
-
--border: 1px solid #dadadaff;
|
|
126
|
-
--border-active: 1px solid #1890ffff;
|
|
127
|
-
--border-image: none;
|
|
128
|
-
--color: #222;
|
|
129
|
-
--active-color: #1890ffff;
|
|
130
|
-
--active-bg: transparent;
|
|
131
|
-
|
|
132
|
-
&.dark {
|
|
133
|
-
--border: 1px solid #95fff933;
|
|
134
|
-
--border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
|
|
135
|
-
--border-active: 1px solid #95fff9ff;
|
|
136
|
-
--color: #8d9798ff;
|
|
137
|
-
--active-color: #95fff9ff !important;
|
|
138
|
-
--active-bg: linear-gradient(0deg, #1a606d, #192f3f);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&.blue {
|
|
142
|
-
--border: 1px solid #95fff933;
|
|
143
|
-
--border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
|
|
144
|
-
--border-active: 1px solid #018aff !important;
|
|
145
|
-
--color: #ffffff;
|
|
146
|
-
--active-color: #1890ffff !important;
|
|
147
|
-
--active-bg: linear-gradient(180deg, #2a55e9 0%, #0dbafe 100%);
|
|
148
|
-
}
|
|
149
|
-
> .ant-tabs-nav {
|
|
150
|
-
// margin-bottom: 0;
|
|
151
|
-
|
|
152
|
-
&::before {
|
|
153
|
-
border-bottom: 1px solid rgba(102, 244, 251, 0.1);
|
|
154
|
-
content: '';
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
> .ant-tabs-nav-wrap {
|
|
158
|
-
> .ant-tabs-nav-list {
|
|
159
|
-
> .ant-tabs-tab {
|
|
160
|
-
height: 32px;
|
|
161
|
-
color: var(--color);
|
|
162
|
-
background-color: transparent;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
> .ant-tabs-tab-active {
|
|
166
|
-
.ant-tabs-tab-btn {
|
|
167
|
-
color: var(--active-color);
|
|
168
|
-
&:focus {
|
|
169
|
-
color: var(--active-color);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
> .ant-tabs-ink-bar {
|
|
174
|
-
background: var(--active-color);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
.ant-tabs-tab-btn:active {
|
|
179
|
-
color: var(--border-active);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
1
|
+
.vtx-sub-tabs {
|
|
2
|
+
--border: 1px solid #dadadaff;
|
|
3
|
+
--border-active: 1px solid #1890ffff;
|
|
4
|
+
--border-image: none;
|
|
5
|
+
--color: #222;
|
|
6
|
+
--active-color: #1890ffff;
|
|
7
|
+
--active-bg: transparent;
|
|
8
|
+
min-width: 300px;
|
|
9
|
+
img {
|
|
10
|
+
margin: -2px 14px 0 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.ghost {
|
|
14
|
+
--border: 1px solid #4eadfb;
|
|
15
|
+
|
|
16
|
+
--color: #1890ff;
|
|
17
|
+
--active-color: #fff;
|
|
18
|
+
--active-bg: linear-gradient(180deg, #62c1fd 0%, #1890ff 100%);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.dark {
|
|
22
|
+
--border: 1px solid #95fff933;
|
|
23
|
+
--border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
|
|
24
|
+
--border-active: 1px solid #95fff9ff;
|
|
25
|
+
--color: #8d9798ff;
|
|
26
|
+
--active-color: #95fff9ff !important;
|
|
27
|
+
--active-bg: linear-gradient(0deg, #1a606d, #192f3f);
|
|
28
|
+
}
|
|
29
|
+
&.blue {
|
|
30
|
+
--border: 1px solid #1464a6;
|
|
31
|
+
--border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
|
|
32
|
+
--border-active: 1px solid #018aff;
|
|
33
|
+
--color: #fff;
|
|
34
|
+
--active-color: #fff !important;
|
|
35
|
+
--active-bg: rgba(28,115,212,0.4);
|
|
36
|
+
}
|
|
37
|
+
color: var(--color);
|
|
38
|
+
.tab-pane {
|
|
39
|
+
padding: 18px 0;
|
|
40
|
+
}
|
|
41
|
+
> .ant-tabs-content-holder {
|
|
42
|
+
color: var(--color);
|
|
43
|
+
}
|
|
44
|
+
> .ant-tabs-nav {
|
|
45
|
+
// margin-bottom: 0;
|
|
46
|
+
|
|
47
|
+
&::before {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
> .ant-tabs-nav-wrap {
|
|
52
|
+
> .ant-tabs-nav-list {
|
|
53
|
+
> .ant-tabs-tab {
|
|
54
|
+
height: 32px;
|
|
55
|
+
margin-left: 0 !important;
|
|
56
|
+
color: var(--color);
|
|
57
|
+
background-color: transparent;
|
|
58
|
+
border: var(--border);
|
|
59
|
+
border-radius: 2px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
> .ant-tabs-tab-active {
|
|
63
|
+
background: var(--active-bg);
|
|
64
|
+
border: var(--border-active);
|
|
65
|
+
border-image: var(--border-image);
|
|
66
|
+
|
|
67
|
+
.ant-tabs-tab-btn {
|
|
68
|
+
color: var(--active-color);
|
|
69
|
+
&:focus {
|
|
70
|
+
color: var(--active-color);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
.ant-tabs-tab-btn:active {
|
|
77
|
+
color: var(--border-active);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.blue {
|
|
82
|
+
.tab-pane {
|
|
83
|
+
padding: 18px 0;
|
|
84
|
+
}
|
|
85
|
+
> .ant-tabs-nav {
|
|
86
|
+
// margin-bottom: 0;
|
|
87
|
+
|
|
88
|
+
&::before {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
> .ant-tabs-nav-wrap {
|
|
93
|
+
> .ant-tabs-nav-list {
|
|
94
|
+
> .ant-tabs-tab {
|
|
95
|
+
height: 32px;
|
|
96
|
+
margin-left: 0 !important;
|
|
97
|
+
color: var(--color);
|
|
98
|
+
background-color: transparent;
|
|
99
|
+
border: 1px solid var(--active-bg);
|
|
100
|
+
border-radius: 2px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
> .ant-tabs-tab-active {
|
|
104
|
+
background: var(--active-bg);
|
|
105
|
+
border: 1px solid var(--active-bg);
|
|
106
|
+
border-image: var(--active-bg);
|
|
107
|
+
|
|
108
|
+
.ant-tabs-tab-btn {
|
|
109
|
+
color: var(--active-color);
|
|
110
|
+
&:focus {
|
|
111
|
+
color: var(--active-color);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
.ant-tabs-tab-btn:active {
|
|
118
|
+
color: var(--border-active);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.vtx-sub-tabs-line {
|
|
125
|
+
--border: 1px solid #dadadaff;
|
|
126
|
+
--border-active: 1px solid #1890ffff;
|
|
127
|
+
--border-image: none;
|
|
128
|
+
--color: #222;
|
|
129
|
+
--active-color: #1890ffff;
|
|
130
|
+
--active-bg: transparent;
|
|
131
|
+
|
|
132
|
+
&.dark {
|
|
133
|
+
--border: 1px solid #95fff933;
|
|
134
|
+
--border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
|
|
135
|
+
--border-active: 1px solid #95fff9ff;
|
|
136
|
+
--color: #8d9798ff;
|
|
137
|
+
--active-color: #95fff9ff !important;
|
|
138
|
+
--active-bg: linear-gradient(0deg, #1a606d, #192f3f);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.blue {
|
|
142
|
+
--border: 1px solid #95fff933;
|
|
143
|
+
--border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
|
|
144
|
+
--border-active: 1px solid #018aff !important;
|
|
145
|
+
--color: #ffffff;
|
|
146
|
+
--active-color: #1890ffff !important;
|
|
147
|
+
--active-bg: linear-gradient(180deg, #2a55e9 0%, #0dbafe 100%);
|
|
148
|
+
}
|
|
149
|
+
> .ant-tabs-nav {
|
|
150
|
+
// margin-bottom: 0;
|
|
151
|
+
|
|
152
|
+
&::before {
|
|
153
|
+
border-bottom: 1px solid rgba(102, 244, 251, 0.1);
|
|
154
|
+
content: '';
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
> .ant-tabs-nav-wrap {
|
|
158
|
+
> .ant-tabs-nav-list {
|
|
159
|
+
> .ant-tabs-tab {
|
|
160
|
+
height: 32px;
|
|
161
|
+
color: var(--color);
|
|
162
|
+
background-color: transparent;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
> .ant-tabs-tab-active {
|
|
166
|
+
.ant-tabs-tab-btn {
|
|
167
|
+
color: var(--active-color);
|
|
168
|
+
&:focus {
|
|
169
|
+
color: var(--active-color);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
> .ant-tabs-ink-bar {
|
|
174
|
+
background: var(--active-color);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
.ant-tabs-tab-btn:active {
|
|
179
|
+
color: var(--border-active);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
package/lib/vm-video/index.css
CHANGED
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
--info-warnning: #f7d93d;
|
|
136
136
|
--table-head-bg: rgba(0, 173, 177, 0.1);
|
|
137
137
|
--timeline-active: #24f2ff;
|
|
138
|
-
--calendar-border:
|
|
138
|
+
--calendar-border: rgba(32, 102, 167, 0.5);
|
|
139
139
|
--calendar-thead-bg: rgba(255, 255, 255, 0.1);
|
|
140
140
|
--calendar-content-bg: linear-gradient(0deg, #2a55e9, #0dbafe);
|
|
141
141
|
--calendar-bg: rgba(255, 255, 255, 0.1);
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
--info-warnning: #f7d93d;
|
|
136
136
|
--table-head-bg: rgba(0, 173, 177, 0.1);
|
|
137
137
|
--timeline-active: #24f2ff;
|
|
138
|
-
--calendar-border:
|
|
138
|
+
--calendar-border: rgba(32, 102, 167, 0.5);
|
|
139
139
|
--calendar-thead-bg: rgba(255, 255, 255, 0.1);
|
|
140
140
|
--calendar-content-bg: linear-gradient(0deg, #2a55e9, #0dbafe);
|
|
141
141
|
--calendar-bg: rgba(255, 255, 255, 0.1);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
-webkit-box-align: center;
|
|
29
29
|
-ms-flex-align: center;
|
|
30
30
|
align-items: center;
|
|
31
|
-
width:
|
|
31
|
+
width: 50%;
|
|
32
32
|
}
|
|
33
33
|
.car-alarm .car-main .car-head-label {
|
|
34
34
|
display: inline-block;
|
|
@@ -38,6 +38,20 @@
|
|
|
38
38
|
.car-alarm .car-main .car-head-sel {
|
|
39
39
|
margin-right: 24px;
|
|
40
40
|
}
|
|
41
|
+
.car-alarm .car-main .car-head-tabs {
|
|
42
|
+
width: 84px;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
padding-left: 20px;
|
|
45
|
+
}
|
|
46
|
+
.car-alarm .car-main .car-head-tabs .ant-tabs-nav {
|
|
47
|
+
margin: 0 !important;
|
|
48
|
+
}
|
|
49
|
+
.car-alarm .car-main .car-head-tabs .vtx-sub-tabs img {
|
|
50
|
+
margin: 0;
|
|
51
|
+
}
|
|
52
|
+
.car-alarm .car-main .car-head-tabs .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab {
|
|
53
|
+
padding: 8px;
|
|
54
|
+
}
|
|
41
55
|
.car-alarm .car-main-list {
|
|
42
56
|
min-height: 550px;
|
|
43
57
|
}
|
|
@@ -16,12 +16,8 @@ var _List = _interopRequireDefault(require("./List"));
|
|
|
16
16
|
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
17
17
|
var _api = require("../../api");
|
|
18
18
|
require("./index.less");
|
|
19
|
-
var _chart = _interopRequireDefault(require("
|
|
20
|
-
var
|
|
21
|
-
var _chart_active_light = _interopRequireDefault(require("../../../vm-appraisal-info/imgs/chart_active_light.png"));
|
|
22
|
-
var _list = _interopRequireDefault(require("../../../vm-appraisal-info/imgs/list.png"));
|
|
23
|
-
var _list_active = _interopRequireDefault(require("../../../vm-appraisal-info/imgs/list_active.png"));
|
|
24
|
-
var _list_active_light = _interopRequireDefault(require("../../../vm-appraisal-info/imgs/list_active_light.png"));
|
|
19
|
+
var _chart = _interopRequireDefault(require("../../imgs/chart.svg"));
|
|
20
|
+
var _table = _interopRequireDefault(require("../../imgs/table.svg"));
|
|
25
21
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
26
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
27
23
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
@@ -85,30 +81,7 @@ var CarAlarmInfo = function CarAlarmInfo(props) {
|
|
|
85
81
|
className: "car-main"
|
|
86
82
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
87
83
|
className: "car-head"
|
|
88
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
89
|
-
onChange: function onChange(key) {
|
|
90
|
-
setState({
|
|
91
|
-
tabKey: key
|
|
92
|
-
});
|
|
93
|
-
},
|
|
94
|
-
activeKey: tabKey
|
|
95
|
-
}, [{
|
|
96
|
-
name: (/*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("img", {
|
|
97
|
-
src: tabKey === '1' ? isDark || theme == 'blue' ? _chart_active["default"] : _chart_active_light["default"] : _chart["default"]
|
|
98
|
-
}), "\u56FE\u8868")),
|
|
99
|
-
key: '1'
|
|
100
|
-
}, {
|
|
101
|
-
name: (/*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("img", {
|
|
102
|
-
src: tabKey === '2' ? isDark || theme == 'blue' ? _list_active["default"] : _list_active_light["default"] : _list["default"]
|
|
103
|
-
}), "\u5217\u8868")),
|
|
104
|
-
key: '2'
|
|
105
|
-
}].map(function (ele) {
|
|
106
|
-
return /*#__PURE__*/_react["default"].createElement(_vmSubTabs.SubTabPane, {
|
|
107
|
-
subKey: ele.key,
|
|
108
|
-
key: ele.key,
|
|
109
|
-
tab: ele.name
|
|
110
|
-
});
|
|
111
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
84
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null), /*#__PURE__*/_react["default"].createElement("div", {
|
|
112
85
|
className: "car-head-filter"
|
|
113
86
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
114
87
|
className: "car-head-sel"
|
|
@@ -126,7 +99,43 @@ var CarAlarmInfo = function CarAlarmInfo(props) {
|
|
|
126
99
|
onChange: function onChange(dates) {
|
|
127
100
|
return dates && handleDateChange((0, _moment["default"])(dates[0]).format('YYYY-MM-DD'), (0, _moment["default"])(dates[1]).format('YYYY-MM-DD'));
|
|
128
101
|
}
|
|
129
|
-
})
|
|
102
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
103
|
+
className: "car-head-tabs"
|
|
104
|
+
}, /*#__PURE__*/_react["default"].createElement(_vmSubTabs["default"], {
|
|
105
|
+
onChange: function onChange(key) {
|
|
106
|
+
setState({
|
|
107
|
+
tabKey: key
|
|
108
|
+
});
|
|
109
|
+
},
|
|
110
|
+
activeKey: tabKey,
|
|
111
|
+
style: {
|
|
112
|
+
padding: 0
|
|
113
|
+
}
|
|
114
|
+
}, [{
|
|
115
|
+
name: (/*#__PURE__*/_react["default"].createElement("img", {
|
|
116
|
+
src: _chart["default"],
|
|
117
|
+
style: {
|
|
118
|
+
transform: 'translateX(60px)',
|
|
119
|
+
filter: tabKey === '1' ? isDark || theme == 'blue' ? 'drop-shadow(#74bbf4 -60px 0 0)' : 'drop-shadow(#74bbf4 -60px 0 0)' : isDark || theme == 'blue' ? 'drop-shadow(#fff -60px 0 0)' : 'drop-shadow(grey -60px 0 0)'
|
|
120
|
+
}
|
|
121
|
+
})),
|
|
122
|
+
key: '1'
|
|
123
|
+
}, {
|
|
124
|
+
name: (/*#__PURE__*/_react["default"].createElement("img", {
|
|
125
|
+
src: _table["default"],
|
|
126
|
+
style: {
|
|
127
|
+
transform: 'translateX(60px)',
|
|
128
|
+
filter: tabKey === '2' ? isDark || theme == 'blue' ? 'drop-shadow(#74bbf4 -60px 0 0)' : 'drop-shadow(#74bbf4 -60px 0 0)' : isDark || theme == 'blue' ? 'drop-shadow(#fff -60px 0 0)' : 'drop-shadow(grey -60px 0 0)'
|
|
129
|
+
}
|
|
130
|
+
})),
|
|
131
|
+
key: '2'
|
|
132
|
+
}].map(function (ele) {
|
|
133
|
+
return /*#__PURE__*/_react["default"].createElement(_vmSubTabs.SubTabPane, {
|
|
134
|
+
subKey: ele.key,
|
|
135
|
+
key: ele.key,
|
|
136
|
+
tab: ele.name
|
|
137
|
+
});
|
|
138
|
+
}))))), tabKey === '1' && (/*#__PURE__*/_react["default"].createElement(_Charts["default"], {
|
|
130
139
|
pieData: (value === 'GPS' ? (_a = todayRunRes === null || todayRunRes === void 0 ? void 0 : todayRunRes.alarmGroupByType) === null || _a === void 0 ? void 0 : _a.items : pieData) || [],
|
|
131
140
|
lineData: (value === 'GPS' ? todayRunRes === null || todayRunRes === void 0 ? void 0 : todayRunRes.alarmGroupByDayChart : lineData) || {}
|
|
132
141
|
})), tabKey === '2' && (/*#__PURE__*/_react["default"].createElement(_List["default"], {
|