@vtx/modals2 3.3.9 → 3.3.11
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/vm-case-modal/api.js +43 -0
- package/lib/vm-case-modal/api.js.map +1 -0
- package/lib/vm-case-modal/components/BaseInfo/fields.js +83 -0
- package/lib/vm-case-modal/components/BaseInfo/fields.js.map +1 -0
- package/lib/vm-case-modal/components/BaseInfo/index.css +182 -0
- package/lib/vm-case-modal/components/BaseInfo/index.js +139 -0
- package/lib/vm-case-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vm-case-modal/components/BaseInfo/index.less +134 -0
- package/lib/vm-case-modal/components/Picture/index.css +64 -0
- package/lib/vm-case-modal/components/Picture/index.js +423 -0
- package/lib/vm-case-modal/components/Picture/index.js.map +1 -0
- package/lib/vm-case-modal/components/Picture/index.less +58 -0
- package/lib/vm-case-modal/components/index.js +21 -0
- package/lib/vm-case-modal/components/index.js.map +1 -0
- package/lib/vm-case-modal/imgs/bg.png +0 -0
- package/lib/vm-case-modal/imgs/close-blue.png +0 -0
- package/lib/vm-case-modal/imgs/close-dark.png +0 -0
- package/lib/vm-case-modal/imgs/close.png +0 -0
- package/lib/vm-case-modal/imgs/collect.png +0 -0
- package/lib/vm-case-modal/imgs/collect_light.png +0 -0
- package/lib/vm-case-modal/imgs/dot.png +0 -0
- package/lib/vm-case-modal/imgs/point.png +0 -0
- package/lib/vm-case-modal/imgs/tab_bg.png +0 -0
- package/lib/vm-case-modal/imgs/tab_bg_blue.png +0 -0
- package/lib/vm-case-modal/imgs/tab_bg_light.png +0 -0
- package/lib/vm-case-modal/imgs/tab_selected.png +0 -0
- package/lib/vm-case-modal/imgs/tab_unsel.png +0 -0
- package/lib/vm-case-modal/imgs/title_bg.png +0 -0
- package/lib/vm-case-modal/imgs/title_bg_blue.png +0 -0
- package/lib/vm-case-modal/imgs/track.png +0 -0
- package/lib/vm-case-modal/imgs/track_light.png +0 -0
- package/lib/vm-case-modal/index.js +102 -0
- package/lib/vm-case-modal/index.js.map +1 -0
- package/lib/vm-case-modal/style/css.js +4 -0
- package/lib/vm-case-modal/style/css.js.map +1 -0
- package/lib/vm-case-modal/style/index.css +557 -0
- package/lib/vm-case-modal/style/index.js +4 -0
- package/lib/vm-case-modal/style/index.js.map +1 -0
- package/lib/vm-case-modal/style/index.less +589 -0
- package/lib/vm-video/index.js +14 -2
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.css +1 -1
- package/lib/vtx-base-modal/style/index.less +1 -1
- package/lib/vtx-car-modal/api.js +13 -10
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/RunAna/index.js +43 -11
- package/lib/vtx-car-modal/components/RunAna/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js +12 -0
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body,
|
|
3
|
+
p {
|
|
4
|
+
margin: 0 !important;
|
|
5
|
+
padding: 0 !important;
|
|
6
|
+
}
|
|
7
|
+
.overHiddenScroll {
|
|
8
|
+
height: 100%;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
.vtx-business-modal-wrap {
|
|
12
|
+
.mask {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
position: absolute;
|
|
16
|
+
left: 0;
|
|
17
|
+
top: 0;
|
|
18
|
+
z-index: 999;
|
|
19
|
+
background: rgba(0, 0, 0, 0.8);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.dark {
|
|
23
|
+
--table-bg: transparent;
|
|
24
|
+
--table-header-bg-color: #00adb11a;
|
|
25
|
+
--table-color: white;
|
|
26
|
+
--table-head-color: #d3fff9;
|
|
27
|
+
--table-row-border: 1px solid transparent;
|
|
28
|
+
--table-row-bg-color: #ffffff0d;
|
|
29
|
+
a {
|
|
30
|
+
color: #a9d5d3 !important;
|
|
31
|
+
}
|
|
32
|
+
.vtx-form-layout {
|
|
33
|
+
padding: 30px 24px;
|
|
34
|
+
}
|
|
35
|
+
.vtx-form-pane-title {
|
|
36
|
+
color: #95fff9;
|
|
37
|
+
}
|
|
38
|
+
.ant-form,
|
|
39
|
+
.ant-card-head {
|
|
40
|
+
color: var(--label-color);
|
|
41
|
+
}
|
|
42
|
+
.vtx-datagrid-toolbar-left,
|
|
43
|
+
.vtx-datagrid-toolbar {
|
|
44
|
+
color: var(--info-color);
|
|
45
|
+
}
|
|
46
|
+
.ant-card-head,
|
|
47
|
+
.ant-card-bordered {
|
|
48
|
+
border-color: rgba(255, 255, 255, 0.2);
|
|
49
|
+
}
|
|
50
|
+
.vtx-form-layout .vtx-form-card-expand-icon {
|
|
51
|
+
color: var(--arrow-icon-color);
|
|
52
|
+
}
|
|
53
|
+
// font-family: PingFangSC-Regular, serif;
|
|
54
|
+
.vtx-page--table {
|
|
55
|
+
background: none;
|
|
56
|
+
}
|
|
57
|
+
.vtx-table-search {
|
|
58
|
+
background: none;
|
|
59
|
+
}
|
|
60
|
+
.vtx-table-wrap {
|
|
61
|
+
background: none;
|
|
62
|
+
}
|
|
63
|
+
.vtx-search {
|
|
64
|
+
background: none;
|
|
65
|
+
}
|
|
66
|
+
.ant-card {
|
|
67
|
+
background: none;
|
|
68
|
+
}
|
|
69
|
+
.ant-picker-range,
|
|
70
|
+
.ant-picker {
|
|
71
|
+
--color: #a9d5d3ff;
|
|
72
|
+
--border: 1px solid #3c7073ff;
|
|
73
|
+
--bg-color: #0d1a1b;
|
|
74
|
+
--hover-color: white;
|
|
75
|
+
.ant-picker-active-bar {
|
|
76
|
+
background: #59ffe2;
|
|
77
|
+
}
|
|
78
|
+
background-color: var(--bg-color) !important;
|
|
79
|
+
border: var(--border) !important;
|
|
80
|
+
|
|
81
|
+
.ant-picker-suffix {
|
|
82
|
+
color: var(--color);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:hover {
|
|
86
|
+
border-color: var(--hover-color);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ant-picker-input {
|
|
90
|
+
input {
|
|
91
|
+
color: var(--color);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ant-picker-separator {
|
|
96
|
+
color: var(--color);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ant-picker-clear {
|
|
100
|
+
color: var(--color);
|
|
101
|
+
background: transparent;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
.ant-descriptions-bordered {
|
|
105
|
+
.ant-descriptions-item-label {
|
|
106
|
+
background-color: inherit;
|
|
107
|
+
color: var(--label-color);
|
|
108
|
+
}
|
|
109
|
+
.ant-descriptions-item-content {
|
|
110
|
+
color: var(--info-color);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
.ant-pagination {
|
|
114
|
+
color: white;
|
|
115
|
+
.ant-pagination-item {
|
|
116
|
+
background-color: transparent;
|
|
117
|
+
border-color: #454847;
|
|
118
|
+
> a {
|
|
119
|
+
color: white;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&.ant-pagination-item-active,
|
|
123
|
+
&:hover {
|
|
124
|
+
border-color: #95fff9;
|
|
125
|
+
> a {
|
|
126
|
+
color: #95fff9;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
.ant-select-arrow {
|
|
131
|
+
color: white;
|
|
132
|
+
}
|
|
133
|
+
.ant-pagination-item-link {
|
|
134
|
+
color: white;
|
|
135
|
+
background-color: transparent;
|
|
136
|
+
border-color: #454847;
|
|
137
|
+
&:hover :not(:disabled) {
|
|
138
|
+
color: #95fff9;
|
|
139
|
+
border-color: #95fff9;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
.ant-select-dropdown {
|
|
143
|
+
background: #0d1a1b;
|
|
144
|
+
.ant-select-item {
|
|
145
|
+
color: white;
|
|
146
|
+
}
|
|
147
|
+
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
148
|
+
background-color: #2d575a;
|
|
149
|
+
}
|
|
150
|
+
.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
|
151
|
+
background-color: #1c3436;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
|
|
155
|
+
color: #ffffff40;
|
|
156
|
+
}
|
|
157
|
+
.ant-pagination-options-quick-jumper input {
|
|
158
|
+
color: white;
|
|
159
|
+
background: transparent;
|
|
160
|
+
border: 1px solid #3c7073;
|
|
161
|
+
&:hover {
|
|
162
|
+
border: 1px solid #6cc9ce;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
166
|
+
background-color: transparent;
|
|
167
|
+
border: 1px solid #3c7073;
|
|
168
|
+
}
|
|
169
|
+
.ant-select:not(.ant-select-disabled):hover .ant-select-selector {
|
|
170
|
+
border: 1px solid #6cc9ce;
|
|
171
|
+
}
|
|
172
|
+
.ant-select {
|
|
173
|
+
color: white;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
.ant-table {
|
|
177
|
+
background: var(--table-bg);
|
|
178
|
+
|
|
179
|
+
.ant-table-container {
|
|
180
|
+
border: none;
|
|
181
|
+
&::before {
|
|
182
|
+
display: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&::after {
|
|
186
|
+
display: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ant-table-content {
|
|
190
|
+
padding-bottom: 10px;
|
|
191
|
+
}
|
|
192
|
+
table {
|
|
193
|
+
border-collapse: collapse;
|
|
194
|
+
border: none !important;
|
|
195
|
+
thead {
|
|
196
|
+
tr {
|
|
197
|
+
th {
|
|
198
|
+
padding: 8px 8px;
|
|
199
|
+
color: var(--table-head-color);
|
|
200
|
+
white-space: nowrap;
|
|
201
|
+
background-color: var(--table-header-bg-color);
|
|
202
|
+
border: none !important;
|
|
203
|
+
|
|
204
|
+
&::before {
|
|
205
|
+
display: none;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
tbody {
|
|
212
|
+
tr {
|
|
213
|
+
td {
|
|
214
|
+
padding: 8px 8px;
|
|
215
|
+
color: var(--table-color);
|
|
216
|
+
white-space: nowrap;
|
|
217
|
+
background-color: transparent;
|
|
218
|
+
border: none !important;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&:nth-child(odd) {
|
|
222
|
+
td {
|
|
223
|
+
background-color: var(--table-row-bg-color);
|
|
224
|
+
border-top: var(--table-row-border);
|
|
225
|
+
border-bottom: var(--table-row-border);
|
|
226
|
+
|
|
227
|
+
&:first-child {
|
|
228
|
+
border-left: var(--table-row-border);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
&:last-child {
|
|
232
|
+
border-right: var(--table-row-border);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
.vtx-ztree-select {
|
|
242
|
+
.ant-input-affix-wrapper {
|
|
243
|
+
background-color: #0d1a1b !important;
|
|
244
|
+
border: 1px solid #3c7073 !important;
|
|
245
|
+
color: #a9d5d3;
|
|
246
|
+
.ant-input {
|
|
247
|
+
background-color: #0d1a1b !important;
|
|
248
|
+
color: #a9d5d3;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
.ant-select-selector {
|
|
253
|
+
background-color: #0d1a1b !important;
|
|
254
|
+
border: 1px solid #3c7073 !important;
|
|
255
|
+
.ant-select-selection-item {
|
|
256
|
+
color: #a9d5d3;
|
|
257
|
+
}
|
|
258
|
+
&:hover {
|
|
259
|
+
border: 1px solid #6cc9ce !important;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
.ant-select-clear,
|
|
263
|
+
.ant-select-arrow {
|
|
264
|
+
background-color: #0d1a1b !important;
|
|
265
|
+
color: #a9d5d3;
|
|
266
|
+
}
|
|
267
|
+
.ant-btn-primary {
|
|
268
|
+
background: #2bd8cf;
|
|
269
|
+
border-color: #2bd8cf;
|
|
270
|
+
> span {
|
|
271
|
+
color: black;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
.vtx-form-layout .vtx-form-item--view .ant-form-item-label > label {
|
|
275
|
+
color: var(--label-color);
|
|
276
|
+
}
|
|
277
|
+
.vtx-form-layout .vtx-form-item--view .ant-form-item-control {
|
|
278
|
+
color: var(--info-color);
|
|
279
|
+
}
|
|
280
|
+
.vtx-datagrid-fit .ant-table-tbody > tr:nth-child(odd) {
|
|
281
|
+
background: var(--table-row-bg-color);
|
|
282
|
+
td {
|
|
283
|
+
background: var(--table-row-bg-color) !important;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.ant-select-dropdown {
|
|
290
|
+
&.dark {
|
|
291
|
+
background: #0d1a1b;
|
|
292
|
+
.ant-select-item {
|
|
293
|
+
color: white;
|
|
294
|
+
}
|
|
295
|
+
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
296
|
+
background-color: #2d575a;
|
|
297
|
+
}
|
|
298
|
+
.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
|
299
|
+
background-color: #1c3436;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.ant-picker-dropdown-range {
|
|
305
|
+
&.dark {
|
|
306
|
+
.ant-picker-range-arrow {
|
|
307
|
+
background: none;
|
|
308
|
+
&::before {
|
|
309
|
+
background: #0d1a1be6;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
.ant-picker-panel-container {
|
|
313
|
+
background: #0d1a1be6;
|
|
314
|
+
box-shadow: 0 3px 6px -4px #ffffff1f, 0 6px 16px #ffffff14, 0 9px 28px 8px #5454540d;
|
|
315
|
+
.ant-picker-header {
|
|
316
|
+
button {
|
|
317
|
+
color: white;
|
|
318
|
+
&:hover {
|
|
319
|
+
color: #95fff9;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
.ant-picker-content {
|
|
324
|
+
th {
|
|
325
|
+
color: white;
|
|
326
|
+
}
|
|
327
|
+
.ant-picker-cell-inner {
|
|
328
|
+
color: white;
|
|
329
|
+
}
|
|
330
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range::before {
|
|
331
|
+
background: #6cff2340;
|
|
332
|
+
}
|
|
333
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,
|
|
334
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {
|
|
335
|
+
background: #6cff2340;
|
|
336
|
+
}
|
|
337
|
+
.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
|
|
338
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
|
|
339
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
|
|
340
|
+
background: #52c41a;
|
|
341
|
+
}
|
|
342
|
+
.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
|
|
343
|
+
.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end)
|
|
344
|
+
.ant-picker-cell-inner {
|
|
345
|
+
background: #f5f5f55e;
|
|
346
|
+
}
|
|
347
|
+
.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
|
|
348
|
+
border: 1px solid #52c41a;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover::before,
|
|
352
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover::before,
|
|
353
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover::before,
|
|
354
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start::before,
|
|
355
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end::before,
|
|
356
|
+
.ant-picker-panel
|
|
357
|
+
> :not(.ant-picker-date-panel)
|
|
358
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start::before,
|
|
359
|
+
.ant-picker-panel
|
|
360
|
+
> :not(.ant-picker-date-panel)
|
|
361
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
|
|
362
|
+
background: #52c41abb;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start
|
|
366
|
+
.ant-picker-cell-inner::after,
|
|
367
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end
|
|
368
|
+
.ant-picker-cell-inner::after {
|
|
369
|
+
background: #52c41abb !important;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
.content-left{
|
|
376
|
+
width: 481px;
|
|
377
|
+
height: 693px;
|
|
378
|
+
overflow-y: auto;
|
|
379
|
+
padding: 24px;
|
|
380
|
+
background-color: var(--bg-color2);
|
|
381
|
+
border: 1px solid #fcc;
|
|
382
|
+
}
|
|
383
|
+
.content-right{
|
|
384
|
+
padding: 0 0 0 10px;
|
|
385
|
+
width: calc(~'100% - 481px - 12px');
|
|
386
|
+
// height: 693px;
|
|
387
|
+
height: 100%;
|
|
388
|
+
border: 1px solid #fcc;
|
|
389
|
+
}
|
|
390
|
+
.vtx-business-modal {
|
|
391
|
+
.background {
|
|
392
|
+
background-repeat: no-repeat;
|
|
393
|
+
background-size: 100% 100%;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
width: fit-content;
|
|
397
|
+
min-height: 500px;
|
|
398
|
+
// max-height: calc(100% - 40px);
|
|
399
|
+
min-width: 1000px;
|
|
400
|
+
// max-width: calc(100% - 64px);
|
|
401
|
+
overflow: hidden;
|
|
402
|
+
position: absolute;
|
|
403
|
+
top: 60px;
|
|
404
|
+
left: 50%;
|
|
405
|
+
transform: translateX(-50%);
|
|
406
|
+
z-index: 999;
|
|
407
|
+
background: var(--modal-content-bg);
|
|
408
|
+
border: 2px solid var(--modal-border-color);
|
|
409
|
+
border-radius: 8px;
|
|
410
|
+
|
|
411
|
+
&--head {
|
|
412
|
+
background: var(--head-bg);
|
|
413
|
+
height: 60px;
|
|
414
|
+
line-height: 60px;
|
|
415
|
+
margin: 3px 4px;
|
|
416
|
+
display: flex;
|
|
417
|
+
justify-content: space-between;
|
|
418
|
+
align-items: center;
|
|
419
|
+
font-size: 22px;
|
|
420
|
+
&-title {
|
|
421
|
+
position: relative;
|
|
422
|
+
height: 100%;
|
|
423
|
+
font-weight: bold;
|
|
424
|
+
&.blue {
|
|
425
|
+
padding-left: 58px;
|
|
426
|
+
font-family: DINAlternate-Bold, DINAlternate;
|
|
427
|
+
font-style: italic;
|
|
428
|
+
color: var(--title-color);
|
|
429
|
+
-webkit-text-stroke: 1px #034193c0;
|
|
430
|
+
}
|
|
431
|
+
&.dark {
|
|
432
|
+
padding-left: 58px;
|
|
433
|
+
font-family: DINAlternate-Bold, DINAlternate;
|
|
434
|
+
font-style: italic;
|
|
435
|
+
color: var(--title-color);
|
|
436
|
+
-webkit-text-stroke: 1px #034193c0;
|
|
437
|
+
}
|
|
438
|
+
&.light {
|
|
439
|
+
padding-left: 24px;
|
|
440
|
+
font-size: 18px;
|
|
441
|
+
color: #222;
|
|
442
|
+
}
|
|
443
|
+
&-bg {
|
|
444
|
+
&.dark {
|
|
445
|
+
width: 400px;
|
|
446
|
+
height: 60px;
|
|
447
|
+
position: absolute;
|
|
448
|
+
top: 0;
|
|
449
|
+
left: 0;
|
|
450
|
+
.background();
|
|
451
|
+
background-image: url('../imgs/title_bg.png');
|
|
452
|
+
}
|
|
453
|
+
&.blue {
|
|
454
|
+
width: 400px;
|
|
455
|
+
height: 60px;
|
|
456
|
+
position: absolute;
|
|
457
|
+
top: 0;
|
|
458
|
+
left: 0;
|
|
459
|
+
.background();
|
|
460
|
+
background-image: url('../imgs/title_bg_blue.png');
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
&-btns {
|
|
465
|
+
display: flex;
|
|
466
|
+
justify-content: end;
|
|
467
|
+
align-items: center;
|
|
468
|
+
}
|
|
469
|
+
&-btn {
|
|
470
|
+
color: var(--title-color2);
|
|
471
|
+
font-size: 16px;
|
|
472
|
+
margin-right: 15px;
|
|
473
|
+
cursor: pointer;
|
|
474
|
+
img {
|
|
475
|
+
width: 38px;
|
|
476
|
+
height: 42px;
|
|
477
|
+
margin-right: 8px;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
.close-btn {
|
|
481
|
+
cursor: pointer;
|
|
482
|
+
transition: transform 0.3s;
|
|
483
|
+
|
|
484
|
+
&.blue {
|
|
485
|
+
margin-right: 10px;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
&:hover {
|
|
489
|
+
transform: rotate(180deg);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
&--content {
|
|
495
|
+
height: calc(~'100% - 60px');
|
|
496
|
+
background: var(--modal-content-bg);
|
|
497
|
+
display: flex;
|
|
498
|
+
justify-content: space-between;
|
|
499
|
+
gap: 0.1rem;
|
|
500
|
+
}
|
|
501
|
+
&--main {
|
|
502
|
+
width: calc(~'100% - 140px');
|
|
503
|
+
}
|
|
504
|
+
&--main-notab {
|
|
505
|
+
width: 100%;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.vtx-modal-tabs {
|
|
509
|
+
--tabs-btn-color: #666;
|
|
510
|
+
--tabs-btn-active-color: #1890ff;
|
|
511
|
+
--border-left: #1890ff;
|
|
512
|
+
|
|
513
|
+
&.dark {
|
|
514
|
+
--tabs-btn-color: #9dbcbaff;
|
|
515
|
+
--tabs-btn-active-color: #fff;
|
|
516
|
+
--border-left: rgba(255, 255, 255, 0.2);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
&.blue {
|
|
520
|
+
--tabs-btn-color: #aaa;
|
|
521
|
+
--tabs-btn-active-color: #ffffff;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
width: 140px;
|
|
525
|
+
font-size: 18px;
|
|
526
|
+
font-family: PingFangSC-Regular, PingFang SC;
|
|
527
|
+
color: var(--tabs-btn-color);
|
|
528
|
+
text-align: center;
|
|
529
|
+
background: var(--modal-content-bg);
|
|
530
|
+
border-left: 1px solid rgba(255, 255, 255, 0.2);
|
|
531
|
+
display: flex;
|
|
532
|
+
flex-flow: column;
|
|
533
|
+
justify-content: center;
|
|
534
|
+
&--tab {
|
|
535
|
+
width: 140px;
|
|
536
|
+
height: 64px;
|
|
537
|
+
line-height: 64px;
|
|
538
|
+
cursor: pointer;
|
|
539
|
+
color: var(--tabs-btn-color);
|
|
540
|
+
&_active {
|
|
541
|
+
color: var(--tabs-btn-active-color);
|
|
542
|
+
background-image: url('../imgs/tab_bg_light.png');
|
|
543
|
+
.background();
|
|
544
|
+
&.dark {
|
|
545
|
+
background-image: url('../imgs/tab_bg.png');
|
|
546
|
+
}
|
|
547
|
+
&.blue {
|
|
548
|
+
background-image: url('../imgs/tab_bg_blue.png');
|
|
549
|
+
font-weight: bold;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.dark {
|
|
557
|
+
.ant-popover-inner {
|
|
558
|
+
background-color: #0d1a1b !important;
|
|
559
|
+
.ant-input {
|
|
560
|
+
background-color: #0d1a1b !important;
|
|
561
|
+
color: #a9d5d3;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.ztree li a {
|
|
566
|
+
color: #a9d5d3 !important;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
@media screen and(max-width:1440px) and (max-height: 900px) {
|
|
571
|
+
.vtx-business-modal {
|
|
572
|
+
height: 100%;
|
|
573
|
+
top: 0;
|
|
574
|
+
&--content {
|
|
575
|
+
height: 100%;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
@media screen and (max-width: 1366px) and (max-height: 768px) {
|
|
581
|
+
.vtx-business-modal {
|
|
582
|
+
width: 100%;
|
|
583
|
+
height: 100%;
|
|
584
|
+
top: 0;
|
|
585
|
+
&--content {
|
|
586
|
+
height: 100%;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
}
|
package/lib/vm-video/index.js
CHANGED
|
@@ -7,18 +7,30 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _player = require("@vtx/player");
|
|
9
9
|
var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
|
|
10
|
+
var _utils = require("@vtx/utils");
|
|
10
11
|
require("./index.less");
|
|
11
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
13
|
var VmVideo = function VmVideo(_ref) {
|
|
13
14
|
var _ref$videoPlaceCode = _ref.videoPlaceCode,
|
|
14
|
-
videoPlaceCode = _ref$videoPlaceCode === void 0 ? '' : _ref$videoPlaceCode
|
|
15
|
+
videoPlaceCode = _ref$videoPlaceCode === void 0 ? '' : _ref$videoPlaceCode,
|
|
16
|
+
_ref$videoType = _ref.videoType,
|
|
17
|
+
videoType = _ref$videoType === void 0 ? '' : _ref$videoType;
|
|
15
18
|
var _useSettings = (0, _useSettings2["default"])(),
|
|
16
19
|
isDark = _useSettings.isDark,
|
|
17
20
|
theme = _useSettings.theme,
|
|
18
21
|
defaultGrid = _useSettings.defaultGrid;
|
|
19
22
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
23
|
className: "vm-video"
|
|
21
|
-
}, videoPlaceCode ? /*#__PURE__*/_react["default"].createElement(
|
|
24
|
+
}, videoPlaceCode ? videoType == 'BD' ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
25
|
+
style: {
|
|
26
|
+
width: '100%',
|
|
27
|
+
height: 640
|
|
28
|
+
}
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("iframe", {
|
|
30
|
+
src: "".concat(window.origin, "/vis/video/BD_NEW/business.html?bdProxy=bdNew&theme=dark&billId=").concat(videoPlaceCode, "&tenantId=").concat((0, _utils.getUrlParam)('tenantId'), "&userId=").concat((0, _utils.getUrlParam)('userId'), "&token=").concat((0, _utils.getUrlParam)('token')),
|
|
31
|
+
width: "100%",
|
|
32
|
+
height: "100%"
|
|
33
|
+
})) : /*#__PURE__*/_react["default"].createElement(_player.BillPlayer, {
|
|
22
34
|
height: 640,
|
|
23
35
|
isDark: isDark,
|
|
24
36
|
theme: theme,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_player","_useSettings2","obj","__esModule","VmVideo","_ref","_ref$videoPlaceCode","videoPlaceCode","_useSettings","useSettings","isDark","theme","defaultGrid","React","createElement","className","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_player","_useSettings2","_utils","obj","__esModule","VmVideo","_ref","_ref$videoPlaceCode","videoPlaceCode","_ref$videoType","videoType","_useSettings","useSettings","isDark","theme","defaultGrid","React","createElement","className","style","width","height","src","concat","window","origin","getUrlParam","BillPlayer","params","billId","display","justifyContent","alignItems","color","_default","exports"],"sources":["vm-video/index.js"],"sourcesContent":["import React from 'react';\nimport { BillPlayer } from '@vtx/player';\nimport useSettings from '../vm-hooks/useSettings';\nimport { getUrlParam } from '@vtx/utils';\nimport './index.less';\nconst VmVideo = ({ videoPlaceCode = '', videoType = '' }) => {\n const { isDark, theme, defaultGrid } = useSettings();\n return (React.createElement(\"div\", { className: \"vm-video\" }, videoPlaceCode ? (videoType == 'BD' ? React.createElement(\"div\", { style: { width: '100%', height: 640 } },\n React.createElement(\"iframe\", { src: `${window.origin}/vis/video/BD_NEW/business.html?bdProxy=bdNew&theme=dark&billId=${videoPlaceCode}&tenantId=${getUrlParam('tenantId')}&userId=${getUrlParam('userId')}&token=${getUrlParam('token')}`, width: \"100%\", height: \"100%\" }))\n : React.createElement(BillPlayer, { height: 640, isDark: isDark, theme: theme, defaultGrid: defaultGrid, params: { billId: videoPlaceCode } })) : (React.createElement(\"div\", { style: {\n display: 'flex',\n height: '100%',\n justifyContent: 'center',\n alignItems: 'center',\n color: '#fff',\n } }, \"\\u6682\\u65E0\\u89C6\\u9891\"))));\n};\nexport default VmVideo;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACAA,OAAA;AAAsB,SAAAD,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACtB,IAAME,OAAO,GAAG,SAAVA,OAAOA,CAAAC,IAAA,EAAgD;EAAA,IAAAC,mBAAA,GAAAD,IAAA,CAA1CE,cAAc;IAAdA,cAAc,GAAAD,mBAAA,cAAG,EAAE,GAAAA,mBAAA;IAAAE,cAAA,GAAAH,IAAA,CAAEI,SAAS;IAATA,SAAS,GAAAD,cAAA,cAAG,EAAE,GAAAA,cAAA;EAClD,IAAAE,YAAA,GAAuC,IAAAC,wBAAW,GAAE;IAA5CC,MAAM,GAAAF,YAAA,CAANE,MAAM;IAAEC,KAAK,GAAAH,YAAA,CAALG,KAAK;IAAEC,WAAW,GAAAJ,YAAA,CAAXI,WAAW;EAClC,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAW,CAAC,EAAEV,cAAc,GAAIE,SAAS,IAAI,IAAI,gBAAGM,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEE,KAAK,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAI;EAAE,CAAC,eACpKL,iBAAK,CAACC,aAAa,CAAC,QAAQ,EAAE;IAAEK,GAAG,KAAAC,MAAA,CAAKC,MAAM,CAACC,MAAM,sEAAAF,MAAA,CAAmEf,cAAc,gBAAAe,MAAA,CAAa,IAAAG,kBAAW,EAAC,UAAU,CAAC,cAAAH,MAAA,CAAW,IAAAG,kBAAW,EAAC,QAAQ,CAAC,aAAAH,MAAA,CAAU,IAAAG,kBAAW,EAAC,OAAO,CAAC,CAAE;IAAEN,KAAK,EAAE,MAAM;IAAEC,MAAM,EAAE;EAAO,CAAC,CAAC,CAAC,gBAC3QL,iBAAK,CAACC,aAAa,CAACU,kBAAU,EAAE;IAAEN,MAAM,EAAE,GAAG;IAAER,MAAM,EAAEA,MAAM;IAAEC,KAAK,EAAEA,KAAK;IAAEC,WAAW,EAAEA,WAAW;IAAEa,MAAM,EAAE;MAAEC,MAAM,EAAErB;IAAe;EAAE,CAAC,CAAC,gBAAKQ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEE,KAAK,EAAE;MACnLW,OAAO,EAAE,MAAM;MACfT,MAAM,EAAE,MAAM;MACdU,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE,QAAQ;MACpBC,KAAK,EAAE;IACX;EAAE,CAAC,EAAE,0BAA0B,CAAE,CAAC;AAC1C,CAAC;AAAC,IAAAC,QAAA,GACa7B,OAAO;AAAA8B,OAAA,cAAAD,QAAA"}
|
|
@@ -338,7 +338,7 @@ p {
|
|
|
338
338
|
-webkit-transform: translateX(-50%);
|
|
339
339
|
-ms-transform: translateX(-50%);
|
|
340
340
|
transform: translateX(-50%);
|
|
341
|
-
z-index:
|
|
341
|
+
z-index: 999;
|
|
342
342
|
background: var(--modal-content-bg);
|
|
343
343
|
border: 2px solid var(--modal-border-color);
|
|
344
344
|
border-radius: 8px;
|
package/lib/vtx-car-modal/api.js
CHANGED
|
@@ -606,16 +606,19 @@ exports.MaintenanceService = MaintenanceService;
|
|
|
606
606
|
var RunAnaService = {
|
|
607
607
|
useRecord: function useRecord(carId, startTime, endTime, page) {
|
|
608
608
|
var _useRequest27 = (0, _ahooks.useRequest)(function () {
|
|
609
|
-
return
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
609
|
+
return (
|
|
610
|
+
// /cloud/cdhwgf/open/plat/np/getAlarmRecords
|
|
611
|
+
_utils.request.get('/cloud/cdhwgf/api/v101/driverAlarmRecord/page', {
|
|
612
|
+
data: {
|
|
613
|
+
carId: carId,
|
|
614
|
+
page: page,
|
|
615
|
+
alarmStartDateTimeStart: startTime,
|
|
616
|
+
alarmStartDateTimeEnd: endTime,
|
|
617
|
+
size: 10,
|
|
618
|
+
order: 'desc'
|
|
619
|
+
}
|
|
620
|
+
})
|
|
621
|
+
);
|
|
619
622
|
}, {
|
|
620
623
|
refreshDeps: [carId, page]
|
|
621
624
|
}),
|