@vtx/modals2 5.0.3 → 5.0.4

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.
Files changed (206) hide show
  1. package/lib/_components/index.js +4 -3
  2. package/lib/_components/vm-bar-charts/index.js +1 -1
  3. package/lib/_components/vm-calendar/style/index.less +4 -7
  4. package/lib/_components/vm-card-statistics/index.less +27 -27
  5. package/lib/_components/vm-factor/index.js +10 -5
  6. package/lib/_components/vm-factor/style/index.less +5 -1
  7. package/lib/_components/vm-factor-list/index.less +11 -11
  8. package/lib/_components/vm-filter/style/index.less +2 -1
  9. package/lib/_components/vm-info-collection/index.js +2 -2
  10. package/lib/_components/vm-line-charts/index.js +1 -1
  11. package/lib/_components/vm-map/index.js +5 -5
  12. package/lib/_components/vm-pie-charts/index.js +7 -5
  13. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +46 -0
  14. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +44 -0
  15. package/lib/_components/vm-repair-maintain/RmRecord.js +157 -0
  16. package/lib/_components/vm-repair-maintain/RmType.js +32 -0
  17. package/lib/_components/vm-repair-maintain/api.js +92 -0
  18. package/lib/_components/vm-repair-maintain/imgs/amount.png +0 -0
  19. package/lib/_components/vm-repair-maintain/imgs/amount_light.png +0 -0
  20. package/lib/_components/vm-repair-maintain/imgs/count.png +0 -0
  21. package/lib/_components/vm-repair-maintain/imgs/count_light.png +0 -0
  22. package/lib/_components/vm-repair-maintain/index.js +56 -0
  23. package/lib/_components/vm-repair-maintain/style/index.js +1 -0
  24. package/lib/_components/vm-repair-maintain/style/index.less +25 -0
  25. package/lib/_components/vm-table/index.js +7 -4
  26. package/lib/_components/vm-table/style/index.less +3 -2
  27. package/lib/_components/vm-tag/style/index.less +9 -0
  28. package/lib/_components/vm-title/index.js +3 -2
  29. package/lib/_components/vm-wrapper/index.js +32 -10
  30. package/lib/_components/vm-wrapper/style/index.less +28 -0
  31. package/lib/index.js +7 -2
  32. package/lib/style/index.less +2 -6
  33. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +2 -1
  34. package/lib/vtx-base-modal/Header/index.less +98 -98
  35. package/lib/vtx-base-modal/Tabs/index.less +31 -31
  36. package/lib/vtx-base-modal/index.js +5 -2
  37. package/lib/vtx-car-modal/api.js +4 -3
  38. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  39. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +3 -0
  40. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -0
  41. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +5 -1
  42. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  43. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -0
  44. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -0
  45. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  46. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +9 -3
  47. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +5 -1
  48. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +7 -6
  49. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +20 -12
  50. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +3 -0
  51. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -0
  52. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +3 -0
  53. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -0
  54. package/lib/vtx-car-modal/index.js +16 -2
  55. package/lib/vtx-cc-cp-modal/api.js +381 -0
  56. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +120 -0
  57. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +27 -0
  58. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +32 -0
  59. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +41 -0
  60. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +69 -0
  61. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +103 -0
  62. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +75 -0
  63. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +58 -0
  64. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +142 -0
  65. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +63 -0
  66. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +16 -0
  67. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +168 -0
  68. package/lib/vtx-cc-cp-modal/components/Calendar/index.less +93 -0
  69. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +27 -0
  70. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +32 -0
  71. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +118 -0
  72. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +41 -0
  73. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +69 -0
  74. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +111 -0
  75. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +3 -0
  76. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +46 -0
  77. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +81 -0
  78. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +78 -0
  79. package/lib/vtx-cc-cp-modal/components/index.js +7 -0
  80. package/lib/vtx-cc-cp-modal/imgs/rwnsjts.png +0 -0
  81. package/lib/vtx-cc-cp-modal/imgs/rwnsjts_dark.png +0 -0
  82. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl.png +0 -0
  83. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl_dark.png +0 -0
  84. package/lib/vtx-cc-cp-modal/imgs/rwnsscs.png +0 -0
  85. package/lib/vtx-cc-cp-modal/imgs/rwnsscs_dark.png +0 -0
  86. package/lib/vtx-cc-cp-modal/imgs/zsjts.png +0 -0
  87. package/lib/vtx-cc-cp-modal/imgs/zsjts_dark.png +0 -0
  88. package/lib/vtx-cc-cp-modal/imgs/zsjzl.png +0 -0
  89. package/lib/vtx-cc-cp-modal/imgs/zsjzl_dark.png +0 -0
  90. package/lib/vtx-cc-cp-modal/imgs/zsscs.png +0 -0
  91. package/lib/vtx-cc-cp-modal/imgs/zsscs_dark.png +0 -0
  92. package/lib/vtx-cc-cp-modal/index.js +119 -0
  93. package/lib/vtx-cc-cp-modal/style/index.js +1 -0
  94. package/lib/vtx-cc-cp-modal/style/index.less +13 -0
  95. package/lib/vtx-cc-unit-modal/api.js +361 -0
  96. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +69 -0
  97. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +66 -0
  98. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +60 -0
  99. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +91 -0
  100. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +118 -0
  101. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -0
  102. package/lib/vtx-cc-unit-modal/components/CarList/index.js +129 -0
  103. package/lib/vtx-cc-unit-modal/components/Collection/index.js +95 -0
  104. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +126 -0
  105. package/lib/vtx-cc-unit-modal/components/Factory/index.js +149 -0
  106. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +127 -0
  107. package/lib/vtx-cc-unit-modal/components/index.js +7 -0
  108. package/lib/vtx-cc-unit-modal/imgs/jccc.png +0 -0
  109. package/lib/vtx-cc-unit-modal/imgs/jccc_dark.png +0 -0
  110. package/lib/vtx-cc-unit-modal/imgs/jcl.png +0 -0
  111. package/lib/vtx-cc-unit-modal/imgs/jcl_dark.png +0 -0
  112. package/lib/vtx-cc-unit-modal/imgs/syts.png +0 -0
  113. package/lib/vtx-cc-unit-modal/imgs/syts_dark.png +0 -0
  114. package/lib/vtx-cc-unit-modal/imgs/syzl.png +0 -0
  115. package/lib/vtx-cc-unit-modal/imgs/syzl_dark.png +0 -0
  116. package/lib/vtx-cc-unit-modal/index.js +137 -0
  117. package/lib/vtx-cc-unit-modal/style/index.js +1 -0
  118. package/lib/vtx-cc-unit-modal/style/index.less +14 -0
  119. package/lib/vtx-cp-modal/api.js +3 -3
  120. package/lib/vtx-cp-modal/index.js +4 -1
  121. package/lib/vtx-default-modal/index.js +10 -7
  122. package/lib/vtx-device-modal/api.js +531 -0
  123. package/lib/vtx-device-modal/components/BaseInfo/index.js +140 -0
  124. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +279 -0
  125. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +611 -0
  126. package/lib/vtx-device-modal/components/DataAnalysis/TabsList.js +23 -0
  127. package/lib/vtx-device-modal/components/DataAnalysis/index.js +24 -0
  128. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -0
  129. package/lib/vtx-device-modal/components/index.js +3 -0
  130. package/lib/vtx-device-modal/config.js +21 -0
  131. package/lib/vtx-device-modal/imgs/current.png +0 -0
  132. package/lib/vtx-device-modal/imgs/current_dark.png +0 -0
  133. package/lib/vtx-device-modal/imgs/history.png +0 -0
  134. package/lib/vtx-device-modal/imgs/history_dark.png +0 -0
  135. package/lib/vtx-device-modal/index.js +96 -0
  136. package/lib/vtx-device-modal/style/index.js +1 -0
  137. package/lib/vtx-device-modal/style/index.less +1 -0
  138. package/lib/vtx-df-modal/index.js +11 -9
  139. package/lib/vtx-kh-modal/api2.js +178 -0
  140. package/lib/vtx-kh-modal/components/BaseInfo/index.js +197 -0
  141. package/lib/vtx-kh-modal/components/BaseInfo/index.less +101 -0
  142. package/lib/vtx-kh-modal/components/Record/index.js +204 -0
  143. package/lib/vtx-kh-modal/components/Record/index.less +7 -0
  144. package/lib/vtx-kh-modal/components/index.js +3 -0
  145. package/lib/vtx-kh-modal/imgs/count.png +0 -0
  146. package/lib/vtx-kh-modal/imgs/count_light.png +0 -0
  147. package/lib/vtx-kh-modal/imgs/question_bg.png +0 -0
  148. package/lib/vtx-kh-modal/imgs/question_bg_light.png +0 -0
  149. package/lib/vtx-kh-modal/imgs/score.png +0 -0
  150. package/lib/vtx-kh-modal/imgs/score_light.png +0 -0
  151. package/lib/vtx-kh-modal/imgs/subtract.png +0 -0
  152. package/lib/vtx-kh-modal/imgs/subtract_light.png +0 -0
  153. package/lib/vtx-kh-modal/index.js +46 -0
  154. package/lib/vtx-kh-modal/style/index.js +4 -0
  155. package/lib/vtx-kh-modal/style/index.less +1 -0
  156. package/lib/vtx-restaurant-modal/api.js +297 -0
  157. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +47 -0
  158. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +31 -0
  159. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +36 -0
  160. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +41 -0
  161. package/lib/vtx-restaurant-modal/components/Alarm/index.js +69 -0
  162. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +64 -0
  163. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +68 -0
  164. package/lib/vtx-restaurant-modal/components/Basic/Info.js +87 -0
  165. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +61 -0
  166. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +60 -0
  167. package/lib/vtx-restaurant-modal/components/Basic/index.js +74 -0
  168. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -0
  169. package/lib/vtx-restaurant-modal/components/Calendar/index.js +171 -0
  170. package/lib/vtx-restaurant-modal/components/Calendar/index.less +93 -0
  171. package/lib/vtx-restaurant-modal/components/Collection/index.js +86 -0
  172. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +111 -0
  173. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +299 -0
  174. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +198 -0
  175. package/lib/vtx-restaurant-modal/components/index.js +7 -0
  176. package/lib/vtx-restaurant-modal/config.js +283 -0
  177. package/lib/vtx-restaurant-modal/imgs/csl.png +0 -0
  178. package/lib/vtx-restaurant-modal/imgs/csl_dark.png +0 -0
  179. package/lib/vtx-restaurant-modal/imgs/sycs.png +0 -0
  180. package/lib/vtx-restaurant-modal/imgs/sycs_dark.png +0 -0
  181. package/lib/vtx-restaurant-modal/imgs/syts.png +0 -0
  182. package/lib/vtx-restaurant-modal/imgs/syts_dark.png +0 -0
  183. package/lib/vtx-restaurant-modal/index.js +168 -0
  184. package/lib/vtx-restaurant-modal/style/index.js +1 -0
  185. package/lib/vtx-restaurant-modal/style/index.less +13 -0
  186. package/lib/vtx-road-modal/components/BaseInfo/index.less +218 -218
  187. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  188. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +4 -1
  189. package/lib/vtx-shxq-modal/components/Tfd/index.js +0 -1
  190. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +4 -1
  191. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +6 -2
  192. package/lib/vtx-tfd-modal/api.js +22 -27
  193. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +107 -59
  194. package/lib/vtx-tfd-modal/components/BaseInfo/index.less +5 -0
  195. package/lib/vtx-zg-modal/api.js +107 -0
  196. package/lib/vtx-zg-modal/components/BaseInfo/index.js +287 -0
  197. package/lib/vtx-zg-modal/components/BaseInfo/index.less +124 -0
  198. package/lib/vtx-zg-modal/components/index.js +1 -0
  199. package/lib/vtx-zg-modal/imgs/dot.png +0 -0
  200. package/lib/vtx-zg-modal/imgs/dot_done.png +0 -0
  201. package/lib/vtx-zg-modal/index.js +42 -0
  202. package/lib/vtx-zg-modal/style/index.js +3 -0
  203. package/lib/vtx-zg-modal/style/index.less +1 -0
  204. package/lib/vtx-zzz-modal/index.js +10 -10
  205. package/package.json +1 -1
  206. package/lib/vtx-car-modal/imgs/calendar/fsdf/durationqq.png +0 -0
@@ -1,6 +1,7 @@
1
1
  export { default as VmBarCharts } from "./vm-bar-charts";
2
2
  export { default as VmCalendar, VmCalendarInner, VmCalendarPercent } from "./vm-calendar";
3
3
  export { default as VmCardStatistics } from "./vm-card-statistics";
4
+ export { default as VmCustom } from "./vm-custom";
4
5
  export { default as VmEmpty } from "./vm-empty";
5
6
  export { default as VmExtraTab } from "./vm-extra-tab";
6
7
  export { default as VmFactor } from "./vm-factor";
@@ -12,10 +13,10 @@ export { default as VmLineCharts } from "./vm-line-charts";
12
13
  export { default as VmMap } from "./vm-map";
13
14
  export { default as VmPieCharts } from "./vm-pie-charts";
14
15
  export { default as VmProgress } from "./vm-progress";
16
+ export { default as VmRepairMaintain } from "./vm-repair-maintain";
15
17
  export { default as VmTable } from "./vm-table";
18
+ export { default as VmTabs } from "./vm-tabs";
16
19
  export { default as VmTag } from "./vm-tag";
17
20
  export { default as VmTitle } from "./vm-title";
18
21
  export { default as VmVideo } from "./vm-video";
19
- export { default as VmWrapper } from "./vm-wrapper";
20
- export { default as VmCustom } from "./vm-custom";
21
- export { default as VmTabs } from "./vm-tabs";
22
+ export { default as VmWrapper } from "./vm-wrapper";
@@ -104,7 +104,7 @@ var BarCharts = function BarCharts(_ref) {
104
104
  return {
105
105
  type: 'value',
106
106
  name: item.name,
107
- min: 0,
107
+ // min: 0,
108
108
  nameTextStyle: {
109
109
  color: chartFontColor,
110
110
  padding: index === 0 ? [0, 30, 0, 0] : [0, 0, 0, 30]
@@ -34,26 +34,23 @@
34
34
  border-top: 2px solid var(--vm-calendar-cell-active-border-color) !important;
35
35
  }
36
36
 
37
- .ant-picker-cell .ant-picker-cell-in-view .ant-picker-cell-today,
38
- .ant-picker-cell-selected {
39
- border-top: 2px solid var(--vm-calendar-cell-active-border-color) !important;
37
+ .ant-picker-cell .ant-picker-cell-in-view .ant-picker-cell-today {
38
+ border-top: none !important;
40
39
  }
41
40
 
42
41
  .ant-picker-cell .ant-picker-cell-in-view .ant-picker-cell-selected {
43
- border-top: 2px solid var(--vm-calendar-cell-active-border-color) !important;
42
+ border-top: none !important;
44
43
  background: var(--vm-calendar-bg-color) !important;
45
44
  }
46
45
 
47
46
  .ant-picker-calendar-full
48
47
  .ant-picker-panel
49
- .ant-picker-cell-selected
50
48
  .ant-picker-calendar-date-today {
51
49
  color: var(--vm-calendar-cell-active-border-color);
52
50
  border-top: 2px solid var(--vm-calendar-cell-active-border-color) !important;
53
51
  }
54
52
 
55
- .ant-picker-calendar-date-today,
56
- .ant-picker-cell-selected {
53
+ .ant-picker-calendar-date-today {
57
54
  background: transparent !important;
58
55
  border-top: 2px solid var(--vm-calendar-cell-active-border-color) !important;
59
56
  }
@@ -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
+ }
@@ -21,6 +21,8 @@ export default function VmFactor(_ref) {
21
21
  compareValue = _ref.compareValue,
22
22
  _ref$compareName = _ref.compareName,
23
23
  compareName = _ref$compareName === void 0 ? '与昨日比' : _ref$compareName,
24
+ _ref$compareUnit = _ref.compareUnit,
25
+ compareUnit = _ref$compareUnit === void 0 ? '' : _ref$compareUnit,
24
26
  _ref$isError = _ref.isError,
25
27
  isError = _ref$isError === void 0 ? false : _ref$isError,
26
28
  _ref$unitStyle = _ref.unitStyle,
@@ -73,11 +75,14 @@ export default function VmFactor(_ref) {
73
75
  }), compare && /*#__PURE__*/_jsxs("div", {
74
76
  className: "".concat(prefix, "-compare"),
75
77
  children: [/*#__PURE__*/_jsxs("div", {
76
- children: [compareName, "\xA0\xA0", Math.abs(compareValue), unit]
77
- }), compareValue < 0 ? /*#__PURE__*/_jsx(DownIcon, {
78
- fill: '#f5222d'
79
- }) : /*#__PURE__*/_jsx(UpIcon, {
80
- fill: '#0fb964'
78
+ children: [compareName, "\xA0\xA0", Math.abs(compareValue), compareUnit || unit]
79
+ }), /*#__PURE__*/_jsxs("div", {
80
+ className: "".concat(prefix, "-compare-unit"),
81
+ children: [compareValue < 0 && /*#__PURE__*/_jsx(DownIcon, {
82
+ fill: '#f5222d'
83
+ }), compareValue > 0 && /*#__PURE__*/_jsx(UpIcon, {
84
+ fill: '#0fb964'
85
+ })]
81
86
  })]
82
87
  })]
83
88
  })]
@@ -15,6 +15,10 @@
15
15
  display: flex;
16
16
  align-items: center;
17
17
  color: var(--sub-text-color);
18
+ gap: 2px;
19
+ &-unit {
20
+ transform: translateY(2px);
21
+ }
18
22
  }
19
23
  &-value_normal {
20
24
  font-size: 14px;
@@ -31,7 +35,7 @@
31
35
  }
32
36
  }
33
37
  &-value_normal-error {
34
- color: #F5222D;
38
+ color: #f5222d;
35
39
  }
36
40
  }
37
41
  .vm-factor-sm {
@@ -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
+ }
@@ -54,7 +54,7 @@
54
54
  --color: #fff;
55
55
  --bg-color: #0b588e;
56
56
  --hover-color: #018aff;
57
- --border-color: #0b588e;
57
+ --border-color: #0b6baf;
58
58
  }
59
59
 
60
60
  .ant-select-selector {
@@ -65,6 +65,7 @@
65
65
  .ant-select-selection-placeholder {
66
66
  color: var(--color);
67
67
  }
68
+
68
69
  &:hover {
69
70
  .ant-select-selector {
70
71
  border: 1px solid var(--hover-color) !important;
@@ -38,7 +38,7 @@ function InfoCollection(props) {
38
38
  padding: padding !== null && padding !== void 0 ? padding : 'unset'
39
39
  }),
40
40
  children: data.map(function (item) {
41
- var _item$value;
41
+ var _item$key, _item$value;
42
42
  var style = {};
43
43
  if (item !== null && item !== void 0 && item.color) style.color = item.color;
44
44
  return /*#__PURE__*/_jsxs("div", {
@@ -47,7 +47,7 @@ function InfoCollection(props) {
47
47
  marginRight: horizontal ? 0 : 12,
48
48
  marginBottom: gap,
49
49
  alignItems: isValueCenter ? 'center' : 'unset',
50
- width: item.isAddress || ['address', 'divisionName', 'accUnitName', 'manageUnitName', 'description', 'panoramaLinkAddress'].includes(item.key) || item.key.indexOf('hoto') > -1 || ['MAP', 'GD_ENTRANCE'].includes(item.componentType || '') ? '100%' : item.width || width
50
+ width: item.isAddress || ['address', 'divisionName', 'accUnitName', 'manageUnitName', 'description', 'panoramaLinkAddress'].includes(item.key) || ((_item$key = item.key) === null || _item$key === void 0 ? void 0 : _item$key.indexOf('hoto')) > -1 || ['MAP', 'GD_ENTRANCE'].includes(item.componentType || '') ? '100%' : item.width || width
51
51
  },
52
52
  children: [/*#__PURE__*/_jsx("div", {
53
53
  className: "info-label-b",
@@ -34,11 +34,11 @@ var LineCharts = function LineCharts(_ref) {
34
34
  tooltipOption = _ref$tooltipOption === void 0 ? {} : _ref$tooltipOption,
35
35
  _ref$legendOption = _ref.legendOption,
36
36
  legendOption = _ref$legendOption === void 0 ? {} : _ref$legendOption;
37
- var lineColors = ['#438EF7', '#40AAF3', '#62C4F9', '#20BB70', '#1DD27B', '#49E6A2', '#F2953A', '#FAAB59', '#F9C665', '#8A7FEE'];
38
37
  var _useSettings = useSettings(),
39
38
  chartFontColor = _useSettings.chartFontColor,
40
39
  chartLineColor = _useSettings.chartLineColor,
41
40
  theme = _useSettings.theme;
41
+ var lineColors = ['#438EF7', '#53CB74', '#FABB43', '#FF8746', '#31C5E9', '#7DDF9F', '#B894F9', '#FC4F66', '#5D75FF'];
42
42
  var option = {
43
43
  tooltip: _objectSpread({
44
44
  trigger: 'axis',
@@ -59,7 +59,7 @@ export default function VmOlMap(_ref) {
59
59
  function formatData(arr, type) {
60
60
  var data = [],
61
61
  style = {},
62
- coordType = ['amap', 'bmap'].includes(mapType) ? mapType : 'wgs84';
62
+ coordType = 'wgs84';
63
63
  arr.forEach(function (item) {
64
64
  if (type === 'polygon' || type === 'polyline') {
65
65
  data.push(_objectSpread(_objectSpread({}, item), {}, {
@@ -140,10 +140,10 @@ export default function VmOlMap(_ref) {
140
140
  if (mapRef.current && ((mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length) > 0 || (mapPolygons === null || mapPolygons === void 0 ? void 0 : mapPolygons.length) > 0)) {
141
141
  var _mapRef$current, _polygons$data, _points$data;
142
142
  (_mapRef$current = mapRef.current) === null || _mapRef$current === void 0 || _mapRef$current.fitView({
143
- geometryInfo: (((_polygons$data = polygons.data) === null || _polygons$data === void 0 ? void 0 : _polygons$data[0]) || ((_points$data = points.data) === null || _points$data === void 0 ? void 0 : _points$data[0])).geometryInfo
143
+ geometryInfo: ((polygons === null || polygons === void 0 || (_polygons$data = polygons.data) === null || _polygons$data === void 0 ? void 0 : _polygons$data[0]) || (points === null || points === void 0 || (_points$data = points.data) === null || _points$data === void 0 ? void 0 : _points$data[0])).geometryInfo
144
144
  }, {
145
145
  maxZoom: 16,
146
- padding: [0, 0, 0, 0]
146
+ padding: [10, 10, 10, 10]
147
147
  });
148
148
  }
149
149
  }
@@ -163,8 +163,8 @@ export default function VmOlMap(_ref) {
163
163
  }, [JSON.stringify(mapPoints), JSON.stringify(mapPolygons), JSON.stringify(newMapPoints)]);
164
164
 
165
165
  // 自定义图层逻辑
166
- /**
167
- * 需要引入ol.js和olScreen.js
166
+ /**
167
+ * 需要引入ol.js和olScreen.js
168
168
  */
169
169
  var layers = [];
170
170
  mapInfo === null || mapInfo === void 0 || (_mapInfo$olProps = mapInfo.olProps) === null || _mapInfo$olProps === void 0 || _mapInfo$olProps.olCoverage.forEach(function (item) {
@@ -29,7 +29,9 @@ var PieCharts = function PieCharts(_ref) {
29
29
  _ref$innerRadius = _ref.innerRadius,
30
30
  innerRadius = _ref$innerRadius === void 0 ? ['30%', '45%'] : _ref$innerRadius,
31
31
  _ref$outerRadius = _ref.outerRadius,
32
- outerRadius = _ref$outerRadius === void 0 ? ['45%', '50%'] : _ref$outerRadius;
32
+ outerRadius = _ref$outerRadius === void 0 ? ['45%', '50%'] : _ref$outerRadius,
33
+ _ref$center = _ref.center,
34
+ center = _ref$center === void 0 ? null : _ref$center;
33
35
  var _useSettings = useSettings(),
34
36
  chartFontColor = _useSettings.chartFontColor,
35
37
  isDark = _useSettings.isDark;
@@ -65,7 +67,7 @@ var PieCharts = function PieCharts(_ref) {
65
67
  fontSize: 14
66
68
  },
67
69
  space: {
68
- width: 12
70
+ width: 20
69
71
  },
70
72
  number: {
71
73
  width: 50,
@@ -93,7 +95,7 @@ var PieCharts = function PieCharts(_ref) {
93
95
  var info = dataList[index] || {};
94
96
  var value = info.value;
95
97
  var percent = getPercentValue(_.map(dataList, 'value'), index, 2);
96
- return "{name|".concat(name.slice(0, nameLength)).concat(name.length > nameLength ? '...' : '', "}{number|").concat(value || 0).concat(unit || '', "}{percent|").concat(percent, "%}");
98
+ return "{name|".concat(name.slice(0, nameLength)).concat(name.length > nameLength ? '...' : '', "}{number|").concat(value || 0).concat(unit || '', "}{space|}{percent|").concat(percent, "%}");
97
99
  },
98
100
  tooltip: {
99
101
  show: true
@@ -103,7 +105,7 @@ var PieCharts = function PieCharts(_ref) {
103
105
  name: name,
104
106
  type: 'pie',
105
107
  radius: innerRadius,
106
- center: ['25%', '50%'],
108
+ center: center || ['25%', '50%'],
107
109
  labelLine: {
108
110
  show: false // 去除从圆心指向数据块的线条
109
111
  },
@@ -129,7 +131,7 @@ var PieCharts = function PieCharts(_ref) {
129
131
  label: {
130
132
  show: false
131
133
  },
132
- center: ['25%', '50%'],
134
+ center: center || ['25%', '50%'],
133
135
  data: dataList.map(function (item, index) {
134
136
  return _objectSpread(_objectSpread({}, item), {}, {
135
137
  itemStyle: {
@@ -0,0 +1,46 @@
1
+ /**
2
+ * 维保信息汇总
3
+ */
4
+ import useSettings from "../../_hooks/useSettings";
5
+ import amount from "./imgs/amount.png";
6
+ import count from "./imgs/count.png";
7
+ import VmFactor from "../vm-factor";
8
+ import amountLight from "./imgs/amount_light.png";
9
+ import countLight from "./imgs/count_light.png";
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+ var RmInfoSummary = function RmInfoSummary(props) {
12
+ var data = props.data;
13
+ var _useSettings = useSettings(),
14
+ isDark = _useSettings.isDark;
15
+ return /*#__PURE__*/_jsxs("div", {
16
+ className: "rm-summary",
17
+ children: [/*#__PURE__*/_jsx(VmFactor, {
18
+ name: "\u5E74\u5EA6\u7EF4\u4FDD\u603B\u6B21\u6570",
19
+ value: (data === null || data === void 0 ? void 0 : data.thisYearCount) || 0,
20
+ img: isDark ? count : countLight,
21
+ fontType: "blue",
22
+ unit: "\u6B21",
23
+ unitStyle: {
24
+ fontSize: 14
25
+ },
26
+ compare: true,
27
+ compareName: "\u5E74\u540C\u6BD4",
28
+ compareValue: data === null || data === void 0 ? void 0 : data.thisYearOnLastYearCount,
29
+ compareUnit: "%"
30
+ }), /*#__PURE__*/_jsx(VmFactor, {
31
+ name: "\u5E74\u5EA6\u7EF4\u4FDD\u603B\u91D1\u989D",
32
+ value: (data === null || data === void 0 ? void 0 : data.thisYearFee) || 0,
33
+ img: isDark ? amount : amountLight,
34
+ fontType: "yellow",
35
+ unit: "\u5143",
36
+ unitStyle: {
37
+ fontSize: 14
38
+ },
39
+ compare: true,
40
+ compareName: "\u5E74\u540C\u6BD4",
41
+ compareValue: data === null || data === void 0 ? void 0 : data.thisYearOnLastYearFee,
42
+ compareUnit: "%"
43
+ })]
44
+ });
45
+ };
46
+ export default RmInfoSummary;
@@ -0,0 +1,44 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
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
+ /**
8
+ * 月度趋势分析
9
+ */
10
+ import { VmEmpty, VmLineCharts } from "../../_components";
11
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
+ var RmMonthTrend = function RmMonthTrend(_ref) {
13
+ var data = _ref.data;
14
+ var legends = data.legends,
15
+ names = data.names,
16
+ values = data.values,
17
+ loading = data.loading;
18
+ return /*#__PURE__*/_jsxs("div", {
19
+ className: "rm-month-trend",
20
+ children: ["\u6708\u5EA6\u8D8B\u52BF\u5206\u6790", /*#__PURE__*/_jsx("div", {
21
+ className: "rm-month-trend-chart",
22
+ children: values !== null && values !== void 0 && values.length ? /*#__PURE__*/_jsx(VmLineCharts, {
23
+ xAxis: names,
24
+ dataList: values === null || values === void 0 ? void 0 : values.map(function (ele, index) {
25
+ return _objectSpread(_objectSpread({}, ele), {}, {
26
+ name: legends[index],
27
+ data: ele
28
+ });
29
+ }),
30
+ unit: "\u6B21",
31
+ loading: loading,
32
+ legendOption: {
33
+ width: '95%'
34
+ },
35
+ gridOption: {
36
+ top: 36
37
+ }
38
+ }) : /*#__PURE__*/_jsx(VmEmpty, {
39
+ type: "NO_CHART"
40
+ })
41
+ })]
42
+ });
43
+ };
44
+ export default RmMonthTrend;
@@ -0,0 +1,157 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
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
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
8
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
+ /**
14
+ * 维保记录
15
+ */
16
+ import { useSetState } from 'ahooks';
17
+ import moment from 'moment';
18
+ import { VmTable, VmWrapper } from "../../_components";
19
+ import { BaseService } from "./api";
20
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
+ export default function RmRecord(props) {
22
+ var id = props.id;
23
+ var _useSetState = useSetState({
24
+ pagination: {
25
+ current: 1,
26
+ pageSize: 10,
27
+ total: 0
28
+ },
29
+ sorter: ''
30
+ }),
31
+ _useSetState2 = _slicedToArray(_useSetState, 2),
32
+ state = _useSetState2[0],
33
+ setState = _useSetState2[1];
34
+ var pagination = state.pagination,
35
+ sorter = state.sorter;
36
+ var startDate = moment().startOf('y').format('YYYY-MM-DD HH:mm:ss');
37
+ var endDate = moment().format('YYYY-MM-DD HH:mm:ss');
38
+ var _BaseService$useRmRec = BaseService.useRmRecord(id, startDate, endDate, pagination.current - 1, sorter),
39
+ rmRecord = _BaseService$useRmRec.rmRecord;
40
+ var getColor = function getColor(code) {
41
+ var color = '#B4B4B4';
42
+ switch (code) {
43
+ case 'AUDIT_PASSED':
44
+ color = '#1FEFA9';
45
+ break;
46
+ case 'AUDIT_FAILED':
47
+ color = '#FF6A65';
48
+ break;
49
+ case 'TO_BE_AUDITED':
50
+ color = '#FF6A65';
51
+ break;
52
+ case 'REVOKED':
53
+ color = '#FA69FF';
54
+ break;
55
+ case 'AUDITING':
56
+ color = '#FFBD1E';
57
+ break;
58
+ default:
59
+ break;
60
+ }
61
+ return color;
62
+ };
63
+ var columns = [{
64
+ title: '工单编号',
65
+ dataIndex: 'workOrderNo',
66
+ key: 'workOrderNo',
67
+ width: 120,
68
+ ellipsis: true
69
+ }, {
70
+ title: '维保类型',
71
+ dataIndex: 'maintainTypeName',
72
+ key: 'maintainTypeName',
73
+ width: 120,
74
+ ellipsis: true
75
+ }, {
76
+ title: '申请金额',
77
+ dataIndex: 'fee',
78
+ key: 'fee',
79
+ width: 100,
80
+ sorter: true,
81
+ render: function render(text) {
82
+ return /*#__PURE__*/_jsx("span", {
83
+ style: {
84
+ color: '#FF7272'
85
+ },
86
+ children: text
87
+ });
88
+ }
89
+ }, {
90
+ title: '申请人',
91
+ dataIndex: 'applyUserName',
92
+ key: 'applyUserName',
93
+ width: 100
94
+ }, {
95
+ title: '申请时间',
96
+ dataIndex: 'applyTime',
97
+ key: 'applyTime',
98
+ width: 150,
99
+ sorter: true
100
+ }, {
101
+ title: '维保状态',
102
+ dataIndex: 'auditStatusDesc',
103
+ key: 'auditStatusDesc',
104
+ width: 120,
105
+ render: function render(text, record) {
106
+ return /*#__PURE__*/_jsxs("div", {
107
+ style: {
108
+ color: getColor(record.auditStatus)
109
+ },
110
+ children: [/*#__PURE__*/_jsx("div", {
111
+ style: {
112
+ display: 'inline-block',
113
+ width: '8px',
114
+ height: '8px',
115
+ borderRadius: '50%',
116
+ marginRight: '6px',
117
+ background: getColor(record.auditStatus)
118
+ }
119
+ }), text]
120
+ });
121
+ }
122
+ }, {
123
+ title: '维保时间',
124
+ dataIndex: 'lastAuditTime',
125
+ key: 'lastAuditTime',
126
+ width: 150,
127
+ sorter: true
128
+ }];
129
+ var handleTableChange = function handleTableChange(sorter) {
130
+ setState({
131
+ sorter: "".concat(sorter.columnKey || 'applyTime', ",").concat(sorter.order === 'ascend' ? 'ASC' : 'DESC')
132
+ });
133
+ };
134
+ var pageChange = function pageChange(page) {
135
+ setState({
136
+ pagination: _objectSpread(_objectSpread({}, pagination), {}, {
137
+ current: page
138
+ })
139
+ });
140
+ };
141
+ var tableProps = {
142
+ pagination: _objectSpread(_objectSpread({}, pagination), {}, {
143
+ total: rmRecord.total,
144
+ defaultPageSize: 10,
145
+ onChange: pageChange
146
+ }),
147
+ handleTableChange: handleTableChange,
148
+ height: 180,
149
+ dataSource: rmRecord.rows
150
+ };
151
+ return /*#__PURE__*/_jsx(VmWrapper, {
152
+ title: "\u7EF4\u4FDD\u8BB0\u5F55",
153
+ children: /*#__PURE__*/_jsx(VmTable, _objectSpread({
154
+ columns: columns
155
+ }, tableProps))
156
+ });
157
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * 维保类型分析
3
+ */
4
+ import { sumBy } from 'lodash';
5
+ import { VmEmpty, VmPieCharts } from "../../_components";
6
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
+ var RmType = function RmType(props) {
8
+ var data = props.data,
9
+ loading = props.loading;
10
+ return /*#__PURE__*/_jsxs("div", {
11
+ className: "rm-type",
12
+ children: ["\u7EF4\u4FDD\u7C7B\u578B\u5206\u6790", /*#__PURE__*/_jsx("div", {
13
+ className: "rm-type-chart",
14
+ children: (data === null || data === void 0 ? void 0 : data.length) > 0 ? /*#__PURE__*/_jsx(VmPieCharts, {
15
+ dataList: data,
16
+ name: "\u7EF4\u4FDD\u7C7B\u578B",
17
+ title: "\u603B\u6570(\u6B21)",
18
+ total: sumBy(data, 'value'),
19
+ loading: loading,
20
+ unit: "\u6B21"
21
+ }) : /*#__PURE__*/_jsx(VmEmpty, {
22
+ type: "NO_CHART",
23
+ style: {
24
+ height: '100%',
25
+ marginLeft: '50%',
26
+ transform: 'translateX(-50%)'
27
+ }
28
+ })
29
+ })]
30
+ });
31
+ };
32
+ export default RmType;