@vtx/modals2 2.15.58 → 2.15.59
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/README.md +33 -33
- package/lib/style/index.less +8 -8
- package/lib/style/themes/dark.less +128 -128
- package/lib/style/themes/default.less +44 -44
- package/lib/style/themes/index.less +1 -1
- package/lib/vm-alarm-info/Components/index.less +43 -43
- package/lib/vm-alarm-info/style/index.less +16 -16
- package/lib/vm-alarm-situation/style/index.less +67 -67
- package/lib/vm-alarm-situation-pt/style/index.less +65 -65
- package/lib/vm-analysis-comparison/style/index.less +12 -12
- package/lib/vm-appraisal-info/style/index.less +136 -136
- package/lib/vm-base-list/style/index.less +39 -39
- package/lib/vm-button/style/index.less +20 -20
- package/lib/vm-charts/index.less +30 -30
- package/lib/vm-checkbox/style/index.less +25 -25
- package/lib/vm-container/style/index.less +30 -30
- package/lib/vm-correlation-comparison/style/index.less +13 -13
- package/lib/vm-custom/style/index.less +20 -20
- package/lib/vm-empty/style/index.less +23 -23
- package/lib/vm-iframe-modal/style/index.less +9 -9
- package/lib/vm-image-text/style/index.less +32 -32
- package/lib/vm-map/style/index.less +3 -3
- package/lib/vm-modal-table/style/index.less +23 -23
- package/lib/vm-radio/style/index.less +26 -26
- package/lib/vm-real-time-monitor/style/index.less +12 -12
- package/lib/vm-repair-maintain/style/index.less +115 -115
- package/lib/vm-round-content/style/index.less +33 -33
- package/lib/vm-select-device/style/index.less +16 -16
- package/lib/vm-sub-tabs/style/index.less +179 -179
- package/lib/vm-sub-title/style/index.less +69 -69
- package/lib/vm-video/api.js +1 -1
- package/lib/vm-video/api.js.map +1 -1
- package/lib/vm-video/index.less +36 -36
- package/lib/vtx-base-info/style/index.less +66 -66
- package/lib/vtx-base-modal/api.js +7 -6
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +1097 -1097
- package/lib/vtx-car-modal/api.js +47 -44
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +40 -40
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js +3 -2
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +10 -6
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.less +290 -290
- package/lib/vtx-car-modal/components/Collection/index.less +18 -18
- package/lib/vtx-car-modal/components/DetailInfo/index.less +21 -21
- package/lib/vtx-car-modal/components/Maintenance/index.less +35 -35
- package/lib/vtx-car-modal/components/OilConsumption/index.less +39 -39
- package/lib/vtx-car-modal/components/StaticInfo/index.less +82 -82
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +25 -25
- package/lib/vtx-car-modal/components/WorkInfo/index.less +66 -66
- package/lib/vtx-car-modal/index.js +8 -8
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/index.less +8 -8
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.less +108 -108
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +46 -46
- package/lib/vtx-cc-cp-modal/style/index.less +1 -1
- package/lib/vtx-cc-unit-modal/style/index.less +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +109 -109
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +156 -156
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +109 -109
- package/lib/vtx-cp-modal/components/SyInfo/index.less +47 -47
- package/lib/vtx-cp-modal/style/index.less +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.less +38 -38
- package/lib/vtx-default-modal/style/index.less +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.less +173 -173
- package/lib/vtx-df-modal/components/Metering/index.less +83 -83
- package/lib/vtx-df-modal/components/WorkCondition/index.less +136 -136
- package/lib/vtx-df-modal/style/index.less +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.less +120 -120
- package/lib/vtx-facility-modal/style/index.less +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
- package/lib/vtx-housing-estate-modal/components/OverView/index.less +256 -256
- package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
- package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-housing-estate-modal/components/WGXW/index.less +102 -102
- package/lib/vtx-housing-estate-modal/style/index.less +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +66 -66
- package/lib/vtx-kh-modal/style/index.less +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.less +103 -103
- package/lib/vtx-pump-modal/components/Basic/index.less +74 -74
- package/lib/vtx-pump-modal/components/Sbxl/index.less +90 -90
- package/lib/vtx-pump-modal/components/Sjfx/index.less +60 -60
- package/lib/vtx-pump-modal/components/Sxyx/index.less +161 -161
- package/lib/vtx-pump-modal/style/index.less +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.less +35 -35
- package/lib/vtx-restaurant-modal/components/Collection/index.less +29 -29
- package/lib/vtx-restaurant-modal/style/index.less +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.less +146 -146
- package/lib/vtx-road-modal/components/Statistical/index.less +112 -112
- package/lib/vtx-road-modal/style/index.less +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.less +23 -23
- package/lib/vtx-staff-modal/components/Attendance/index.less +44 -44
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +225 -225
- package/lib/vtx-staff-modal/components/DetailInfo/index.less +38 -38
- package/lib/vtx-staff-modal/components/Equipment/index.less +52 -52
- package/lib/vtx-staff-modal/components/StaticInfo/index.less +283 -283
- package/lib/vtx-staff-modal/style/index.less +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.less +69 -69
- package/lib/vtx-throw-point-modal/components/OverView/index.less +331 -331
- package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
- package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-throw-point-modal/components/WGXW/index.less +102 -102
- package/lib/vtx-throw-point-modal/style/index.less +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +106 -106
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +142 -142
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -570
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +461 -461
- package/lib/vtx-wr-modal/components/Evaluate/index.less +124 -124
- package/lib/vtx-wr-modal/components/Monitor/index.less +82 -82
- package/lib/vtx-wr-modal/components/Score/index.less +134 -134
- package/lib/vtx-wr-modal/style/index.less +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +97 -97
- package/lib/vtx-zg-modal/style/index.less +1 -1
- package/package.json +1 -1
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
.sub-title {
|
|
2
|
-
color: #222;
|
|
3
|
-
font-size: 16px;
|
|
4
|
-
line-height: 20px;
|
|
5
|
-
margin-bottom: 16px;
|
|
6
|
-
position: relative;
|
|
7
|
-
width: 100%;
|
|
8
|
-
&.dark {
|
|
9
|
-
font-family: PingFangSC-Semibold, PingFang SC;
|
|
10
|
-
font-weight: 800;
|
|
11
|
-
font-size: 14px;
|
|
12
|
-
background-image: url('../imgs/bg_light.png');
|
|
13
|
-
background-repeat: no-repeat;
|
|
14
|
-
padding-left: 20px;
|
|
15
|
-
background-image: url('../imgs/bg.png');
|
|
16
|
-
color: #fff;
|
|
17
|
-
}
|
|
18
|
-
&.blue {
|
|
19
|
-
font-family: PingFangSC-Semibold, PingFang SC;
|
|
20
|
-
font-weight: 800;
|
|
21
|
-
font-size: 14px;
|
|
22
|
-
padding-left: 20px;
|
|
23
|
-
color: #fff;
|
|
24
|
-
background-repeat: no-repeat;
|
|
25
|
-
background-image: url('../imgs/bg_light.png');
|
|
26
|
-
}
|
|
27
|
-
.extra {
|
|
28
|
-
position: absolute;
|
|
29
|
-
right: 0;
|
|
30
|
-
top: 0;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.sub-title2 {
|
|
35
|
-
height: 40px;
|
|
36
|
-
line-height: 40px;
|
|
37
|
-
color: #1f1f1f;
|
|
38
|
-
font-size: 16px;
|
|
39
|
-
margin-bottom: 16px;
|
|
40
|
-
padding: 0 12px;
|
|
41
|
-
position: relative;
|
|
42
|
-
border-bottom: 1px solid rgba(179, 179, 179, 0.2);
|
|
43
|
-
&.dark {
|
|
44
|
-
font-family: PingFangSC-Semibold, PingFang SC;
|
|
45
|
-
font-weight: 600;
|
|
46
|
-
font-size: 14px;
|
|
47
|
-
background-image: url('../imgs/bg_light.png');
|
|
48
|
-
background-repeat: no-repeat;
|
|
49
|
-
padding-left: 20px;
|
|
50
|
-
background-image: url('../imgs/bg.png');
|
|
51
|
-
color: #fff;
|
|
52
|
-
}
|
|
53
|
-
&.blue {
|
|
54
|
-
font-family: PingFangSC-Semibold, PingFang SC;
|
|
55
|
-
font-weight: 600;
|
|
56
|
-
font-size: 14px;
|
|
57
|
-
line-height: 18px;
|
|
58
|
-
background-image: url('../imgs/bg_light.png');
|
|
59
|
-
background-repeat: no-repeat;
|
|
60
|
-
padding-left: 20px;
|
|
61
|
-
background-image: url('../imgs/bg_light.png');
|
|
62
|
-
color: #fff;
|
|
63
|
-
}
|
|
64
|
-
.extra {
|
|
65
|
-
position: absolute;
|
|
66
|
-
right: 12px;
|
|
67
|
-
top: 0;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
1
|
+
.sub-title {
|
|
2
|
+
color: #222;
|
|
3
|
+
font-size: 16px;
|
|
4
|
+
line-height: 20px;
|
|
5
|
+
margin-bottom: 16px;
|
|
6
|
+
position: relative;
|
|
7
|
+
width: 100%;
|
|
8
|
+
&.dark {
|
|
9
|
+
font-family: PingFangSC-Semibold, PingFang SC;
|
|
10
|
+
font-weight: 800;
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
background-image: url('../imgs/bg_light.png');
|
|
13
|
+
background-repeat: no-repeat;
|
|
14
|
+
padding-left: 20px;
|
|
15
|
+
background-image: url('../imgs/bg.png');
|
|
16
|
+
color: #fff;
|
|
17
|
+
}
|
|
18
|
+
&.blue {
|
|
19
|
+
font-family: PingFangSC-Semibold, PingFang SC;
|
|
20
|
+
font-weight: 800;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
padding-left: 20px;
|
|
23
|
+
color: #fff;
|
|
24
|
+
background-repeat: no-repeat;
|
|
25
|
+
background-image: url('../imgs/bg_light.png');
|
|
26
|
+
}
|
|
27
|
+
.extra {
|
|
28
|
+
position: absolute;
|
|
29
|
+
right: 0;
|
|
30
|
+
top: 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sub-title2 {
|
|
35
|
+
height: 40px;
|
|
36
|
+
line-height: 40px;
|
|
37
|
+
color: #1f1f1f;
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
margin-bottom: 16px;
|
|
40
|
+
padding: 0 12px;
|
|
41
|
+
position: relative;
|
|
42
|
+
border-bottom: 1px solid rgba(179, 179, 179, 0.2);
|
|
43
|
+
&.dark {
|
|
44
|
+
font-family: PingFangSC-Semibold, PingFang SC;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
background-image: url('../imgs/bg_light.png');
|
|
48
|
+
background-repeat: no-repeat;
|
|
49
|
+
padding-left: 20px;
|
|
50
|
+
background-image: url('../imgs/bg.png');
|
|
51
|
+
color: #fff;
|
|
52
|
+
}
|
|
53
|
+
&.blue {
|
|
54
|
+
font-family: PingFangSC-Semibold, PingFang SC;
|
|
55
|
+
font-weight: 600;
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
line-height: 18px;
|
|
58
|
+
background-image: url('../imgs/bg_light.png');
|
|
59
|
+
background-repeat: no-repeat;
|
|
60
|
+
padding-left: 20px;
|
|
61
|
+
background-image: url('../imgs/bg_light.png');
|
|
62
|
+
color: #fff;
|
|
63
|
+
}
|
|
64
|
+
.extra {
|
|
65
|
+
position: absolute;
|
|
66
|
+
right: 12px;
|
|
67
|
+
top: 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
package/lib/vm-video/api.js
CHANGED
|
@@ -9,7 +9,7 @@ var _ahooks = require("ahooks");
|
|
|
9
9
|
var VideoService = {
|
|
10
10
|
getChannels: function getChannels(billId, ready) {
|
|
11
11
|
var _useRequest = (0, _ahooks.useRequest)(function () {
|
|
12
|
-
return _utils.request.get('/cloud/vis/base/np/videoDevice/loadVideoChannelByBillId.smvc
|
|
12
|
+
return _utils.request.get("".concat(process.env.PREFIX || '', "/cloud/vis/base/np/videoDevice/loadVideoChannelByBillId.smvc"), {
|
|
13
13
|
data: {
|
|
14
14
|
billId: billId
|
|
15
15
|
}
|
package/lib/vm-video/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","names":["_utils","require","_ahooks","VideoService","getChannels","billId","ready","_useRequest","useRequest","request","get","data","refreshDeps","channelRes","channels","JSON","parse","_default","exports"],"sources":["vm-video/api.js"],"sourcesContent":["import { request } from '@vtx/utils';\nimport { useRequest } from 'ahooks';\nconst VideoService = {\n getChannels: (billId, ready) => {\n const { data: channelRes } = useRequest(() => request.get('/cloud/vis/base/np/videoDevice/loadVideoChannelByBillId.smvc
|
|
1
|
+
{"version":3,"file":"api.js","names":["_utils","require","_ahooks","VideoService","getChannels","billId","ready","_useRequest","useRequest","request","get","concat","process","env","PREFIX","data","refreshDeps","channelRes","channels","JSON","parse","_default","exports"],"sources":["vm-video/api.js"],"sourcesContent":["import { request } from '@vtx/utils';\nimport { useRequest } from 'ahooks';\nconst VideoService = {\n getChannels: (billId, ready) => {\n const { data: channelRes } = useRequest(() => request.get(`${process.env.PREFIX ||\n ''}/cloud/vis/base/np/videoDevice/loadVideoChannelByBillId.smvc`, {\n data: { billId },\n }), { ready, refreshDeps: [billId] });\n const channels = (channelRes === null || channelRes === void 0 ? void 0 : channelRes.data) ? JSON.parse(channelRes.data) : [];\n return {\n channels,\n };\n },\n};\nexport default VideoService;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAME,YAAY,GAAG;EACjBC,WAAW,EAAE,SAAbA,WAAWA,CAAGC,MAAM,EAAEC,KAAK,EAAK;IAC5B,IAAAC,WAAA,GAA6B,IAAAC,kBAAU,EAAC;QAAA,OAAMC,cAAO,CAACC,GAAG,IAAAC,MAAA,CAAIC,OAAO,CAACC,GAAG,CAACC,MAAM,IAC3E,EAAE,mEAAgE;UAClEC,IAAI,EAAE;YAAEV,MAAM,EAANA;UAAO;QACnB,CAAC,CAAC;MAAA,GAAE;QAAEC,KAAK,EAALA,KAAK;QAAEU,WAAW,EAAE,CAACX,MAAM;MAAE,CAAC,CAAC;MAHvBY,UAAU,GAAAV,WAAA,CAAhBQ,IAAI;IAIZ,IAAMG,QAAQ,GAAG,CAACD,UAAU,KAAK,IAAI,IAAIA,UAAU,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,UAAU,CAACF,IAAI,IAAII,IAAI,CAACC,KAAK,CAACH,UAAU,CAACF,IAAI,CAAC,GAAG,EAAE;IAC7H,OAAO;MACHG,QAAQ,EAARA;IACJ,CAAC;EACL;AACJ,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,cACanB,YAAY","ignoreList":[]}
|
package/lib/vm-video/index.less
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
@import '../style/index';
|
|
2
|
-
|
|
3
|
-
.vm-video {
|
|
4
|
-
height: 640px;
|
|
5
|
-
padding: 0 20px;
|
|
6
|
-
background: var(--modal-content-bg);
|
|
7
|
-
.ant-tabs-tabpane {
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
&.blue {
|
|
11
|
-
.ant-tabs-tab {
|
|
12
|
-
color: #fff;
|
|
13
|
-
}
|
|
14
|
-
.control-container,
|
|
15
|
-
.ant-form-item-no-colon,
|
|
16
|
-
.ant-radio-wrapper {
|
|
17
|
-
color: #fff;
|
|
18
|
-
}
|
|
19
|
-
.vtx-live-control .player-grid-container .grid-item-container.active {
|
|
20
|
-
box-shadow: 0 0 0 1px #1464a6;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.vtx-bill-player .player-panel .control-container {
|
|
24
|
-
border: 1px solid var(--border-color);
|
|
25
|
-
}
|
|
26
|
-
.vtx-bill-player .player-panel .control-container .header {
|
|
27
|
-
border-bottom: 1px solid var(--border-color);
|
|
28
|
-
}
|
|
29
|
-
.ant-tabs-top > .ant-tabs-nav::before,
|
|
30
|
-
.ant-tabs-bottom > .ant-tabs-nav::before,
|
|
31
|
-
.ant-tabs-top > div > .ant-tabs-nav::before,
|
|
32
|
-
.ant-tabs-bottom > div > .ant-tabs-nav::before {
|
|
33
|
-
border-bottom: 1px solid #219fff5d;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
1
|
+
@import '../style/index';
|
|
2
|
+
|
|
3
|
+
.vm-video {
|
|
4
|
+
height: 640px;
|
|
5
|
+
padding: 0 20px;
|
|
6
|
+
background: var(--modal-content-bg);
|
|
7
|
+
.ant-tabs-tabpane {
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
&.blue {
|
|
11
|
+
.ant-tabs-tab {
|
|
12
|
+
color: #fff;
|
|
13
|
+
}
|
|
14
|
+
.control-container,
|
|
15
|
+
.ant-form-item-no-colon,
|
|
16
|
+
.ant-radio-wrapper {
|
|
17
|
+
color: #fff;
|
|
18
|
+
}
|
|
19
|
+
.vtx-live-control .player-grid-container .grid-item-container.active {
|
|
20
|
+
box-shadow: 0 0 0 1px #1464a6;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.vtx-bill-player .player-panel .control-container {
|
|
24
|
+
border: 1px solid var(--border-color);
|
|
25
|
+
}
|
|
26
|
+
.vtx-bill-player .player-panel .control-container .header {
|
|
27
|
+
border-bottom: 1px solid var(--border-color);
|
|
28
|
+
}
|
|
29
|
+
.ant-tabs-top > .ant-tabs-nav::before,
|
|
30
|
+
.ant-tabs-bottom > .ant-tabs-nav::before,
|
|
31
|
+
.ant-tabs-top > div > .ant-tabs-nav::before,
|
|
32
|
+
.ant-tabs-bottom > div > .ant-tabs-nav::before {
|
|
33
|
+
border-bottom: 1px solid #219fff5d;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
html,
|
|
2
|
-
body,
|
|
3
|
-
p {
|
|
4
|
-
margin: 0 !important;
|
|
5
|
-
padding: 0 !important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.overHiddenScroll {
|
|
9
|
-
height: 100%;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.vtx-business-info {
|
|
14
|
-
.background {
|
|
15
|
-
background-repeat: no-repeat;
|
|
16
|
-
background-size: 100% 100%;
|
|
17
|
-
}
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
|
|
21
|
-
&--content {
|
|
22
|
-
background: var(--modal-content-bg);
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
}
|
|
26
|
-
&--main {
|
|
27
|
-
width: calc(~'100% - 140px');
|
|
28
|
-
}
|
|
29
|
-
&--main-notab {
|
|
30
|
-
width: 100%;
|
|
31
|
-
min-height: 450px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.vtx-modal-tabs {
|
|
35
|
-
--tabs-bg-color: #fcfcfc;
|
|
36
|
-
--tabs-btn-color: #666;
|
|
37
|
-
--tabs-btn-active-color: #1890ff;
|
|
38
|
-
--border-left: #1890ff;
|
|
39
|
-
|
|
40
|
-
width: 140px;
|
|
41
|
-
font-size: 18px;
|
|
42
|
-
font-family: PingFangSC-Regular, PingFang SC;
|
|
43
|
-
color: var(--tabs-btn-color);
|
|
44
|
-
text-align: center;
|
|
45
|
-
background: var(--modal-content-bg);
|
|
46
|
-
border-left: 1px solid rgba(255, 255, 255, 0.2);
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-flow: column;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
&--tab {
|
|
51
|
-
width: 140px;
|
|
52
|
-
height: 64px;
|
|
53
|
-
line-height: 64px;
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
color: var(--tabs-btn-color);
|
|
56
|
-
&_active {
|
|
57
|
-
color: var(--tabs-btn-active-color);
|
|
58
|
-
background-image: url('../imgs/tab_bg_light.png');
|
|
59
|
-
.background();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
&.blue {
|
|
63
|
-
font-size: 14px;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
html,
|
|
2
|
+
body,
|
|
3
|
+
p {
|
|
4
|
+
margin: 0 !important;
|
|
5
|
+
padding: 0 !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.overHiddenScroll {
|
|
9
|
+
height: 100%;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.vtx-business-info {
|
|
14
|
+
.background {
|
|
15
|
+
background-repeat: no-repeat;
|
|
16
|
+
background-size: 100% 100%;
|
|
17
|
+
}
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
|
|
21
|
+
&--content {
|
|
22
|
+
background: var(--modal-content-bg);
|
|
23
|
+
display: flex;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
}
|
|
26
|
+
&--main {
|
|
27
|
+
width: calc(~'100% - 140px');
|
|
28
|
+
}
|
|
29
|
+
&--main-notab {
|
|
30
|
+
width: 100%;
|
|
31
|
+
min-height: 450px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.vtx-modal-tabs {
|
|
35
|
+
--tabs-bg-color: #fcfcfc;
|
|
36
|
+
--tabs-btn-color: #666;
|
|
37
|
+
--tabs-btn-active-color: #1890ff;
|
|
38
|
+
--border-left: #1890ff;
|
|
39
|
+
|
|
40
|
+
width: 140px;
|
|
41
|
+
font-size: 18px;
|
|
42
|
+
font-family: PingFangSC-Regular, PingFang SC;
|
|
43
|
+
color: var(--tabs-btn-color);
|
|
44
|
+
text-align: center;
|
|
45
|
+
background: var(--modal-content-bg);
|
|
46
|
+
border-left: 1px solid rgba(255, 255, 255, 0.2);
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-flow: column;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
&--tab {
|
|
51
|
+
width: 140px;
|
|
52
|
+
height: 64px;
|
|
53
|
+
line-height: 64px;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
color: var(--tabs-btn-color);
|
|
56
|
+
&_active {
|
|
57
|
+
color: var(--tabs-btn-active-color);
|
|
58
|
+
background-image: url('../imgs/tab_bg_light.png');
|
|
59
|
+
.background();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
&.blue {
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -5,8 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.saveFavoriter = exports.getUmsConfig = exports.getTenantById = exports.getCarInfoByProductType = exports.fetchFavoriter = exports.delFavoriter = void 0;
|
|
7
7
|
var _utils = require("@vtx/utils");
|
|
8
|
+
var prefix = process.env.PREFIX || '';
|
|
8
9
|
var saveFavoriter = exports.saveFavoriter = function saveFavoriter(objectIds, type) {
|
|
9
|
-
return _utils.request.post(
|
|
10
|
+
return _utils.request.post("".concat(prefix, "/cloud/management/api/v101/user/favorites/saveUserFavorites"), {
|
|
10
11
|
data: {
|
|
11
12
|
objectIds: objectIds,
|
|
12
13
|
collectionType: type
|
|
@@ -14,7 +15,7 @@ var saveFavoriter = exports.saveFavoriter = function saveFavoriter(objectIds, ty
|
|
|
14
15
|
});
|
|
15
16
|
};
|
|
16
17
|
var delFavoriter = exports.delFavoriter = function delFavoriter(objectIds, type) {
|
|
17
|
-
return _utils.request.post(
|
|
18
|
+
return _utils.request.post("".concat(prefix, "/cloud/management/api/v101/user/favorites/deleteUserFavorites"), {
|
|
18
19
|
data: {
|
|
19
20
|
objectIds: objectIds,
|
|
20
21
|
collectionType: type
|
|
@@ -22,7 +23,7 @@ var delFavoriter = exports.delFavoriter = function delFavoriter(objectIds, type)
|
|
|
22
23
|
});
|
|
23
24
|
};
|
|
24
25
|
var fetchFavoriter = exports.fetchFavoriter = function fetchFavoriter(objectIds, type) {
|
|
25
|
-
return _utils.request.get(
|
|
26
|
+
return _utils.request.get("".concat(prefix, "/cloud/management/api/v101/user/favorites/getUserFavoritesIds"), {
|
|
26
27
|
data: {
|
|
27
28
|
objectIds: objectIds,
|
|
28
29
|
collectionTypes: type
|
|
@@ -30,7 +31,7 @@ var fetchFavoriter = exports.fetchFavoriter = function fetchFavoriter(objectIds,
|
|
|
30
31
|
});
|
|
31
32
|
};
|
|
32
33
|
var getTenantById = exports.getTenantById = function getTenantById(id) {
|
|
33
|
-
return _utils.request.get(
|
|
34
|
+
return _utils.request.get("".concat(prefix, "/cloud/management/rest/np/tenant/getTenantById"), {
|
|
34
35
|
data: {
|
|
35
36
|
parameters: JSON.stringify({
|
|
36
37
|
id: id
|
|
@@ -39,14 +40,14 @@ var getTenantById = exports.getTenantById = function getTenantById(id) {
|
|
|
39
40
|
});
|
|
40
41
|
};
|
|
41
42
|
var getCarInfoByProductType = exports.getCarInfoByProductType = function getCarInfoByProductType(id) {
|
|
42
|
-
return _utils.request.get(
|
|
43
|
+
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/sdk/car/getCarInfoByProductType"), {
|
|
43
44
|
data: {
|
|
44
45
|
carId: id
|
|
45
46
|
}
|
|
46
47
|
});
|
|
47
48
|
};
|
|
48
49
|
var getUmsConfig = exports.getUmsConfig = function getUmsConfig(componentCode) {
|
|
49
|
-
return _utils.request.get(
|
|
50
|
+
return _utils.request.get("".concat(prefix, "/cloud/management/api/v101/user/config/component/page"), {
|
|
50
51
|
data: {
|
|
51
52
|
componentCode: componentCode,
|
|
52
53
|
userId: (0, _utils.getVtxToken)('userId')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","names":["_utils","require","saveFavoriter","exports","objectIds","type","request","post","data","collectionType","delFavoriter","fetchFavoriter","get","collectionTypes","getTenantById","id","parameters","JSON","stringify","getCarInfoByProductType","carId","getUmsConfig","componentCode","userId","getVtxToken"],"sources":["vtx-base-modal/api.js"],"sourcesContent":["import { request } from '@vtx/utils';\nimport { getVtxToken } from '@vtx/utils';\nexport const saveFavoriter = (objectIds, type) => {\n return request.post(
|
|
1
|
+
{"version":3,"file":"api.js","names":["_utils","require","prefix","process","env","PREFIX","saveFavoriter","exports","objectIds","type","request","post","concat","data","collectionType","delFavoriter","fetchFavoriter","get","collectionTypes","getTenantById","id","parameters","JSON","stringify","getCarInfoByProductType","carId","getUmsConfig","componentCode","userId","getVtxToken"],"sources":["vtx-base-modal/api.js"],"sourcesContent":["import { request } from '@vtx/utils';\nimport { getVtxToken } from '@vtx/utils';\nconst prefix = process.env.PREFIX || '';\nexport const saveFavoriter = (objectIds, type) => {\n return request.post(`${prefix}/cloud/management/api/v101/user/favorites/saveUserFavorites`, {\n data: { objectIds, collectionType: type },\n });\n};\nexport const delFavoriter = (objectIds, type) => {\n return request.post(`${prefix}/cloud/management/api/v101/user/favorites/deleteUserFavorites`, {\n data: { objectIds, collectionType: type },\n });\n};\nexport const fetchFavoriter = (objectIds, type) => {\n return request.get(`${prefix}/cloud/management/api/v101/user/favorites/getUserFavoritesIds`, {\n data: { objectIds, collectionTypes: type },\n });\n};\nexport const getTenantById = (id) => {\n return request.get(`${prefix}/cloud/management/rest/np/tenant/getTenantById`, {\n data: { parameters: JSON.stringify({ id }) },\n });\n};\nexport const getCarInfoByProductType = (id) => {\n return request.get(`${prefix}/cloud/gps-reborn/sdk/car/getCarInfoByProductType`, {\n data: { carId: id },\n });\n};\nexport const getUmsConfig = (componentCode) => {\n return request.get(`${prefix}/cloud/management/api/v101/user/config/component/page`, {\n data: { componentCode: componentCode, userId: getVtxToken('userId') },\n });\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAMC,MAAM,GAAGC,OAAO,CAACC,GAAG,CAACC,MAAM,IAAI,EAAE;AAChC,IAAMC,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,SAAhBA,aAAaA,CAAIE,SAAS,EAAEC,IAAI,EAAK;EAC9C,OAAOC,cAAO,CAACC,IAAI,IAAAC,MAAA,CAAIV,MAAM,kEAA+D;IACxFW,IAAI,EAAE;MAAEL,SAAS,EAATA,SAAS;MAAEM,cAAc,EAAEL;IAAK;EAC5C,CAAC,CAAC;AACN,CAAC;AACM,IAAMM,YAAY,GAAAR,OAAA,CAAAQ,YAAA,GAAG,SAAfA,YAAYA,CAAIP,SAAS,EAAEC,IAAI,EAAK;EAC7C,OAAOC,cAAO,CAACC,IAAI,IAAAC,MAAA,CAAIV,MAAM,oEAAiE;IAC1FW,IAAI,EAAE;MAAEL,SAAS,EAATA,SAAS;MAAEM,cAAc,EAAEL;IAAK;EAC5C,CAAC,CAAC;AACN,CAAC;AACM,IAAMO,cAAc,GAAAT,OAAA,CAAAS,cAAA,GAAG,SAAjBA,cAAcA,CAAIR,SAAS,EAAEC,IAAI,EAAK;EAC/C,OAAOC,cAAO,CAACO,GAAG,IAAAL,MAAA,CAAIV,MAAM,oEAAiE;IACzFW,IAAI,EAAE;MAAEL,SAAS,EAATA,SAAS;MAAEU,eAAe,EAAET;IAAK;EAC7C,CAAC,CAAC;AACN,CAAC;AACM,IAAMU,aAAa,GAAAZ,OAAA,CAAAY,aAAA,GAAG,SAAhBA,aAAaA,CAAIC,EAAE,EAAK;EACjC,OAAOV,cAAO,CAACO,GAAG,IAAAL,MAAA,CAAIV,MAAM,qDAAkD;IAC1EW,IAAI,EAAE;MAAEQ,UAAU,EAAEC,IAAI,CAACC,SAAS,CAAC;QAAEH,EAAE,EAAFA;MAAG,CAAC;IAAE;EAC/C,CAAC,CAAC;AACN,CAAC;AACM,IAAMI,uBAAuB,GAAAjB,OAAA,CAAAiB,uBAAA,GAAG,SAA1BA,uBAAuBA,CAAIJ,EAAE,EAAK;EAC3C,OAAOV,cAAO,CAACO,GAAG,IAAAL,MAAA,CAAIV,MAAM,wDAAqD;IAC7EW,IAAI,EAAE;MAAEY,KAAK,EAAEL;IAAG;EACtB,CAAC,CAAC;AACN,CAAC;AACM,IAAMM,YAAY,GAAAnB,OAAA,CAAAmB,YAAA,GAAG,SAAfA,YAAYA,CAAIC,aAAa,EAAK;EAC3C,OAAOjB,cAAO,CAACO,GAAG,IAAAL,MAAA,CAAIV,MAAM,4DAAyD;IACjFW,IAAI,EAAE;MAAEc,aAAa,EAAEA,aAAa;MAAEC,MAAM,EAAE,IAAAC,kBAAW,EAAC,QAAQ;IAAE;EACxE,CAAC,CAAC;AACN,CAAC","ignoreList":[]}
|