@vtx/modals2 5.0.34 → 5.0.35
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/_components/vm-card-statistics/index.less +27 -27
- package/lib/_components/vm-factor-list/index.less +11 -11
- package/lib/_components/vm-popover/index.less +7 -7
- package/lib/_components/vm-table/index.js +4 -4
- package/lib/vtx-base-modal/Header/index.less +98 -98
- package/lib/vtx-base-modal/Tabs/index.less +54 -54
- package/lib/vtx-car-modal/components/Info/index.less +6 -6
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
- package/lib/vtx-default-modal/api.js +2 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +52 -55
- package/lib/vtx-default-modal/components/BaseInfo/index.less +11 -2
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
- package/lib/vtx-df-modal/api.js +2 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +28 -31
- package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +4 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +0 -3
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
- package/lib/vtx-restaurant-modal/config.js +52 -52
- package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
.vm-car-statistics {
|
|
2
|
-
width: 208px;
|
|
3
|
-
height: 84px;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
padding: 20px;
|
|
8
|
-
background-size: 100% 100%;
|
|
9
|
-
&-label {
|
|
10
|
-
color: var(--img-text-color);
|
|
11
|
-
}
|
|
12
|
-
&-value, &-unit {
|
|
13
|
-
color: #1f1f1f;
|
|
14
|
-
}
|
|
15
|
-
&.vm-car-statistics-dark {
|
|
16
|
-
.vm-car-statistics-value,.vm-car-statistics-unit {
|
|
17
|
-
background: linear-gradient(180deg, #ffffff 0%, #119FFB 100%);
|
|
18
|
-
background-clip: text;
|
|
19
|
-
-webkit-text-fill-color: transparent;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
&-value {
|
|
23
|
-
font-size: 20px;
|
|
24
|
-
font-weight: bold;
|
|
25
|
-
margin-right: 4px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
.vm-car-statistics {
|
|
2
|
+
width: 208px;
|
|
3
|
+
height: 84px;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
background-size: 100% 100%;
|
|
9
|
+
&-label {
|
|
10
|
+
color: var(--img-text-color);
|
|
11
|
+
}
|
|
12
|
+
&-value, &-unit {
|
|
13
|
+
color: #1f1f1f;
|
|
14
|
+
}
|
|
15
|
+
&.vm-car-statistics-dark {
|
|
16
|
+
.vm-car-statistics-value,.vm-car-statistics-unit {
|
|
17
|
+
background: linear-gradient(180deg, #ffffff 0%, #119FFB 100%);
|
|
18
|
+
background-clip: text;
|
|
19
|
+
-webkit-text-fill-color: transparent;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&-value {
|
|
23
|
+
font-size: 20px;
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
margin-right: 4px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.vm-factor-list-wrap {
|
|
2
|
-
display: flex;
|
|
3
|
-
padding: 12px 16px;
|
|
4
|
-
height: 68px;
|
|
5
|
-
background: #F3F8FF;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
gap: 26px;
|
|
8
|
-
&.dark {
|
|
9
|
-
background: rgba(0,136,240,0.15);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
.vm-factor-list-wrap {
|
|
2
|
+
display: flex;
|
|
3
|
+
padding: 12px 16px;
|
|
4
|
+
height: 68px;
|
|
5
|
+
background: #F3F8FF;
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
gap: 26px;
|
|
8
|
+
&.dark {
|
|
9
|
+
background: rgba(0,136,240,0.15);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.vm-popover {
|
|
2
|
-
&.dark {
|
|
3
|
-
.ant-popover-inner-content, .ant-popover-arrow-content, .ant-popover-arrow-content::before {
|
|
4
|
-
background: rgb(51 95 135);
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
.vm-popover {
|
|
2
|
+
&.dark {
|
|
3
|
+
.ant-popover-inner-content, .ant-popover-arrow-content, .ant-popover-arrow-content::before {
|
|
4
|
+
background: rgb(51 95 135);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
.vm-modal-header-container {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 116px;
|
|
4
|
-
border-radius: 8px 8px 0 0;
|
|
5
|
-
background: var(--modal-head-bg);
|
|
6
|
-
padding: 0 16px;
|
|
7
|
-
margin-top: 1px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.vm-modal-header-wrap {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 56px;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
position: relative;
|
|
17
|
-
&::after {
|
|
18
|
-
position: absolute;
|
|
19
|
-
top: 54px;
|
|
20
|
-
left: 0;
|
|
21
|
-
content: '';
|
|
22
|
-
width: 180px;
|
|
23
|
-
height: 1px;
|
|
24
|
-
background: var(--modal-head-line-bg);
|
|
25
|
-
box-shadow: var(--modal-head-line-shadow);
|
|
26
|
-
border-radius: 8px;
|
|
27
|
-
animation: move 6s linear infinite;
|
|
28
|
-
|
|
29
|
-
@keyframes move {
|
|
30
|
-
0% {
|
|
31
|
-
left: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
100% {
|
|
35
|
-
left: calc(100% - 180px);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-left {
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
gap: 8px;
|
|
44
|
-
|
|
45
|
-
&-title {
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
font-size: 20px;
|
|
48
|
-
color: var(--modal-title-color);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-tag {
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: center;
|
|
55
|
-
gap: 4px;
|
|
56
|
-
height: 24px;
|
|
57
|
-
border-radius: 16px;
|
|
58
|
-
font-size: 12px;
|
|
59
|
-
padding: 0 8px;
|
|
60
|
-
border: 1px solid;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-right {
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
gap: 16px;
|
|
68
|
-
|
|
69
|
-
&-close {
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
color: var(--modal-close-color);
|
|
74
|
-
width: 28px;
|
|
75
|
-
height: 28px;
|
|
76
|
-
cursor: pointer;
|
|
77
|
-
font-size: 16px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&-line {
|
|
81
|
-
width: 1px;
|
|
82
|
-
height: 14px;
|
|
83
|
-
background-color: var(--modal-head-split-line-color);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-collect {
|
|
87
|
-
width: 28px;
|
|
88
|
-
height: 28px;
|
|
89
|
-
border-radius: 8px;
|
|
90
|
-
text-align: center;
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
|
|
93
|
-
&.active {
|
|
94
|
-
background: var(--collect-bg);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
1
|
+
.vm-modal-header-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 116px;
|
|
4
|
+
border-radius: 8px 8px 0 0;
|
|
5
|
+
background: var(--modal-head-bg);
|
|
6
|
+
padding: 0 16px;
|
|
7
|
+
margin-top: 1px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.vm-modal-header-wrap {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 56px;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
position: relative;
|
|
17
|
+
&::after {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 54px;
|
|
20
|
+
left: 0;
|
|
21
|
+
content: '';
|
|
22
|
+
width: 180px;
|
|
23
|
+
height: 1px;
|
|
24
|
+
background: var(--modal-head-line-bg);
|
|
25
|
+
box-shadow: var(--modal-head-line-shadow);
|
|
26
|
+
border-radius: 8px;
|
|
27
|
+
animation: move 6s linear infinite;
|
|
28
|
+
|
|
29
|
+
@keyframes move {
|
|
30
|
+
0% {
|
|
31
|
+
left: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
100% {
|
|
35
|
+
left: calc(100% - 180px);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-left {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: 8px;
|
|
44
|
+
|
|
45
|
+
&-title {
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
font-size: 20px;
|
|
48
|
+
color: var(--modal-title-color);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-tag {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
gap: 4px;
|
|
56
|
+
height: 24px;
|
|
57
|
+
border-radius: 16px;
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
padding: 0 8px;
|
|
60
|
+
border: 1px solid;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&-right {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
gap: 16px;
|
|
68
|
+
|
|
69
|
+
&-close {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
color: var(--modal-close-color);
|
|
74
|
+
width: 28px;
|
|
75
|
+
height: 28px;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
font-size: 16px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-line {
|
|
81
|
+
width: 1px;
|
|
82
|
+
height: 14px;
|
|
83
|
+
background-color: var(--modal-head-split-line-color);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&-collect {
|
|
87
|
+
width: 28px;
|
|
88
|
+
height: 28px;
|
|
89
|
+
border-radius: 8px;
|
|
90
|
+
text-align: center;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
|
|
93
|
+
&.active {
|
|
94
|
+
background: var(--collect-bg);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
.vm-modal-tabs {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 60px;
|
|
4
|
-
background: var(--vm-tabs-bg);
|
|
5
|
-
border-radius: 8px 8px 0 0;
|
|
6
|
-
border: none;
|
|
7
|
-
// border: 2px solid var(--vm-tab-border-color);
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
gap: 16px;
|
|
11
|
-
align-items: center;
|
|
12
|
-
|
|
13
|
-
&-item {
|
|
14
|
-
display: flex;
|
|
15
|
-
height: 36px;
|
|
16
|
-
padding: 0 14px;
|
|
17
|
-
font-size: 16px;
|
|
18
|
-
gap: 8px;
|
|
19
|
-
color: var(--vm-tabs-font-color);
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
|
|
24
|
-
&-active {
|
|
25
|
-
background: var(--vm-tab-item-active-bg-color);
|
|
26
|
-
border-radius: 26px;
|
|
27
|
-
color: var(--vm-tab-item-active-color);
|
|
28
|
-
box-shadow: var(--vm-tab-item-active-box-shadow);
|
|
29
|
-
&.vm-modal-tabs-item-dark {
|
|
30
|
-
position: relative;
|
|
31
|
-
&::before {
|
|
32
|
-
content: '';
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
left: 0;
|
|
36
|
-
right: 0;
|
|
37
|
-
bottom: 0;
|
|
38
|
-
background: linear-gradient(
|
|
39
|
-
180deg,
|
|
40
|
-
rgba(255, 255, 255, 1),
|
|
41
|
-
rgba(54, 161, 255, 1)
|
|
42
|
-
);
|
|
43
|
-
border-radius: 26px;
|
|
44
|
-
padding: 1px;
|
|
45
|
-
-webkit-mask: linear-gradient(#fff 0 0) content-box,
|
|
46
|
-
linear-gradient(#fff 0 0);
|
|
47
|
-
-webkit-mask-composite: xor;
|
|
48
|
-
mask-composite: exclude;
|
|
49
|
-
z-index: -1;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
.vm-modal-tabs {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 60px;
|
|
4
|
+
background: var(--vm-tabs-bg);
|
|
5
|
+
border-radius: 8px 8px 0 0;
|
|
6
|
+
border: none;
|
|
7
|
+
// border: 2px solid var(--vm-tab-border-color);
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
gap: 16px;
|
|
11
|
+
align-items: center;
|
|
12
|
+
|
|
13
|
+
&-item {
|
|
14
|
+
display: flex;
|
|
15
|
+
height: 36px;
|
|
16
|
+
padding: 0 14px;
|
|
17
|
+
font-size: 16px;
|
|
18
|
+
gap: 8px;
|
|
19
|
+
color: var(--vm-tabs-font-color);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
|
|
24
|
+
&-active {
|
|
25
|
+
background: var(--vm-tab-item-active-bg-color);
|
|
26
|
+
border-radius: 26px;
|
|
27
|
+
color: var(--vm-tab-item-active-color);
|
|
28
|
+
box-shadow: var(--vm-tab-item-active-box-shadow);
|
|
29
|
+
&.vm-modal-tabs-item-dark {
|
|
30
|
+
position: relative;
|
|
31
|
+
&::before {
|
|
32
|
+
content: '';
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
bottom: 0;
|
|
38
|
+
background: linear-gradient(
|
|
39
|
+
180deg,
|
|
40
|
+
rgba(255, 255, 255, 1),
|
|
41
|
+
rgba(54, 161, 255, 1)
|
|
42
|
+
);
|
|
43
|
+
border-radius: 26px;
|
|
44
|
+
padding: 1px;
|
|
45
|
+
-webkit-mask: linear-gradient(#fff 0 0) content-box,
|
|
46
|
+
linear-gradient(#fff 0 0);
|
|
47
|
+
-webkit-mask-composite: xor;
|
|
48
|
+
mask-composite: exclude;
|
|
49
|
+
z-index: -1;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.vm-car-map-wrap {
|
|
2
|
-
flex: 1;
|
|
3
|
-
min-height: 0;
|
|
4
|
-
width: 100%;
|
|
5
|
-
margin-top: 10px;
|
|
6
|
-
}
|
|
1
|
+
.vm-car-map-wrap {
|
|
2
|
+
flex: 1;
|
|
3
|
+
min-height: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.vtx-car-oil-wrap {
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
gap: 16px;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
}
|
|
1
|
+
.vtx-car-oil-wrap {
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.vtx-car-water-wrap {
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
gap: 16px;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
}
|
|
1
|
+
.vtx-car-water-wrap {
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.vm-cc-unit-map-wrap {
|
|
2
|
-
flex: 1;
|
|
3
|
-
min-height: 230px;
|
|
4
|
-
width: 100%;
|
|
5
|
-
margin-top: 10px;
|
|
6
|
-
}
|
|
1
|
+
.vm-cc-unit-map-wrap {
|
|
2
|
+
flex: 1;
|
|
3
|
+
min-height: 230px;
|
|
4
|
+
width: 100%;
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
}
|
|
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { VtxImage } from '@vtx/components';
|
|
8
8
|
import { getVtxToken } from '@vtx/utils';
|
|
9
|
-
import { Carousel
|
|
9
|
+
import { Carousel } from 'antd';
|
|
10
10
|
import { VmEmpty, VmInfoCollection, VmMap, VmWrapper } from "../../../_components";
|
|
11
11
|
import useSettings from "../../../_hooks/useSettings";
|
|
12
12
|
import { CommonService } from "../../../_service";
|
|
@@ -50,63 +50,60 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
50
50
|
};
|
|
51
51
|
})) || [];
|
|
52
52
|
}
|
|
53
|
-
return /*#__PURE__*/
|
|
53
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
54
54
|
className: "default-baseContent",
|
|
55
|
-
children: /*#__PURE__*/
|
|
56
|
-
|
|
57
|
-
children:
|
|
58
|
-
|
|
59
|
-
children: /*#__PURE__*/
|
|
60
|
-
|
|
61
|
-
children:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
}, item.id);
|
|
80
|
-
})
|
|
55
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
56
|
+
className: "default-baseContent-left",
|
|
57
|
+
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
58
|
+
title: "\u57FA\u672C\u4FE1\u606F",
|
|
59
|
+
children: [photos && /*#__PURE__*/_jsx("div", {
|
|
60
|
+
className: "default-base-img",
|
|
61
|
+
children: photos.length ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
|
|
62
|
+
children: /*#__PURE__*/_jsx(Carousel, {
|
|
63
|
+
style: {
|
|
64
|
+
width: '100%',
|
|
65
|
+
height: '100%',
|
|
66
|
+
overflow: 'hidden'
|
|
67
|
+
},
|
|
68
|
+
children: photos.map(function (item) {
|
|
69
|
+
return /*#__PURE__*/_jsx(VtxImage, {
|
|
70
|
+
src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token')),
|
|
71
|
+
alt: item.name,
|
|
72
|
+
style: {
|
|
73
|
+
width: '100%',
|
|
74
|
+
height: '100%',
|
|
75
|
+
overflow: 'hidden'
|
|
76
|
+
}
|
|
77
|
+
}, item.id);
|
|
81
78
|
})
|
|
82
|
-
}) : /*#__PURE__*/_jsx(VmEmpty, {
|
|
83
|
-
type: "NO_PICTURE",
|
|
84
|
-
showText: false
|
|
85
79
|
})
|
|
86
|
-
})
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
80
|
+
}) : /*#__PURE__*/_jsx(VmEmpty, {
|
|
81
|
+
type: "NO_PICTURE",
|
|
82
|
+
showText: false
|
|
83
|
+
})
|
|
84
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
85
|
+
className: "default-base-text",
|
|
86
|
+
children: /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
87
|
+
data: (data === null || data === void 0 ? void 0 : data.length) > 0 ? data : getFieldRender(fields, info),
|
|
88
|
+
horizontal: true,
|
|
89
|
+
width: "50%",
|
|
90
|
+
ellipsis: true
|
|
91
|
+
})
|
|
92
|
+
})]
|
|
93
|
+
})
|
|
94
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
95
|
+
className: "default-baseContent-right",
|
|
96
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
97
|
+
className: "default-base-map",
|
|
98
|
+
children: /*#__PURE__*/_jsx(VmMap, _objectSpread({
|
|
99
|
+
mapCenter: mapCenter,
|
|
100
|
+
mapType: (mapInfo === null || mapInfo === void 0 ? void 0 : mapInfo.mapType) || 'bmap',
|
|
101
|
+
geometryType: geometryType,
|
|
102
|
+
mapPoints: _mapPoints,
|
|
103
|
+
mapPolygons: lineLayer !== null && lineLayer !== void 0 && lineLayer.rings ? [lineLayer] : []
|
|
104
|
+
}, customMapInfo))
|
|
105
|
+
})
|
|
106
|
+
})]
|
|
110
107
|
});
|
|
111
108
|
};
|
|
112
109
|
export default BaseInfo;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
.default-baseContent {
|
|
2
2
|
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: start;
|
|
5
|
+
gap: 16px;
|
|
6
|
+
|
|
7
|
+
&-left {
|
|
8
|
+
width: 430px;
|
|
9
|
+
}
|
|
10
|
+
&-right {
|
|
11
|
+
flex: 1;
|
|
12
|
+
}
|
|
3
13
|
|
|
4
14
|
.ant-row {
|
|
5
15
|
height: 100%;
|
|
@@ -9,7 +19,6 @@
|
|
|
9
19
|
&-img {
|
|
10
20
|
margin-bottom: 16px;
|
|
11
21
|
img {
|
|
12
|
-
width: 100%;
|
|
13
22
|
height: 207px;
|
|
14
23
|
}
|
|
15
24
|
}
|
|
@@ -20,7 +29,7 @@
|
|
|
20
29
|
}
|
|
21
30
|
.default-base-map {
|
|
22
31
|
width: 100%;
|
|
23
|
-
height:
|
|
32
|
+
height: 659px;
|
|
24
33
|
border-radius: 8px;
|
|
25
34
|
}
|
|
26
35
|
}
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
.vtx-device-analysis-dot {
|
|
2
|
-
width: 6px;
|
|
3
|
-
height: 6px;
|
|
4
|
-
background: var(--green-color);
|
|
5
|
-
border-radius: 50%;
|
|
6
|
-
&.error {
|
|
7
|
-
background: var(--red-color);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.vtx-device-analysis-tabs {
|
|
12
|
-
display: flex;
|
|
13
|
-
gap: 16px;
|
|
14
|
-
color: var(--modal-title-color);
|
|
15
|
-
font-size: 14px;
|
|
16
|
-
&-item {
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
&.active {
|
|
19
|
-
color: var(--blue-color);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.vtx-device-alarm-summary {
|
|
25
|
-
width: 368px;
|
|
26
|
-
height: 104px;
|
|
27
|
-
padding: 20px;
|
|
28
|
-
margin-bottom: 20px;
|
|
29
|
-
color: var(--modal-title-color);
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
background-image: url("../../imgs/current.png");
|
|
35
|
-
background-size: 100% 100%;
|
|
36
|
-
border-radius: 8px;
|
|
37
|
-
border: 1px solid transparent;
|
|
38
|
-
&-lable {
|
|
39
|
-
font-size: 16px;
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
}
|
|
42
|
-
&-value {
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
font-size: 24px;
|
|
45
|
-
color: var(--red-color);
|
|
46
|
-
}
|
|
47
|
-
&.dark {
|
|
48
|
-
background-image: url("../../imgs/current_dark.png");
|
|
49
|
-
&:last-child {
|
|
50
|
-
background-image: url("../../imgs/history_dark.png");
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
&.active {
|
|
54
|
-
border:1px solid var(--red-color);
|
|
55
|
-
}
|
|
56
|
-
&:last-child {
|
|
57
|
-
margin-bottom: 0;
|
|
58
|
-
background-image: url("../../imgs/history.png");
|
|
59
|
-
.vtx-device-alarm-summary-value {
|
|
60
|
-
color: var(--yellow-color);
|
|
61
|
-
}
|
|
62
|
-
&.active {
|
|
63
|
-
border:1px solid var(--yellow-color);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
.vtx-device-analysis-dot {
|
|
2
|
+
width: 6px;
|
|
3
|
+
height: 6px;
|
|
4
|
+
background: var(--green-color);
|
|
5
|
+
border-radius: 50%;
|
|
6
|
+
&.error {
|
|
7
|
+
background: var(--red-color);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.vtx-device-analysis-tabs {
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: 16px;
|
|
14
|
+
color: var(--modal-title-color);
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
&-item {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
&.active {
|
|
19
|
+
color: var(--blue-color);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.vtx-device-alarm-summary {
|
|
25
|
+
width: 368px;
|
|
26
|
+
height: 104px;
|
|
27
|
+
padding: 20px;
|
|
28
|
+
margin-bottom: 20px;
|
|
29
|
+
color: var(--modal-title-color);
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
background-image: url("../../imgs/current.png");
|
|
35
|
+
background-size: 100% 100%;
|
|
36
|
+
border-radius: 8px;
|
|
37
|
+
border: 1px solid transparent;
|
|
38
|
+
&-lable {
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
}
|
|
42
|
+
&-value {
|
|
43
|
+
font-weight: 600;
|
|
44
|
+
font-size: 24px;
|
|
45
|
+
color: var(--red-color);
|
|
46
|
+
}
|
|
47
|
+
&.dark {
|
|
48
|
+
background-image: url("../../imgs/current_dark.png");
|
|
49
|
+
&:last-child {
|
|
50
|
+
background-image: url("../../imgs/history_dark.png");
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
&.active {
|
|
54
|
+
border:1px solid var(--red-color);
|
|
55
|
+
}
|
|
56
|
+
&:last-child {
|
|
57
|
+
margin-bottom: 0;
|
|
58
|
+
background-image: url("../../imgs/history.png");
|
|
59
|
+
.vtx-device-alarm-summary-value {
|
|
60
|
+
color: var(--yellow-color);
|
|
61
|
+
}
|
|
62
|
+
&.active {
|
|
63
|
+
border:1px solid var(--yellow-color);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
package/lib/vtx-df-modal/api.js
CHANGED
|
@@ -22,40 +22,37 @@ export default function Jcqsfx(props) {
|
|
|
22
22
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
23
23
|
title: "\u8FDB\u573A\u8D8B\u52BF\u5206\u6790",
|
|
24
24
|
needChange: false,
|
|
25
|
-
children: /*#__PURE__*/_jsx(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
data: [{
|
|
38
|
-
yAxis: trendRes !== null && trendRes !== void 0 && trendRes.values && trendRes.values[1] ? trendRes.values[1][0] : 0,
|
|
39
|
-
lineStyle: {
|
|
40
|
-
normal: {
|
|
41
|
-
color: '#FFE25D'
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
name: '设计能力(吨/日)'
|
|
45
|
-
}],
|
|
25
|
+
children: /*#__PURE__*/_jsx(VmLineCharts, {
|
|
26
|
+
unit: "\u5428",
|
|
27
|
+
height: 240,
|
|
28
|
+
showLegend: false,
|
|
29
|
+
xAxis: (trendRes === null || trendRes === void 0 ? void 0 : trendRes.names) || [],
|
|
30
|
+
yMax: maxNum,
|
|
31
|
+
dataList: [{
|
|
32
|
+
data: ((_trendRes$values2 = trendRes.values) === null || _trendRes$values2 === void 0 ? void 0 : _trendRes$values2[0]) || [],
|
|
33
|
+
name: '进场量',
|
|
34
|
+
markLine: {
|
|
35
|
+
data: [{
|
|
36
|
+
yAxis: trendRes !== null && trendRes !== void 0 && trendRes.values && trendRes.values[1] ? trendRes.values[1][0] : 0,
|
|
46
37
|
lineStyle: {
|
|
47
|
-
|
|
38
|
+
normal: {
|
|
39
|
+
color: '#FFE25D'
|
|
40
|
+
}
|
|
48
41
|
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
42
|
+
name: '设计能力(吨/日)'
|
|
43
|
+
}],
|
|
44
|
+
lineStyle: {
|
|
45
|
+
color: '#52C41A'
|
|
46
|
+
},
|
|
47
|
+
label: {
|
|
48
|
+
show: true,
|
|
49
|
+
position: 'insideEndTop',
|
|
50
|
+
formatter: '{b}: {c}',
|
|
51
|
+
color: isDark ? '#fff' : chartFontColor,
|
|
52
|
+
fontWeight: 'normal'
|
|
56
53
|
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
54
|
+
}
|
|
55
|
+
}]
|
|
59
56
|
})
|
|
60
57
|
})
|
|
61
58
|
});
|
|
@@ -19,7 +19,7 @@ function Qyjcl(props) {
|
|
|
19
19
|
className: "df-qyjcl",
|
|
20
20
|
children: areaSumData !== null && areaSumData !== void 0 && (_areaSumData$areaDeta = areaSumData.areaDetailList) !== null && _areaSumData$areaDeta !== void 0 && _areaSumData$areaDeta.length ? /*#__PURE__*/_jsx(VmPieCharts, {
|
|
21
21
|
height: 216,
|
|
22
|
-
total: total,
|
|
22
|
+
total: total === null || total === void 0 ? void 0 : total.toFixed(2),
|
|
23
23
|
title: "\u5428",
|
|
24
24
|
unit: "\u5428",
|
|
25
25
|
name: "\u533A\u57DF\u8FDB\u573A\u91CF",
|
|
@@ -28,6 +28,7 @@ var ChartJccc = function ChartJccc(_ref) {
|
|
|
28
28
|
needChange: false,
|
|
29
29
|
children: [/*#__PURE__*/_jsxs("div", {
|
|
30
30
|
className: "metering-content-charts-desc",
|
|
31
|
+
title: "\u8FDB\u573A\u9AD8\u5CF0\u96C6\u4E2D\u5728".concat((dates === null || dates === void 0 ? void 0 : dates.join('点、')) || 0, "\u70B9\uFF0C\u8FDB\u573A\u8F66\u6B21\u5206\u522B\u4E3A").concat((count === null || count === void 0 ? void 0 : count.join('次、')) || '-', "\u6B21\uFF0C\n \u6CE8\u610F\u5408\u7406\u8C03\u5EA6\uFF0C \u7F13\u89E3\u5382\u533A\u6392\u961F\u60C5\u51B5\u3002"),
|
|
31
32
|
children: ["\u8FDB\u573A\u9AD8\u5CF0\u96C6\u4E2D\u5728", (dates === null || dates === void 0 ? void 0 : dates.join('点、')) || 0, "\u70B9\uFF0C\u8FDB\u573A\u8F66\u6B21\u5206\u522B\u4E3A", (count === null || count === void 0 ? void 0 : count.join('次、')) || '-', "\u6B21\uFF0C\u6CE8\u610F\u5408\u7406\u8C03\u5EA6\uFF0C \u7F13\u89E3\u5382\u533A\u6392\u961F\u60C5\u51B5\u3002"]
|
|
32
33
|
}), /*#__PURE__*/_jsx("div", {
|
|
33
34
|
style: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.vtx-restaurant-rule_item {
|
|
2
|
-
border-radius: 8px 8px 8px 8px;
|
|
3
|
-
border: 1px solid var(--gray-line-color);
|
|
4
|
-
padding: 16px 16px 8px;
|
|
5
|
-
margin-top: 12px;
|
|
6
|
-
position: relative;
|
|
7
|
-
.vtx-restaurant-border {
|
|
8
|
-
width: 100%;
|
|
9
|
-
position: absolute;
|
|
10
|
-
left: 0;
|
|
11
|
-
top: -2px;
|
|
12
|
-
height: 44px;
|
|
13
|
-
border-radius: 8px 8px 0px 0px;
|
|
14
|
-
border-top: 2px solid var(--blue-color);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
.vtx-restaurant-rule_item {
|
|
2
|
+
border-radius: 8px 8px 8px 8px;
|
|
3
|
+
border: 1px solid var(--gray-line-color);
|
|
4
|
+
padding: 16px 16px 8px;
|
|
5
|
+
margin-top: 12px;
|
|
6
|
+
position: relative;
|
|
7
|
+
.vtx-restaurant-border {
|
|
8
|
+
width: 100%;
|
|
9
|
+
position: absolute;
|
|
10
|
+
left: 0;
|
|
11
|
+
top: -2px;
|
|
12
|
+
height: 44px;
|
|
13
|
+
border-radius: 8px 8px 0px 0px;
|
|
14
|
+
border-top: 2px solid var(--blue-color);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -60,108 +60,108 @@ export var QD_DETAIL_FIELDS = [{
|
|
|
60
60
|
label: '二维码'
|
|
61
61
|
}];
|
|
62
62
|
export var RestaurantConfigureEnum = {
|
|
63
|
-
/**
|
|
64
|
-
* 编号
|
|
63
|
+
/**
|
|
64
|
+
* 编号
|
|
65
65
|
*/
|
|
66
66
|
CODE: 'code',
|
|
67
|
-
/**
|
|
68
|
-
* 产生单位名称
|
|
67
|
+
/**
|
|
68
|
+
* 产生单位名称
|
|
69
69
|
*/
|
|
70
70
|
NAME: 'name',
|
|
71
|
-
/**
|
|
72
|
-
* 店铺名称
|
|
71
|
+
/**
|
|
72
|
+
* 店铺名称
|
|
73
73
|
*/
|
|
74
74
|
SHORT_NAME: 'shortName',
|
|
75
|
-
/**
|
|
76
|
-
* 行政区划名称
|
|
75
|
+
/**
|
|
76
|
+
* 行政区划名称
|
|
77
77
|
*/
|
|
78
78
|
DIVISION_NAME: 'divisionId',
|
|
79
|
-
/**
|
|
80
|
-
* 联系人
|
|
79
|
+
/**
|
|
80
|
+
* 联系人
|
|
81
81
|
*/
|
|
82
82
|
CONTACT_PERSON: 'contactPerson',
|
|
83
|
-
/**
|
|
84
|
-
* 联系方式
|
|
83
|
+
/**
|
|
84
|
+
* 联系方式
|
|
85
85
|
*/
|
|
86
86
|
CONTACT_PHONE: 'contactPhone',
|
|
87
|
-
/**
|
|
88
|
-
* 身份证号
|
|
87
|
+
/**
|
|
88
|
+
* 身份证号
|
|
89
89
|
*/
|
|
90
90
|
CARD_ID: 'cardId',
|
|
91
|
-
/**
|
|
92
|
-
* 商户地址
|
|
91
|
+
/**
|
|
92
|
+
* 商户地址
|
|
93
93
|
*/
|
|
94
94
|
ADDRESS: 'address',
|
|
95
|
-
/**
|
|
96
|
-
* 经纬度
|
|
95
|
+
/**
|
|
96
|
+
* 经纬度
|
|
97
97
|
*/
|
|
98
98
|
LOCATION: 'location',
|
|
99
|
-
/**
|
|
100
|
-
* 产生单位状态
|
|
99
|
+
/**
|
|
100
|
+
* 产生单位状态
|
|
101
101
|
*/
|
|
102
102
|
SIGNED_STATUS: 'signedStatus',
|
|
103
|
-
/**
|
|
104
|
-
* 签约状态
|
|
103
|
+
/**
|
|
104
|
+
* 签约状态
|
|
105
105
|
*/
|
|
106
106
|
IS_SIGN: 'isSign',
|
|
107
|
-
/**
|
|
108
|
-
* 收集类型
|
|
107
|
+
/**
|
|
108
|
+
* 收集类型
|
|
109
109
|
*/
|
|
110
110
|
COLLECT_STATUS: 'collectStatus',
|
|
111
|
-
/**
|
|
112
|
-
* 收集点
|
|
111
|
+
/**
|
|
112
|
+
* 收集点
|
|
113
113
|
*/
|
|
114
114
|
SY_POINT_NAME: 'syPointId',
|
|
115
|
-
/**
|
|
116
|
-
* 商户类型名称
|
|
115
|
+
/**
|
|
116
|
+
* 商户类型名称
|
|
117
117
|
*/
|
|
118
118
|
CLASSES_NAME: 'classesId',
|
|
119
|
-
/**
|
|
120
|
-
* 规模名称
|
|
119
|
+
/**
|
|
120
|
+
* 规模名称
|
|
121
121
|
*/
|
|
122
122
|
SCALE_NAME: 'scaleId',
|
|
123
|
-
/**
|
|
124
|
-
* 垃圾桶个数
|
|
123
|
+
/**
|
|
124
|
+
* 垃圾桶个数
|
|
125
125
|
*/
|
|
126
126
|
TRASH_CAN_NUM: 'trashCanNum',
|
|
127
|
-
/**
|
|
128
|
-
* 统一社会信用代码
|
|
127
|
+
/**
|
|
128
|
+
* 统一社会信用代码
|
|
129
129
|
*/
|
|
130
130
|
CREDIT_CODE: 'creditCode',
|
|
131
|
-
/**
|
|
132
|
-
* 行业名称
|
|
131
|
+
/**
|
|
132
|
+
* 行业名称
|
|
133
133
|
*/
|
|
134
134
|
INDUSTRY_NAME: 'industryId',
|
|
135
|
-
/**
|
|
136
|
-
* 经营范围
|
|
135
|
+
/**
|
|
136
|
+
* 经营范围
|
|
137
137
|
*/
|
|
138
138
|
BUSINESS_SCOPE: 'businessScope',
|
|
139
|
-
/**
|
|
140
|
-
* 注册资金
|
|
139
|
+
/**
|
|
140
|
+
* 注册资金
|
|
141
141
|
*/
|
|
142
142
|
REGISTER_MONEY: 'registerMoney',
|
|
143
|
-
/**
|
|
144
|
-
* 企业成立时间
|
|
143
|
+
/**
|
|
144
|
+
* 企业成立时间
|
|
145
145
|
*/
|
|
146
146
|
ESTABLISHED_TIME: 'establishedTime',
|
|
147
|
-
/**
|
|
148
|
-
* 建议收集时间
|
|
147
|
+
/**
|
|
148
|
+
* 建议收集时间
|
|
149
149
|
*/
|
|
150
150
|
SUGGEST_COLLECT_TIME: 'suggestCollectTime',
|
|
151
|
-
/**
|
|
152
|
-
* 营业时间段
|
|
151
|
+
/**
|
|
152
|
+
* 营业时间段
|
|
153
153
|
*/
|
|
154
154
|
BUSINESS_TIME: 'businessTime',
|
|
155
|
-
/**
|
|
156
|
-
* 垃圾桶摆放位置图片
|
|
155
|
+
/**
|
|
156
|
+
* 垃圾桶摆放位置图片
|
|
157
157
|
*/
|
|
158
158
|
TRASH_BIN_LOCATION_PHOTO: 'trashBinLocationPhoto',
|
|
159
|
-
/**
|
|
160
|
-
* 商户图片
|
|
159
|
+
/**
|
|
160
|
+
* 商户图片
|
|
161
161
|
*/
|
|
162
162
|
PHOTO_IDS: 'photoIds',
|
|
163
|
-
/**
|
|
164
|
-
* 证件图片
|
|
163
|
+
/**
|
|
164
|
+
* 证件图片
|
|
165
165
|
*/
|
|
166
166
|
PAPER_FILE_IDS: 'paperFileIds'
|
|
167
167
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
.road-statistic-summary-main-rate {
|
|
2
|
-
--bg-color: linear-gradient(180deg, #E4EFFF 0%, #F5FBFF 100%);
|
|
3
|
-
&-dark {
|
|
4
|
-
--bg-color: linear-gradient(180deg, #1C7CBF 0%, #0B588E 100%);
|
|
5
|
-
}
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 130px;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: space-around;
|
|
11
|
-
padding: 0 24px;
|
|
12
|
-
background: var(--bg-color);
|
|
13
|
-
border-radius: 8px;
|
|
14
|
-
&--block {
|
|
15
|
-
width: 8px;
|
|
16
|
-
height: 8px;
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
}
|
|
19
|
-
&--label {
|
|
20
|
-
display: flex;
|
|
21
|
-
gap: 4px;
|
|
22
|
-
align-items: center;
|
|
23
|
-
font-size: 16px;
|
|
24
|
-
color: var(--img-text-color);
|
|
25
|
-
}
|
|
26
|
-
&--value {
|
|
27
|
-
margin-left: 12px;
|
|
28
|
-
font-weight: bold;
|
|
29
|
-
font-size: 24px;
|
|
30
|
-
color: #1F1F1F;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
.road-statistic-summary-main-rate {
|
|
2
|
+
--bg-color: linear-gradient(180deg, #E4EFFF 0%, #F5FBFF 100%);
|
|
3
|
+
&-dark {
|
|
4
|
+
--bg-color: linear-gradient(180deg, #1C7CBF 0%, #0B588E 100%);
|
|
5
|
+
}
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 130px;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-around;
|
|
11
|
+
padding: 0 24px;
|
|
12
|
+
background: var(--bg-color);
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
&--block {
|
|
15
|
+
width: 8px;
|
|
16
|
+
height: 8px;
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
}
|
|
19
|
+
&--label {
|
|
20
|
+
display: flex;
|
|
21
|
+
gap: 4px;
|
|
22
|
+
align-items: center;
|
|
23
|
+
font-size: 16px;
|
|
24
|
+
color: var(--img-text-color);
|
|
25
|
+
}
|
|
26
|
+
&--value {
|
|
27
|
+
margin-left: 12px;
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
font-size: 24px;
|
|
30
|
+
color: #1F1F1F;
|
|
31
|
+
}
|
|
32
|
+
}
|