@vtx/modals2 6.0.0-beta.12 → 6.0.0-beta.13
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-video/index.less +18 -18
- package/lib/_util/iconSvgHtml.js +15 -5
- 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-device-modal/components/DataAnalysis/index.less +66 -66
- package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
- package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +3 -0
- package/lib/vtx-restaurant-modal/config.js +11 -3
- package/package.json +92 -92
|
@@ -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
|
+
}
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
padding-top: 12px;
|
|
60
60
|
overflow-y: auto;
|
|
61
61
|
|
|
62
|
-
.channels--item {
|
|
63
|
-
svg {
|
|
64
|
-
display: block;
|
|
65
|
-
margin-right: 2px;
|
|
66
|
-
}
|
|
67
|
-
.ant-checkbox {
|
|
68
|
-
top: 0;
|
|
62
|
+
.channels--item {
|
|
63
|
+
svg {
|
|
64
|
+
display: block;
|
|
65
|
+
margin-right: 2px;
|
|
66
|
+
}
|
|
67
|
+
.ant-checkbox {
|
|
68
|
+
top: 0;
|
|
69
69
|
}
|
|
70
70
|
.ant-checkbox-checked .ant-checkbox-inner {
|
|
71
71
|
background-color: var(--check-bg);
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
width: 15px;
|
|
79
79
|
height: 15px;
|
|
80
80
|
}
|
|
81
|
-
.ant-checkbox-wrapper {
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
font-size: 15px;
|
|
85
|
-
// color: var(--modal-title-color);
|
|
86
|
-
}
|
|
87
|
-
.ant-checkbox + span {
|
|
88
|
-
display: inline-flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
padding: 0 4px;
|
|
91
|
-
}
|
|
81
|
+
.ant-checkbox-wrapper {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
font-size: 15px;
|
|
85
|
+
// color: var(--modal-title-color);
|
|
86
|
+
}
|
|
87
|
+
.ant-checkbox + span {
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
padding: 0 4px;
|
|
91
|
+
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
package/lib/_util/iconSvgHtml.js
CHANGED
|
@@ -810,7 +810,9 @@ export function ContractIcon(props) {
|
|
|
810
810
|
children: /*#__PURE__*/_jsx("path", {
|
|
811
811
|
d: "M4.82316875,12.941502C4.30343485,12.951171,3.87399985,12.538216,3.86333515,12.018501C3.86333515,11.507168,4.29233505,11.093334,4.82316875,11.093334L16.32600175,11.093334C16.85466975,11.093334,17.28366875,11.507168,17.28366875,12.0185C17.27300075,12.537355,16.84489675,12.949962,16.32600175,12.941501L4.82100295,12.941501L4.82316875,12.941502ZM4.82316875,8.3200006C4.30260515,8.3296623,3.87282085,7.915401,3.86333515,7.394834C3.86333515,6.8856673,4.29233505,6.4718337,4.82316875,6.4718337L18.24133675,6.4718337C18.77216875,6.4718337,19.20116975,6.8835006,19.20116975,7.394834C19.19168275,7.9154,18.76189975,8.3296623,18.24133675,8.3200006L4.82316875,8.3200006ZM13.73033475,17.833834C13.97585775,17.59341,14.32923875,17.498903,14.66200175,17.584667C14.99783475,17.669167,15.26000175,17.920502,15.34666775,18.245501C15.43323675,18.569584,15.33313175,18.914951,15.08666775,19.142502L12.19200275,21.928835C11.76270275,22.338182,11.07093575,22.274923,10.72300275,21.7945L9.44033625,19.983168L7.41450215,21.917999C6.98227885,22.328838,6.28631685,22.26129,5.94116875,21.775L4.67366885,19.939833L2.62400225,21.915833C2.44210675,22.090031,2.19985845,22.187086,1.94800225,22.186666C1.11383545,22.186666,0.48983544,21.820499,0.20816877,21.140165C0.043502118,20.739332,0.021835437,20.442499,0.02833543811,19.645164L0.02833543811,2.7733335C0.0305018902,1.2415001,1.31966855,0,2.90783525,0L20.16100075,0C21.74916875,0,23.03616875,1.2415001,23.03616875,2.7733335L23.03616875,12.0185C23.02549975,12.537354,22.59739675,12.949961,22.07850275,12.941501C21.55960875,12.949961,21.13150375,12.537354,21.12083475,12.0185L21.12083475,2.7733335C21.11134875,2.2527671,20.68156475,1.8385054,20.16100075,1.8481669L2.90566845,1.8481669C2.38594485,1.8397157,1.95749245,2.2536278,1.94800185,2.7733335L1.94800185,19.955002L4.14500185,17.836002C4.57680945,17.422989,5.27462105,17.489595,5.62050195,17.976837L6.89016815,19.816338L8.90733525,17.888004C9.33641915,17.480339,10.02626995,17.543514,10.37416875,18.022337L11.65466875,19.831503L13.73033475,17.836004L13.73033475,17.833834ZM24.03066875,15.186168L25.40866675,16.471001C26.16931175,17.167906,26.19105375,18.359816,25.45633275,19.084L19.13616575,25.428001C18.68347375,25.87487,18.04213675,26.074379,17.41583475,25.963167L15.02383375,25.542833L14.50383375,23.252668C14.36925875,22.645517,14.55673775,22.011854,14.99999975,21.575668L21.31800075,15.231668C21.67673675,14.876896,22.15901375,14.674976,22.66350175,14.668334C23.16797475,14.657775,23.65702075,14.842526,24.02850175,15.184001L24.03066875,15.186168ZM17.75816875,24.143167L24.07616775,17.799168L22.69816775,16.514334L16.37800175,22.860502L16.62500175,23.943836L17.75816875,24.143167ZM0.98816973,24.034836L9.61583615,24.034836C10.14450275,24.034836,10.57350375,24.448668,10.57350375,24.960001C10.56401275,25.479708,10.13555975,25.89362,9.61583615,25.885168L0.98816848,25.885168C0.46844533,25.89362,0.039992822,25.479708,0.0305018146,24.960001C0.0305018146,24.448668,0.4595018,24.034836,0.98816973,24.034836Z",
|
|
812
812
|
fillOpacity: "1",
|
|
813
|
-
style:
|
|
813
|
+
style: {
|
|
814
|
+
'mixBlendMode': 'passthrough'
|
|
815
|
+
}
|
|
814
816
|
})
|
|
815
817
|
}));
|
|
816
818
|
}
|
|
@@ -855,7 +857,9 @@ export function PointIcon(props) {
|
|
|
855
857
|
}), /*#__PURE__*/_jsx("path", {
|
|
856
858
|
d: "M15.363120125,5.8500242687499995C14.742929425,5.20358991875,13.885618225,4.83851003647,12.989787125,4.8393573760986C12.146656525000001,4.83840680122,11.338169125,5.17471646875,10.744452955,5.77335762875C10.144453045,6.37335776875,9.814453125,7.17202426875,9.814453125,8.02002426875C9.814453125,8.33077666875,10.066367625,8.58269116875,10.377119545,8.58269116875C10.687871935,8.58269116875,10.939786425,8.33077666875,10.939786425,8.02002426875C10.941246525,6.88695286875,11.858054124999999,5.96805976875,12.991119825,5.96402426875L12.995786625000001,5.96402426875C13.582453725,5.96402426875,14.147786125,6.2046909687500005,14.545786825,6.62535766875C14.899120325,6.99669076875,15.079119725,7.46869086875,15.052453025,7.958024468750001C15.030452725,8.373357768750001,15.009786625,8.76535796875,13.807119325,9.968691368750001C13.083786025,10.692024668750001,12.429119125,11.412691568749999,12.341119325000001,12.29402496875C12.311284024999999,12.60308506875,12.536863825000001,12.87813186875,12.845786125,12.90935896875C12.864452825,12.91069216875,12.883786225,12.91269106875,12.902452925,12.91269106875C13.191775325,12.91234586875,13.433677625,12.69264456875,13.461786225,12.40469126875C13.507119225,11.944024568749999,13.931786525,11.43602416875,14.601786624999999,10.76535746875C15.999119725,9.36869096875,16.138453525,8.72202446875,16.175120325,8.02002386875C16.221119925,7.21735716875,15.931787525,6.44669056875,15.363120125,5.8500242687499995ZM12.214453725,14.48135756875C12.202481725,14.86245546875,12.508168225,15.17789446875,12.889453925,15.17789446875C13.270739525,15.17789446875,13.576426525,14.86245546875,13.564454125000001,14.48135756875C13.552996625,14.11682126875,13.254170425,13.82723806875,12.889453925,13.82723806875C12.524737325,13.82723806875,12.225911625,14.11681936875,12.214453725,14.48135756875Z",
|
|
857
859
|
fillOpacity: "1",
|
|
858
|
-
style:
|
|
860
|
+
style: {
|
|
861
|
+
'mixBlendMode': 'passthrough'
|
|
862
|
+
}
|
|
859
863
|
})]
|
|
860
864
|
}));
|
|
861
865
|
}
|
|
@@ -875,7 +879,9 @@ export function CollectionIcon(props) {
|
|
|
875
879
|
children: /*#__PURE__*/_jsx("path", {
|
|
876
880
|
d: "M8.5979662,7.4920964C8.5979662,7.0073862,8.2177906,6.6078672,7.7336779,6.5838313L5.7543974,6.5838313C4.1351061,6.5714412,2.5988955,7.2995858,1.5833125,8.5608745C0.55927664,9.8209248,0,11.5893574,0,13.648614L0,19.946068C0,20.449417,0.44015074,20.825811,0.93958473,20.825811L2.99213,20.825811C3.3836236,22.193243,4.6621299,23.2307,6.1738548,23.2307C7.6855798,23.2307,8.9618492,22.192684,9.3555794,20.825811L16.46175,20.825811C16.858276,22.193243,18.131748,23.2307,19.643475,23.2307C21.155201,23.2307,22.433704,22.192684,22.827995,20.825811L25.116556,20.825811C25.609859,20.838156,26.015345,20.43951,26.011396,19.946068L26.011396,5.6515172C26.006363,3.6610515,24.399561,2,22.408537,2L13.925989,2C11.937761,2,10.290691,3.6610515,10.290691,5.6515172L10.294922,6.5837402L5.7543974,6.5838313C5.5628862,6.5837965,5.5628972,8.400373,5.7543974,8.400362000000001L10.294922,8.4003906L10.295165,19.008722L9.353343,19.008722C8.9417601,17.591361,7.6475,16.613101,6.171618,16.603832C4.661571,16.603832,3.3836238,17.641289999999998,2.9893339,19.008722L1.8120563,19.008722L1.8120563,13.648614C1.8120563,10.4691267,3.378031,8.400362000000001,5.7543974,8.400362000000001C6.4020724,8.2848897,8.5979662,8.342354799999999,8.5979662,7.4920964ZM6.1716175,21.451082C5.3401318,21.45232,4.6651917,20.779051,4.6643672,19.947563C4.6635427,19.116077,5.3371463,18.441471,6.1686335,18.441057C7.0001211,18.440647,7.6743937,19.114584,7.6743937,19.94607C7.6743946,20.776392,7.0019398,21.449848,6.1716175,21.451082ZM19.639,21.451082C18.809416,21.447067,18.140017,20.771578,18.143515,19.941992C18.147013,19.112406,18.822086,18.442583,19.651674,18.44556C20.48126,18.44854,21.151505,19.123192,21.149046,19.95278C21.146584,20.78384,20.470053,21.455109,19.639,21.451082ZM24.193188,19.008722L22.823521,19.008722C22.411322,17.590593,21.115793,16.612235,19.639,16.603832C18.128952,16.603832,16.853243,17.641289999999998,16.457273,19.008722L12.109457,19.008722L12.109457,5.6515172C12.109457,4.6548862,12.933831,3.8142934,13.928224,3.8142934L22.410772,3.8142934C23.407404,3.8142934,24.193188,4.6532083,24.193188,5.6515172L24.193188,19.008722Z",
|
|
877
881
|
fillOpacity: "1",
|
|
878
|
-
style:
|
|
882
|
+
style: {
|
|
883
|
+
'mixBlendMode': 'passthrough'
|
|
884
|
+
}
|
|
879
885
|
})
|
|
880
886
|
}));
|
|
881
887
|
}
|
|
@@ -895,7 +901,9 @@ export function FactoryIcon(props) {
|
|
|
895
901
|
children: /*#__PURE__*/_jsx("path", {
|
|
896
902
|
d: "M8.6463909,0C9.3159323,0.0000090988951,9.8816862,0.49643576,9.9687262,1.1602947L12.95215,23.832714C13.056844,24.631304,12.43522,25.339764,11.629816,25.339766L1.3338681,25.339766C0.52845418,25.339756,-0.093172394,24.631294,0.011532409,23.832716L2.9949565,1.1602957C3.0820065,0.49642721,3.6477618,0,4.3172917,0L8.6463909,0ZM21.286932,12.003047C21.868433,12.002933,22.382977,12.379599,22.55859,12.933949L25.936781,23.603323C26.209028,24.462711,25.567934,25.339037,24.666456,25.339766L16.317673,25.339766C15.646761,25.339874,15.080209,24.841572,14.99467,24.176138L13.622321,13.506763C13.519822,12.709434,14.140766,12.003317,14.944657,12.003047L21.286932,12.003047ZM8.0609093,2.0005076L4.9021072,2.0005076L2.0940607,23.339258L10.868956,23.339258L8.0609093,2.0005076ZM20.798141,14.003554L15.702183,14.003554L16.902485,23.339258L23.754225,23.339258L20.798141,14.003554ZM17.449961,6.6683583L16.484381,10.669375L14.483873,10.669375L15.44945,6.6683598L17.449961,6.6683583ZM21.450975,6.6683583L20.485395,10.669375L18.484888,10.669375L19.450468,6.6683598L21.450975,6.6683583Z",
|
|
897
903
|
fillOpacity: "1",
|
|
898
|
-
style:
|
|
904
|
+
style: {
|
|
905
|
+
'mixBlendMode': 'passthrough'
|
|
906
|
+
}
|
|
899
907
|
})
|
|
900
908
|
}));
|
|
901
909
|
}
|
|
@@ -915,7 +923,9 @@ export function AssetIcon(props) {
|
|
|
915
923
|
children: /*#__PURE__*/_jsx("path", {
|
|
916
924
|
d: "M24.998001,1C25.550287,1,25.998003,1.44771549,25.998001,2L26.000002,11C26.000002,11.552285,25.552284,12.000002,25,12L1,12C0.44771549,12.000002,2.9343826e-7,11.552285,0,11L0,2C-0.000001173753,1.44849515,0.44649625,1.0011030345,0.99799997,1L24.998001,1ZM23.998001,3L1.998,3L2,10L24,10L24,3L23.998001,3ZM10.998,5.5L10.998,7.5000005L4.9980001,7.5000005L4.9980001,5.5L10.998,5.5ZM25,14.000001C25.552284,14.000001,26.000002,14.447716,26.000002,15.000001L26.000002,24C26.000002,24.552286,25.552284,25.000004,25,25L1,25C0.44771579,25.000004,2.9343826e-7,24.552286,0,24L0,15.000001C2.9343826e-7,14.447716,0.44771519,14.000001,1,14.000001L25,14.000001ZM24,16.000000999999997L2,16.000000999999997L2,23L24,23L24,16.000000999999997ZM11,18.5L11,20.5L4.9980001,20.5L4.9980001,18.5L10.998,18.5L11,18.5Z",
|
|
917
925
|
fillOpacity: "1",
|
|
918
|
-
style:
|
|
926
|
+
style: {
|
|
927
|
+
'mixBlendMode': 'passthrough'
|
|
928
|
+
}
|
|
919
929
|
})
|
|
920
930
|
}));
|
|
921
931
|
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -33,6 +33,7 @@ var DetailInfo = function DetailInfo() {
|
|
|
33
33
|
return item.dataKey !== 'location';
|
|
34
34
|
}).map(function (item) {
|
|
35
35
|
var formItem = getFormItem(item, info);
|
|
36
|
+
if (!formItem) return null;
|
|
36
37
|
if (item.dataKey === RestaurantConfigureEnum.DIVISION_NAME) {
|
|
37
38
|
formItem.isAddress = false;
|
|
38
39
|
}
|
|
@@ -58,6 +59,8 @@ var DetailInfo = function DetailInfo() {
|
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
61
|
} : {});
|
|
62
|
+
}).filter(function (item) {
|
|
63
|
+
return !!item;
|
|
61
64
|
});
|
|
62
65
|
};
|
|
63
66
|
var _ref = info !== null && info !== void 0 && (_info$location = info.location) !== null && _info$location !== void 0 && _info$location.lngLats ? info.location.lngLats.split(',') : [],
|
|
@@ -163,7 +163,11 @@ export var RestaurantConfigureEnum = {
|
|
|
163
163
|
/**
|
|
164
164
|
* 证件图片
|
|
165
165
|
*/
|
|
166
|
-
PAPER_FILE_IDS: 'paperFileIds'
|
|
166
|
+
PAPER_FILE_IDS: 'paperFileIds',
|
|
167
|
+
/**
|
|
168
|
+
* 排序号
|
|
169
|
+
*/
|
|
170
|
+
ORDER_INDEX: 'orderIndex'
|
|
167
171
|
};
|
|
168
172
|
export var getFormItem = function getFormItem(item, data) {
|
|
169
173
|
var _formItemMap;
|
|
@@ -192,7 +196,8 @@ export var getFormItem = function getFormItem(item, data) {
|
|
|
192
196
|
businessTime = data.businessTime,
|
|
193
197
|
trashBinLocationPhoto = data.trashBinLocationPhoto,
|
|
194
198
|
signedStatusValue = data.signedStatusValue,
|
|
195
|
-
suggestCollectTime = data.suggestCollectTime
|
|
199
|
+
suggestCollectTime = data.suggestCollectTime,
|
|
200
|
+
orderIndex = data.orderIndex;
|
|
196
201
|
var dataKey = item.dataKey;
|
|
197
202
|
var formItemMap = (_formItemMap = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_formItemMap, RestaurantConfigureEnum.CODE, {
|
|
198
203
|
label: "t('vtxrestaurantmodal.unit')",
|
|
@@ -256,7 +261,7 @@ export var getFormItem = function getFormItem(item, data) {
|
|
|
256
261
|
}), RestaurantConfigureEnum.REGISTER_MONEY, {
|
|
257
262
|
label: "t('vtxrestaurantmodal.registerMoney')",
|
|
258
263
|
value: registerMoney
|
|
259
|
-
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_formItemMap, RestaurantConfigureEnum.ESTABLISHED_TIME, {
|
|
264
|
+
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_formItemMap, RestaurantConfigureEnum.ESTABLISHED_TIME, {
|
|
260
265
|
label: "t('vtxrestaurantmodal.enterpriseHours')",
|
|
261
266
|
value: establishedTime
|
|
262
267
|
}), RestaurantConfigureEnum.SUGGEST_COLLECT_TIME, {
|
|
@@ -277,6 +282,9 @@ export var getFormItem = function getFormItem(item, data) {
|
|
|
277
282
|
label: "t('vtxrestaurantmodal.image2')",
|
|
278
283
|
value: paperFileIds,
|
|
279
284
|
type: 'img'
|
|
285
|
+
}), RestaurantConfigureEnum.ORDER_INDEX, {
|
|
286
|
+
label: '排序号',
|
|
287
|
+
value: orderIndex
|
|
280
288
|
}));
|
|
281
289
|
return formItemMap[dataKey];
|
|
282
290
|
};
|
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vtx/modals2",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
4
|
-
"description": "弹窗组件",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"module": "lib/index.js",
|
|
7
|
-
"types": "lib/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"lib"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "father build",
|
|
13
|
-
"build:watch": "father dev",
|
|
14
|
-
"dev": "dumi dev",
|
|
15
|
-
"docs:build": "dumi build",
|
|
16
|
-
"docs:preview": "dumi preview",
|
|
17
|
-
"doctor": "father doctor",
|
|
18
|
-
"lint": "npm run lint:es && npm run lint:css",
|
|
19
|
-
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
20
|
-
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
21
|
-
"prepare": "husky install && dumi setup",
|
|
22
|
-
"prepublishOnly": "npm run build",
|
|
23
|
-
"start": "npm run dev"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@turf/turf": "^7.3.4",
|
|
27
|
-
"ahooks": "^3.1.5",
|
|
28
|
-
"axios": "^0.21.1",
|
|
29
|
-
"base-64": "^1.0.0",
|
|
30
|
-
"classnames": "^2.5.1",
|
|
31
|
-
"dayjs": "^1.11.10",
|
|
32
|
-
"echarts": "^5.3.2",
|
|
33
|
-
"echarts-for-react": "3.0.2",
|
|
34
|
-
"htmr": "^1.0.2",
|
|
35
|
-
"lodash": "^4.17.21",
|
|
36
|
-
"number-precision": "^1.6.0",
|
|
37
|
-
"proj4": "^2.20.8",
|
|
38
|
-
"qs": "^6.0.0",
|
|
39
|
-
"react-tagcloud": "^2.3.3",
|
|
40
|
-
"viewerjs": "^1.3.3"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@ant-design/icons": "6.0.0",
|
|
44
|
-
"@babel/preset-react": "^7.28.5",
|
|
45
|
-
"@babel/runtime": "^7.6.3",
|
|
46
|
-
"@commitlint/cli": "^17.1.2",
|
|
47
|
-
"@commitlint/config-conventional": "^17.1.0",
|
|
48
|
-
"@types/lodash": "^4.14.202",
|
|
49
|
-
"@types/qs": "^6.9.11",
|
|
50
|
-
"@types/react": "^18.0.0",
|
|
51
|
-
"@types/react-dom": "^18.0.0",
|
|
52
|
-
"@umijs/lint": "^4.0.0",
|
|
53
|
-
"@vtx/components": "^4.0.0-beta.58",
|
|
54
|
-
"@vtx/map-icon": "^2.0.62",
|
|
55
|
-
"@vtx/ol-map": "^2.0.0-beta.16",
|
|
56
|
-
"@vtx/player": "^1.12.7",
|
|
57
|
-
"@vtx/utils": "^1.0.20",
|
|
58
|
-
"antd": "6.0.0",
|
|
59
|
-
"antd-dayjs-webpack-plugin": "^1.0.6",
|
|
60
|
-
"babel-eslint": "^10.1.0",
|
|
61
|
-
"babel-plugin-import": "^1.13.8",
|
|
62
|
-
"dumi": "^2.2.13",
|
|
63
|
-
"echarts-liquidfill": "^3.1.0",
|
|
64
|
-
"eslint": "^8.23.0",
|
|
65
|
-
"father": "^4.1.0",
|
|
66
|
-
"husky": "^8.0.1",
|
|
67
|
-
"lint-staged": "^13.0.3",
|
|
68
|
-
"ol": "6.15.1",
|
|
69
|
-
"prettier": "^2.7.1",
|
|
70
|
-
"prettier-plugin-organize-imports": "^3.0.0",
|
|
71
|
-
"prettier-plugin-packagejson": "^2.2.18",
|
|
72
|
-
"react": "18.0.0",
|
|
73
|
-
"react-dom": "18.0.0",
|
|
74
|
-
"stylelint": "^14.9.1"
|
|
75
|
-
},
|
|
76
|
-
"peerDependencies": {
|
|
77
|
-
"@ant-design/icons": ">=6",
|
|
78
|
-
"@vtx/components": ">=4.0.0-beta.0",
|
|
79
|
-
"@vtx/map-icon": ">=2.0.0",
|
|
80
|
-
"@vtx/ol-map": ">=2.0.0-beta.0",
|
|
81
|
-
"@vtx/player": ">=1.0.0",
|
|
82
|
-
"@vtx/utils": ">=1.0.20",
|
|
83
|
-
"antd": ">=6",
|
|
84
|
-
"ol": ">=6.15.1",
|
|
85
|
-
"react": ">=18",
|
|
86
|
-
"react-dom": ">=18"
|
|
87
|
-
},
|
|
88
|
-
"publishConfig": {
|
|
89
|
-
"access": "public"
|
|
90
|
-
},
|
|
91
|
-
"authors": []
|
|
92
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@vtx/modals2",
|
|
3
|
+
"version": "6.0.0-beta.13",
|
|
4
|
+
"description": "弹窗组件",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"module": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "father build",
|
|
13
|
+
"build:watch": "father dev",
|
|
14
|
+
"dev": "dumi dev",
|
|
15
|
+
"docs:build": "dumi build",
|
|
16
|
+
"docs:preview": "dumi preview",
|
|
17
|
+
"doctor": "father doctor",
|
|
18
|
+
"lint": "npm run lint:es && npm run lint:css",
|
|
19
|
+
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
20
|
+
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
21
|
+
"prepare": "husky install && dumi setup",
|
|
22
|
+
"prepublishOnly": "npm run build",
|
|
23
|
+
"start": "npm run dev"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@turf/turf": "^7.3.4",
|
|
27
|
+
"ahooks": "^3.1.5",
|
|
28
|
+
"axios": "^0.21.1",
|
|
29
|
+
"base-64": "^1.0.0",
|
|
30
|
+
"classnames": "^2.5.1",
|
|
31
|
+
"dayjs": "^1.11.10",
|
|
32
|
+
"echarts": "^5.3.2",
|
|
33
|
+
"echarts-for-react": "3.0.2",
|
|
34
|
+
"htmr": "^1.0.2",
|
|
35
|
+
"lodash": "^4.17.21",
|
|
36
|
+
"number-precision": "^1.6.0",
|
|
37
|
+
"proj4": "^2.20.8",
|
|
38
|
+
"qs": "^6.0.0",
|
|
39
|
+
"react-tagcloud": "^2.3.3",
|
|
40
|
+
"viewerjs": "^1.3.3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@ant-design/icons": "6.0.0",
|
|
44
|
+
"@babel/preset-react": "^7.28.5",
|
|
45
|
+
"@babel/runtime": "^7.6.3",
|
|
46
|
+
"@commitlint/cli": "^17.1.2",
|
|
47
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
48
|
+
"@types/lodash": "^4.14.202",
|
|
49
|
+
"@types/qs": "^6.9.11",
|
|
50
|
+
"@types/react": "^18.0.0",
|
|
51
|
+
"@types/react-dom": "^18.0.0",
|
|
52
|
+
"@umijs/lint": "^4.0.0",
|
|
53
|
+
"@vtx/components": "^4.0.0-beta.58",
|
|
54
|
+
"@vtx/map-icon": "^2.0.62",
|
|
55
|
+
"@vtx/ol-map": "^2.0.0-beta.16",
|
|
56
|
+
"@vtx/player": "^1.12.7",
|
|
57
|
+
"@vtx/utils": "^1.0.20",
|
|
58
|
+
"antd": "6.0.0",
|
|
59
|
+
"antd-dayjs-webpack-plugin": "^1.0.6",
|
|
60
|
+
"babel-eslint": "^10.1.0",
|
|
61
|
+
"babel-plugin-import": "^1.13.8",
|
|
62
|
+
"dumi": "^2.2.13",
|
|
63
|
+
"echarts-liquidfill": "^3.1.0",
|
|
64
|
+
"eslint": "^8.23.0",
|
|
65
|
+
"father": "^4.1.0",
|
|
66
|
+
"husky": "^8.0.1",
|
|
67
|
+
"lint-staged": "^13.0.3",
|
|
68
|
+
"ol": "6.15.1",
|
|
69
|
+
"prettier": "^2.7.1",
|
|
70
|
+
"prettier-plugin-organize-imports": "^3.0.0",
|
|
71
|
+
"prettier-plugin-packagejson": "^2.2.18",
|
|
72
|
+
"react": "18.0.0",
|
|
73
|
+
"react-dom": "18.0.0",
|
|
74
|
+
"stylelint": "^14.9.1"
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"@ant-design/icons": ">=6",
|
|
78
|
+
"@vtx/components": ">=4.0.0-beta.0",
|
|
79
|
+
"@vtx/map-icon": ">=2.0.0",
|
|
80
|
+
"@vtx/ol-map": ">=2.0.0-beta.0",
|
|
81
|
+
"@vtx/player": ">=1.0.0",
|
|
82
|
+
"@vtx/utils": ">=1.0.20",
|
|
83
|
+
"antd": ">=6",
|
|
84
|
+
"ol": ">=6.15.1",
|
|
85
|
+
"react": ">=18",
|
|
86
|
+
"react-dom": ">=18"
|
|
87
|
+
},
|
|
88
|
+
"publishConfig": {
|
|
89
|
+
"access": "public"
|
|
90
|
+
},
|
|
91
|
+
"authors": []
|
|
92
|
+
}
|