@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.
- package/lib/_components/index.js +4 -3
- package/lib/_components/vm-bar-charts/index.js +1 -1
- package/lib/_components/vm-calendar/style/index.less +4 -7
- package/lib/_components/vm-card-statistics/index.less +27 -27
- package/lib/_components/vm-factor/index.js +10 -5
- package/lib/_components/vm-factor/style/index.less +5 -1
- package/lib/_components/vm-factor-list/index.less +11 -11
- package/lib/_components/vm-filter/style/index.less +2 -1
- package/lib/_components/vm-info-collection/index.js +2 -2
- package/lib/_components/vm-line-charts/index.js +1 -1
- package/lib/_components/vm-map/index.js +5 -5
- package/lib/_components/vm-pie-charts/index.js +7 -5
- package/lib/_components/vm-repair-maintain/RmInfoSummary.js +46 -0
- package/lib/_components/vm-repair-maintain/RmMonthTrend.js +44 -0
- package/lib/_components/vm-repair-maintain/RmRecord.js +157 -0
- package/lib/_components/vm-repair-maintain/RmType.js +32 -0
- package/lib/_components/vm-repair-maintain/api.js +92 -0
- package/lib/_components/vm-repair-maintain/imgs/amount.png +0 -0
- package/lib/_components/vm-repair-maintain/imgs/amount_light.png +0 -0
- package/lib/_components/vm-repair-maintain/imgs/count.png +0 -0
- package/lib/_components/vm-repair-maintain/imgs/count_light.png +0 -0
- package/lib/_components/vm-repair-maintain/index.js +56 -0
- package/lib/_components/vm-repair-maintain/style/index.js +1 -0
- package/lib/_components/vm-repair-maintain/style/index.less +25 -0
- package/lib/_components/vm-table/index.js +7 -4
- package/lib/_components/vm-table/style/index.less +3 -2
- package/lib/_components/vm-tag/style/index.less +9 -0
- package/lib/_components/vm-title/index.js +3 -2
- package/lib/_components/vm-wrapper/index.js +32 -10
- package/lib/_components/vm-wrapper/style/index.less +28 -0
- package/lib/index.js +7 -2
- package/lib/style/index.less +2 -6
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +2 -1
- package/lib/vtx-base-modal/Header/index.less +98 -98
- package/lib/vtx-base-modal/Tabs/index.less +31 -31
- package/lib/vtx-base-modal/index.js +5 -2
- package/lib/vtx-car-modal/api.js +4 -3
- package/lib/vtx-car-modal/components/Info/index.less +6 -6
- package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +3 -0
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -0
- package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +5 -1
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
- package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -0
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -0
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +9 -3
- package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +5 -1
- package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +7 -6
- package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +20 -12
- package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +3 -0
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -0
- package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +3 -0
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -0
- package/lib/vtx-car-modal/index.js +16 -2
- package/lib/vtx-cc-cp-modal/api.js +381 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +120 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +27 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +32 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +41 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +69 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +103 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +75 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +58 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +142 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +63 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +16 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js +168 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.less +93 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +27 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +32 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +118 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +41 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +69 -0
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +111 -0
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +3 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +46 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +81 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +78 -0
- package/lib/vtx-cc-cp-modal/components/index.js +7 -0
- package/lib/vtx-cc-cp-modal/imgs/rwnsjts.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/rwnsjts_dark.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/rwnsjzl.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/rwnsjzl_dark.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/rwnsscs.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/rwnsscs_dark.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/zsjts.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/zsjts_dark.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/zsjzl.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/zsjzl_dark.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/zsscs.png +0 -0
- package/lib/vtx-cc-cp-modal/imgs/zsscs_dark.png +0 -0
- package/lib/vtx-cc-cp-modal/index.js +119 -0
- package/lib/vtx-cc-cp-modal/style/index.js +1 -0
- package/lib/vtx-cc-cp-modal/style/index.less +13 -0
- package/lib/vtx-cc-unit-modal/api.js +361 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +69 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +66 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +60 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +91 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +118 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -0
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +129 -0
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +95 -0
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +126 -0
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +149 -0
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +127 -0
- package/lib/vtx-cc-unit-modal/components/index.js +7 -0
- package/lib/vtx-cc-unit-modal/imgs/jccc.png +0 -0
- package/lib/vtx-cc-unit-modal/imgs/jccc_dark.png +0 -0
- package/lib/vtx-cc-unit-modal/imgs/jcl.png +0 -0
- package/lib/vtx-cc-unit-modal/imgs/jcl_dark.png +0 -0
- package/lib/vtx-cc-unit-modal/imgs/syts.png +0 -0
- package/lib/vtx-cc-unit-modal/imgs/syts_dark.png +0 -0
- package/lib/vtx-cc-unit-modal/imgs/syzl.png +0 -0
- package/lib/vtx-cc-unit-modal/imgs/syzl_dark.png +0 -0
- package/lib/vtx-cc-unit-modal/index.js +137 -0
- package/lib/vtx-cc-unit-modal/style/index.js +1 -0
- package/lib/vtx-cc-unit-modal/style/index.less +14 -0
- package/lib/vtx-cp-modal/api.js +3 -3
- package/lib/vtx-cp-modal/index.js +4 -1
- package/lib/vtx-default-modal/index.js +10 -7
- package/lib/vtx-device-modal/api.js +531 -0
- package/lib/vtx-device-modal/components/BaseInfo/index.js +140 -0
- package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +279 -0
- package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +611 -0
- package/lib/vtx-device-modal/components/DataAnalysis/TabsList.js +23 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +24 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -0
- package/lib/vtx-device-modal/components/index.js +3 -0
- package/lib/vtx-device-modal/config.js +21 -0
- package/lib/vtx-device-modal/imgs/current.png +0 -0
- package/lib/vtx-device-modal/imgs/current_dark.png +0 -0
- package/lib/vtx-device-modal/imgs/history.png +0 -0
- package/lib/vtx-device-modal/imgs/history_dark.png +0 -0
- package/lib/vtx-device-modal/index.js +96 -0
- package/lib/vtx-device-modal/style/index.js +1 -0
- package/lib/vtx-device-modal/style/index.less +1 -0
- package/lib/vtx-df-modal/index.js +11 -9
- package/lib/vtx-kh-modal/api2.js +178 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +197 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +101 -0
- package/lib/vtx-kh-modal/components/Record/index.js +204 -0
- package/lib/vtx-kh-modal/components/Record/index.less +7 -0
- package/lib/vtx-kh-modal/components/index.js +3 -0
- package/lib/vtx-kh-modal/imgs/count.png +0 -0
- package/lib/vtx-kh-modal/imgs/count_light.png +0 -0
- package/lib/vtx-kh-modal/imgs/question_bg.png +0 -0
- package/lib/vtx-kh-modal/imgs/question_bg_light.png +0 -0
- package/lib/vtx-kh-modal/imgs/score.png +0 -0
- package/lib/vtx-kh-modal/imgs/score_light.png +0 -0
- package/lib/vtx-kh-modal/imgs/subtract.png +0 -0
- package/lib/vtx-kh-modal/imgs/subtract_light.png +0 -0
- package/lib/vtx-kh-modal/index.js +46 -0
- package/lib/vtx-kh-modal/style/index.js +4 -0
- package/lib/vtx-kh-modal/style/index.less +1 -0
- package/lib/vtx-restaurant-modal/api.js +297 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +47 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +31 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +36 -0
- package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +41 -0
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +69 -0
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +64 -0
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +68 -0
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +87 -0
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +61 -0
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +60 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.js +74 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -0
- package/lib/vtx-restaurant-modal/components/Calendar/index.js +171 -0
- package/lib/vtx-restaurant-modal/components/Calendar/index.less +93 -0
- package/lib/vtx-restaurant-modal/components/Collection/index.js +86 -0
- package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +111 -0
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +299 -0
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +198 -0
- package/lib/vtx-restaurant-modal/components/index.js +7 -0
- package/lib/vtx-restaurant-modal/config.js +283 -0
- package/lib/vtx-restaurant-modal/imgs/csl.png +0 -0
- package/lib/vtx-restaurant-modal/imgs/csl_dark.png +0 -0
- package/lib/vtx-restaurant-modal/imgs/sycs.png +0 -0
- package/lib/vtx-restaurant-modal/imgs/sycs_dark.png +0 -0
- package/lib/vtx-restaurant-modal/imgs/syts.png +0 -0
- package/lib/vtx-restaurant-modal/imgs/syts_dark.png +0 -0
- package/lib/vtx-restaurant-modal/index.js +168 -0
- package/lib/vtx-restaurant-modal/style/index.js +1 -0
- package/lib/vtx-restaurant-modal/style/index.less +13 -0
- package/lib/vtx-road-modal/components/BaseInfo/index.less +218 -218
- package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
- package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +4 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.js +0 -1
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +4 -1
- package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +6 -2
- package/lib/vtx-tfd-modal/api.js +22 -27
- package/lib/vtx-tfd-modal/components/BaseInfo/index.js +107 -59
- package/lib/vtx-tfd-modal/components/BaseInfo/index.less +5 -0
- package/lib/vtx-zg-modal/api.js +107 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +287 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +124 -0
- package/lib/vtx-zg-modal/components/index.js +1 -0
- package/lib/vtx-zg-modal/imgs/dot.png +0 -0
- package/lib/vtx-zg-modal/imgs/dot_done.png +0 -0
- package/lib/vtx-zg-modal/index.js +42 -0
- package/lib/vtx-zg-modal/style/index.js +3 -0
- package/lib/vtx-zg-modal/style/index.less +1 -0
- package/lib/vtx-zzz-modal/index.js +10 -10
- package/package.json +1 -1
- package/lib/vtx-car-modal/imgs/calendar/fsdf/durationqq.png +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { request } from '@vtx/utils';
|
|
2
|
+
import { useRequest } from 'ahooks';
|
|
3
|
+
var BaseService = {
|
|
4
|
+
useRepairMaintain: function useRepairMaintain(id, dateValue, endDate) {
|
|
5
|
+
// 汇总
|
|
6
|
+
var _useRequest = useRequest(function () {
|
|
7
|
+
return request.get('/cloud/jcss-reborn/maintainRecord/getMaintainRecordStatisticsByFacilityId', {
|
|
8
|
+
data: {
|
|
9
|
+
facilityId: id,
|
|
10
|
+
dateValue: dateValue
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
}, {
|
|
14
|
+
refreshDeps: [id, dateValue]
|
|
15
|
+
}),
|
|
16
|
+
rmSummaryRes = _useRequest.data;
|
|
17
|
+
var rmSummary = (rmSummaryRes === null || rmSummaryRes === void 0 ? void 0 : rmSummaryRes.data) || {};
|
|
18
|
+
|
|
19
|
+
//维保类型
|
|
20
|
+
var _useRequest2 = useRequest(function () {
|
|
21
|
+
return request.get('/cloud/jcss-reborn/maintainRecord/maintainRecordStatisticsByType', {
|
|
22
|
+
data: {
|
|
23
|
+
facilityId: id,
|
|
24
|
+
dateValue: dateValue
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}, {
|
|
28
|
+
refreshDeps: [id, dateValue]
|
|
29
|
+
}),
|
|
30
|
+
rmTypeRes = _useRequest2.data;
|
|
31
|
+
var rmType = [];
|
|
32
|
+
if (Array.isArray(rmTypeRes === null || rmTypeRes === void 0 ? void 0 : rmTypeRes.data)) {
|
|
33
|
+
rmType = rmTypeRes.data.map(function (ele) {
|
|
34
|
+
return {
|
|
35
|
+
name: ele.typeName,
|
|
36
|
+
value: ele.count
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
//月度趋势
|
|
42
|
+
var _useRequest3 = useRequest(function () {
|
|
43
|
+
return request.get('/cloud/jcss-reborn/maintainRecord/maintainRecordStatisticsByMonth', {
|
|
44
|
+
data: {
|
|
45
|
+
facilityId: id,
|
|
46
|
+
startDate: dateValue,
|
|
47
|
+
endDate: endDate
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}, {
|
|
51
|
+
refreshDeps: [id, dateValue, endDate]
|
|
52
|
+
}),
|
|
53
|
+
rmMonthTrendRes = _useRequest3.data,
|
|
54
|
+
loading = _useRequest3.loading;
|
|
55
|
+
var rmMonthTrend = (rmMonthTrendRes === null || rmMonthTrendRes === void 0 ? void 0 : rmMonthTrendRes.data) || {
|
|
56
|
+
legends: [],
|
|
57
|
+
names: [],
|
|
58
|
+
values: []
|
|
59
|
+
};
|
|
60
|
+
return {
|
|
61
|
+
rmSummary: rmSummary,
|
|
62
|
+
rmType: rmType,
|
|
63
|
+
rmMonthTrend: rmMonthTrend,
|
|
64
|
+
loading: loading
|
|
65
|
+
};
|
|
66
|
+
},
|
|
67
|
+
useRmRecord: function useRmRecord(id, applyTimeBegin, applyTimeEnd, page, sort) {
|
|
68
|
+
var _useRequest4 = useRequest(function () {
|
|
69
|
+
return request.get('/cloud/jcss-reborn/maintainRecord/maintainAllPage', {
|
|
70
|
+
data: {
|
|
71
|
+
facilityIds: id,
|
|
72
|
+
applyTimeBegin: applyTimeBegin,
|
|
73
|
+
applyTimeEnd: applyTimeEnd,
|
|
74
|
+
page: page,
|
|
75
|
+
size: 10,
|
|
76
|
+
sort: sort
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}, {
|
|
80
|
+
refreshDeps: [id, applyTimeBegin, applyTimeEnd, page, sort]
|
|
81
|
+
}),
|
|
82
|
+
rmRecordRes = _useRequest4.data;
|
|
83
|
+
var rmRecord = (rmRecordRes === null || rmRecordRes === void 0 ? void 0 : rmRecordRes.data) || {
|
|
84
|
+
total: 0,
|
|
85
|
+
rows: []
|
|
86
|
+
};
|
|
87
|
+
return {
|
|
88
|
+
rmRecord: rmRecord
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
export { BaseService };
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 通用-维保信息
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { Col, Row } from 'antd';
|
|
6
|
+
import moment from 'moment';
|
|
7
|
+
import { VmWrapper } from "../../_components";
|
|
8
|
+
import { BaseService } from "./api";
|
|
9
|
+
import RmInfoSummary from "./RmInfoSummary";
|
|
10
|
+
import RmMonthTrend from "./RmMonthTrend";
|
|
11
|
+
import RmRecord from "./RmRecord";
|
|
12
|
+
import RmType from "./RmType";
|
|
13
|
+
import "./style";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
var RepaireMaintain = function RepaireMaintain(props) {
|
|
16
|
+
var id = props.id;
|
|
17
|
+
var date = moment().format('YYYY-MM-DD');
|
|
18
|
+
var _BaseService$useRepai = BaseService.useRepairMaintain(id, date, date),
|
|
19
|
+
rmSummary = _BaseService$useRepai.rmSummary,
|
|
20
|
+
rmType = _BaseService$useRepai.rmType,
|
|
21
|
+
rmMonthTrend = _BaseService$useRepai.rmMonthTrend,
|
|
22
|
+
loading = _BaseService$useRepai.loading;
|
|
23
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
24
|
+
className: "repair-maintain",
|
|
25
|
+
children: [/*#__PURE__*/_jsx(VmWrapper, {
|
|
26
|
+
title: "\u7EF4\u4FDD\u6C47\u603B\u5206\u6790",
|
|
27
|
+
children: /*#__PURE__*/_jsxs(Row, {
|
|
28
|
+
gutter: [12, 16],
|
|
29
|
+
children: [/*#__PURE__*/_jsx(Col, {
|
|
30
|
+
span: 24,
|
|
31
|
+
children: /*#__PURE__*/_jsx(RmInfoSummary, {
|
|
32
|
+
data: rmSummary
|
|
33
|
+
})
|
|
34
|
+
}), /*#__PURE__*/_jsx(Col, {
|
|
35
|
+
span: 12,
|
|
36
|
+
children: /*#__PURE__*/_jsx(RmType, {
|
|
37
|
+
data: rmType,
|
|
38
|
+
loading: loading
|
|
39
|
+
})
|
|
40
|
+
}), /*#__PURE__*/_jsx(Col, {
|
|
41
|
+
span: 12,
|
|
42
|
+
children: /*#__PURE__*/_jsx(RmMonthTrend, {
|
|
43
|
+
data: rmMonthTrend,
|
|
44
|
+
loading: loading
|
|
45
|
+
})
|
|
46
|
+
})]
|
|
47
|
+
})
|
|
48
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
49
|
+
className: "rm-record",
|
|
50
|
+
children: /*#__PURE__*/_jsx(RmRecord, {
|
|
51
|
+
id: id
|
|
52
|
+
})
|
|
53
|
+
})]
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
export default RepaireMaintain;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.less";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.repair-maintain {
|
|
2
|
+
color: var(--modal-title-color);
|
|
3
|
+
.rm-summary {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-evenly;
|
|
6
|
+
align-items: center;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rm-type {
|
|
10
|
+
&-chart {
|
|
11
|
+
height: 218px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rm-month-trend {
|
|
16
|
+
&-chart {
|
|
17
|
+
height: 218px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rm-record {
|
|
22
|
+
min-height: 200px;
|
|
23
|
+
margin-top: 16px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -74,6 +74,9 @@ var VMTable = function VMTable(props) {
|
|
|
74
74
|
resizeObserver.observe(tableRef.current.parentElement, {
|
|
75
75
|
box: 'border-box'
|
|
76
76
|
});
|
|
77
|
+
resizeObserver.observe(tableRef.current, {
|
|
78
|
+
box: 'border-box'
|
|
79
|
+
});
|
|
77
80
|
}
|
|
78
81
|
return function () {
|
|
79
82
|
resizeObserver.disconnect();
|
|
@@ -170,10 +173,10 @@ var VMTable = function VMTable(props) {
|
|
|
170
173
|
});
|
|
171
174
|
};
|
|
172
175
|
|
|
173
|
-
/**
|
|
174
|
-
* 表格导出按钮
|
|
175
|
-
* @param props
|
|
176
|
-
* @returns
|
|
176
|
+
/**
|
|
177
|
+
* 表格导出按钮
|
|
178
|
+
* @param props
|
|
179
|
+
* @returns
|
|
177
180
|
*/
|
|
178
181
|
|
|
179
182
|
export var ExportBtn = function ExportBtn(props) {
|
|
@@ -167,6 +167,7 @@
|
|
|
167
167
|
white-space: nowrap;
|
|
168
168
|
// background-color: transparent;
|
|
169
169
|
border: none;
|
|
170
|
+
background: var(--table-bg) !important;
|
|
170
171
|
}
|
|
171
172
|
&:hover {
|
|
172
173
|
background-color: var(--scroll-bar-hover-bg);
|
|
@@ -177,8 +178,8 @@
|
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
&:nth-child(odd) {
|
|
180
|
-
td {
|
|
181
|
-
background-color: var(--table-row-bg-color);
|
|
181
|
+
td,td.ant-table-cell-fix-left {
|
|
182
|
+
background-color: var(--table-row-bg-color) !important;
|
|
182
183
|
// border-top: var(--table-row-border);
|
|
183
184
|
// border-bottom: var(--table-row-border);
|
|
184
185
|
|
|
@@ -11,7 +11,8 @@ export default function VmWrapper(props) {
|
|
|
11
11
|
_props$time = props.time,
|
|
12
12
|
time = _props$time === void 0 ? '' : _props$time,
|
|
13
13
|
_props$border = props.border,
|
|
14
|
-
border = _props$border === void 0 ? true : _props$border
|
|
14
|
+
border = _props$border === void 0 ? true : _props$border,
|
|
15
|
+
extra = props.extra;
|
|
15
16
|
var prefix = 'vm-title-wrap';
|
|
16
17
|
return /*#__PURE__*/_jsxs("div", {
|
|
17
18
|
className: classnames("".concat(prefix, " ").concat(isDark ? 'dark' : ''), {
|
|
@@ -20,7 +21,7 @@ export default function VmWrapper(props) {
|
|
|
20
21
|
children: [/*#__PURE__*/_jsx("div", {
|
|
21
22
|
className: "".concat(prefix, "-title"),
|
|
22
23
|
children: title
|
|
23
|
-
}), time && /*#__PURE__*/_jsxs("div", {
|
|
24
|
+
}), extra ? extra : null, time && /*#__PURE__*/_jsxs("div", {
|
|
24
25
|
className: "".concat(prefix, "-time-wrap"),
|
|
25
26
|
children: [/*#__PURE__*/_jsx(ClockIcon, {
|
|
26
27
|
width: 16,
|
|
@@ -11,7 +11,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
11
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
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { Tooltip } from 'antd';
|
|
14
|
-
import
|
|
14
|
+
import classnames from 'classnames';
|
|
15
|
+
import _, { isEmpty } from 'lodash';
|
|
15
16
|
import { useEffect, useState } from 'react';
|
|
16
17
|
import useSettings from "../../_hooks/useSettings";
|
|
17
18
|
import { ChartIcon, DateIcon, ListIcon } from "../../_util/iconSvgHtml";
|
|
@@ -26,8 +27,9 @@ export default function VmWrapper(props) {
|
|
|
26
27
|
var _useSettings = useSettings(),
|
|
27
28
|
isDark = _useSettings.isDark;
|
|
28
29
|
var _props$title = props.title,
|
|
29
|
-
title = _props$title === void 0 ? '
|
|
30
|
+
title = _props$title === void 0 ? '' : _props$title,
|
|
30
31
|
extra = props.extra,
|
|
32
|
+
extraLeft = props.extraLeft,
|
|
31
33
|
_props$extraStyle = props.extraStyle,
|
|
32
34
|
extraStyle = _props$extraStyle === void 0 ? {} : _props$extraStyle,
|
|
33
35
|
_props$needChange = props.needChange,
|
|
@@ -54,7 +56,14 @@ export default function VmWrapper(props) {
|
|
|
54
56
|
_props$showTitle = props.showTitle,
|
|
55
57
|
showTitle = _props$showTitle === void 0 ? true : _props$showTitle,
|
|
56
58
|
_props$showContent = props.showContent,
|
|
57
|
-
showContent = _props$showContent === void 0 ? true : _props$showContent
|
|
59
|
+
showContent = _props$showContent === void 0 ? true : _props$showContent,
|
|
60
|
+
_props$tabList = props.tabList,
|
|
61
|
+
tabList = _props$tabList === void 0 ? [] : _props$tabList,
|
|
62
|
+
_props$activeKey = props.activeKey,
|
|
63
|
+
activeKey = _props$activeKey === void 0 ? '' : _props$activeKey,
|
|
64
|
+
onChangeTab = props.onChangeTab,
|
|
65
|
+
_props$pickerProps = props.pickerProps,
|
|
66
|
+
pickerProps = _props$pickerProps === void 0 ? {} : _props$pickerProps;
|
|
58
67
|
var _useState = useState([]),
|
|
59
68
|
_useState2 = _slicedToArray(_useState, 2),
|
|
60
69
|
changeList = _useState2[0],
|
|
@@ -108,10 +117,23 @@ export default function VmWrapper(props) {
|
|
|
108
117
|
children: [showTitle && /*#__PURE__*/_jsxs("div", {
|
|
109
118
|
className: "div-wrapper-head",
|
|
110
119
|
style: _objectSpread({}, headerStyle),
|
|
111
|
-
children: [title
|
|
120
|
+
children: [isEmpty(tabList) ? title : /*#__PURE__*/_jsx("div", {
|
|
121
|
+
className: "div-wrapper-tabs-wrap",
|
|
122
|
+
children: tabList.map(function (item) {
|
|
123
|
+
return /*#__PURE__*/_jsx("div", {
|
|
124
|
+
className: classnames('div-wrapper-tabs-item', {
|
|
125
|
+
active: item.key === activeKey
|
|
126
|
+
}),
|
|
127
|
+
onClick: function onClick() {
|
|
128
|
+
return onChangeTab(item.key);
|
|
129
|
+
},
|
|
130
|
+
children: item.label
|
|
131
|
+
}, item.key);
|
|
132
|
+
})
|
|
133
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
112
134
|
className: "extra",
|
|
113
135
|
style: _objectSpread({}, extraStyle),
|
|
114
|
-
children: [needChange && /*#__PURE__*/_jsx("div", {
|
|
136
|
+
children: [extraLeft ? extraLeft : null, needChange && /*#__PURE__*/_jsx("div", {
|
|
115
137
|
className: "extra-type",
|
|
116
138
|
children: changeList.map(function (item) {
|
|
117
139
|
var Icon = item.icon;
|
|
@@ -130,27 +152,27 @@ export default function VmWrapper(props) {
|
|
|
130
152
|
})
|
|
131
153
|
}, item.key);
|
|
132
154
|
})
|
|
133
|
-
}), filterType === 'datePicker' ? /*#__PURE__*/_jsx(VMDatePicker, {
|
|
155
|
+
}), filterType === 'datePicker' ? /*#__PURE__*/_jsx(VMDatePicker, _objectSpread({
|
|
134
156
|
defaultValue: defaultValue,
|
|
135
157
|
value: dateValue,
|
|
136
158
|
onChange: props.filterChange,
|
|
137
159
|
disabledDate: disabledDate
|
|
138
|
-
}) : filterType === 'rangePicker' ? /*#__PURE__*/_jsx(VMRangePicker, {
|
|
160
|
+
}, pickerProps)) : filterType === 'rangePicker' ? /*#__PURE__*/_jsx(VMRangePicker, _objectSpread({
|
|
139
161
|
defaultValue: defaultValue || [],
|
|
140
162
|
value: dateValue || [],
|
|
141
163
|
onChange: props.filterChange,
|
|
142
164
|
disabledDate: disabledDate
|
|
143
|
-
}) : filterType === 'monthPicker' ? /*#__PURE__*/_jsx(VMMonthPicker, {
|
|
165
|
+
}, pickerProps)) : filterType === 'monthPicker' ? /*#__PURE__*/_jsx(VMMonthPicker, _objectSpread({
|
|
144
166
|
defaultValue: defaultValue,
|
|
145
167
|
value: dateValue,
|
|
146
168
|
onChange: props.filterChange,
|
|
147
169
|
disabledDate: disabledDate
|
|
148
|
-
}) : filterType === 'yearPicker' ? /*#__PURE__*/_jsx(VMYearPicker, {
|
|
170
|
+
}, pickerProps)) : filterType === 'yearPicker' ? /*#__PURE__*/_jsx(VMYearPicker, _objectSpread({
|
|
149
171
|
defaultValue: defaultValue,
|
|
150
172
|
value: dateValue,
|
|
151
173
|
onChange: props.filterChange,
|
|
152
174
|
disabledDate: disabledDate
|
|
153
|
-
}) : null, extra ? extra : null]
|
|
175
|
+
}, pickerProps)) : null, extra ? extra : null]
|
|
154
176
|
})]
|
|
155
177
|
}), showContent && /*#__PURE__*/_jsx("div", {
|
|
156
178
|
className: "div-wrapper-content",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
--wborder-color: #f1f0f0;
|
|
5
5
|
--wfilter-bg: #f5f5f5;
|
|
6
6
|
--wtype-bg: #fff;
|
|
7
|
+
--tab-active-color: #1677FF;
|
|
7
8
|
|
|
8
9
|
&.dark {
|
|
9
10
|
--wbg-color: rgba(0, 155, 233, 10%);
|
|
@@ -11,6 +12,33 @@
|
|
|
11
12
|
--wborder-color: #1064a7;
|
|
12
13
|
--wfilter-bg: #0b588e;
|
|
13
14
|
--wtype-bg: #0168b0;
|
|
15
|
+
--tab-active-color: #009DFF;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-tabs-wrap {
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: 12px;
|
|
21
|
+
align-items: center;
|
|
22
|
+
color: var(--w-color);
|
|
23
|
+
font-size: 16px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-tabs-item {
|
|
27
|
+
padding: 0 8px;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
&.active {
|
|
30
|
+
color: var(--tab-active-color);
|
|
31
|
+
position: relative;
|
|
32
|
+
&:before {
|
|
33
|
+
content: '';
|
|
34
|
+
position: absolute;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 2px;
|
|
37
|
+
background: var(--tab-active-color);
|
|
38
|
+
bottom: -12px;
|
|
39
|
+
left: 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
14
42
|
}
|
|
15
43
|
|
|
16
44
|
width: 100%;
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as VtxBaseModal } from
|
|
1
|
+
// export { default as VtxBaseModal } from './vtx-base-modal';
|
|
2
2
|
export { default as VtxStaffModal } from "./vtx-staff-modal";
|
|
3
3
|
export { default as VtxCarModal } from "./vtx-car-modal";
|
|
4
4
|
export { default as VtxDefaultModal } from "./vtx-default-modal";
|
|
@@ -9,4 +9,9 @@ export { default as VtxRoadModal } from "./vtx-road-modal";
|
|
|
9
9
|
export { default as VtxZzzModal } from "./vtx-zzz-modal";
|
|
10
10
|
export { default as VtxShxqModal } from "./vtx-shxq-modal";
|
|
11
11
|
export { default as VtxTfdModal } from "./vtx-tfd-modal";
|
|
12
|
-
export { default as VtxCpModal } from "./vtx-cp-modal";
|
|
12
|
+
export { default as VtxCpModal } from "./vtx-cp-modal";
|
|
13
|
+
export { default as VtxCcUnitModal } from "./vtx-cc-unit-modal";
|
|
14
|
+
export { default as VtxRestaurantModal } from "./vtx-restaurant-modal";
|
|
15
|
+
export { default as VtxCcCpModal } from "./vtx-cc-cp-modal";
|
|
16
|
+
export { default as VtxKhModal } from "./vtx-kh-modal";
|
|
17
|
+
export { default as VtxZgModal } from "./vtx-zg-modal";
|
package/lib/style/index.less
CHANGED
|
@@ -7,11 +7,6 @@
|
|
|
7
7
|
rgba(0, 52, 97, 80%) 100%
|
|
8
8
|
);
|
|
9
9
|
--modal-head-bg: linear-gradient(170deg, #004e82 0%, rgba(0, 43, 78, 0) 100%);
|
|
10
|
-
--modal-bg-color: linear-gradient(
|
|
11
|
-
180deg,
|
|
12
|
-
rgba(2, 16, 30, 0.8) 0%,
|
|
13
|
-
rgba(0, 52, 97, 0.8) 100%
|
|
14
|
-
);
|
|
15
10
|
--modal-border-color: linear-gradient(
|
|
16
11
|
90deg,
|
|
17
12
|
rgba(59, 167, 255, 1),
|
|
@@ -78,7 +73,7 @@
|
|
|
78
73
|
--bg-border-color2: rgba(32, 102, 167, 0.5);
|
|
79
74
|
--info-b-color: linear-gradient(180deg, #ffffff 0%, #00fef6 100%);
|
|
80
75
|
--sub-text-color: #fff;
|
|
81
|
-
|
|
76
|
+
--gray-line-color: rgba(47, 172, 255, 0.2);
|
|
82
77
|
.ant-tabs-top > .ant-tabs-nav::before {
|
|
83
78
|
border-bottom: 1px solid rgba(12, 154, 255, 0.15);
|
|
84
79
|
}
|
|
@@ -120,6 +115,7 @@
|
|
|
120
115
|
--vm-calendar-cell-border-color: #f2f2f2;
|
|
121
116
|
--vm-calendar-cell-active-border-color: #1677ff;
|
|
122
117
|
--vm-calendar-cell-font-color: #1f1f1f;
|
|
118
|
+
--gray-line-color: #E5E8EF;
|
|
123
119
|
--label-color: #8c8c8c;
|
|
124
120
|
--img-text-color: #5e6169;
|
|
125
121
|
--img-value-color: #1890ff;
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
.vm-modal-header-container {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 116px;
|
|
4
|
-
border-radius: 8px 8px 0 0;
|
|
5
|
-
background: var(--modal-head-bg);
|
|
6
|
-
padding: 0 16px;
|
|
7
|
-
margin-top: 1px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.vm-modal-header-wrap {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 56px;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
position: relative;
|
|
17
|
-
&::after {
|
|
18
|
-
position: absolute;
|
|
19
|
-
top: 54px;
|
|
20
|
-
left: 0;
|
|
21
|
-
content: '';
|
|
22
|
-
width: 180px;
|
|
23
|
-
height: 1px;
|
|
24
|
-
background: var(--modal-head-line-bg);
|
|
25
|
-
box-shadow: var(--modal-head-line-shadow);
|
|
26
|
-
border-radius: 8px;
|
|
27
|
-
animation: move 6s linear infinite;
|
|
28
|
-
|
|
29
|
-
@keyframes move {
|
|
30
|
-
0% {
|
|
31
|
-
left: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
100% {
|
|
35
|
-
left: calc(100% - 180px);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-left {
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
gap: 8px;
|
|
44
|
-
|
|
45
|
-
&-title {
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
font-size: 20px;
|
|
48
|
-
color: var(--modal-title-color);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-tag {
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: center;
|
|
55
|
-
gap: 4px;
|
|
56
|
-
height: 24px;
|
|
57
|
-
border-radius: 16px;
|
|
58
|
-
font-size: 12px;
|
|
59
|
-
padding: 0 8px;
|
|
60
|
-
border: 1px solid;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-right {
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
gap: 16px;
|
|
68
|
-
|
|
69
|
-
&-close {
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
color: var(--modal-close-color);
|
|
74
|
-
width: 28px;
|
|
75
|
-
height: 28px;
|
|
76
|
-
cursor: pointer;
|
|
77
|
-
font-size: 16px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&-line {
|
|
81
|
-
width: 1px;
|
|
82
|
-
height: 14px;
|
|
83
|
-
background-color: var(--modal-head-split-line-color);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-collect {
|
|
87
|
-
width: 28px;
|
|
88
|
-
height: 28px;
|
|
89
|
-
border-radius: 8px;
|
|
90
|
-
text-align: center;
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
|
|
93
|
-
&.active {
|
|
94
|
-
background: var(--collect-bg);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
1
|
+
.vm-modal-header-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 116px;
|
|
4
|
+
border-radius: 8px 8px 0 0;
|
|
5
|
+
background: var(--modal-head-bg);
|
|
6
|
+
padding: 0 16px;
|
|
7
|
+
margin-top: 1px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.vm-modal-header-wrap {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 56px;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
position: relative;
|
|
17
|
+
&::after {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 54px;
|
|
20
|
+
left: 0;
|
|
21
|
+
content: '';
|
|
22
|
+
width: 180px;
|
|
23
|
+
height: 1px;
|
|
24
|
+
background: var(--modal-head-line-bg);
|
|
25
|
+
box-shadow: var(--modal-head-line-shadow);
|
|
26
|
+
border-radius: 8px;
|
|
27
|
+
animation: move 6s linear infinite;
|
|
28
|
+
|
|
29
|
+
@keyframes move {
|
|
30
|
+
0% {
|
|
31
|
+
left: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
100% {
|
|
35
|
+
left: calc(100% - 180px);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-left {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: 8px;
|
|
44
|
+
|
|
45
|
+
&-title {
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
font-size: 20px;
|
|
48
|
+
color: var(--modal-title-color);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-tag {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
gap: 4px;
|
|
56
|
+
height: 24px;
|
|
57
|
+
border-radius: 16px;
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
padding: 0 8px;
|
|
60
|
+
border: 1px solid;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&-right {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
gap: 16px;
|
|
68
|
+
|
|
69
|
+
&-close {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
color: var(--modal-close-color);
|
|
74
|
+
width: 28px;
|
|
75
|
+
height: 28px;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
font-size: 16px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-line {
|
|
81
|
+
width: 1px;
|
|
82
|
+
height: 14px;
|
|
83
|
+
background-color: var(--modal-head-split-line-color);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&-collect {
|
|
87
|
+
width: 28px;
|
|
88
|
+
height: 28px;
|
|
89
|
+
border-radius: 8px;
|
|
90
|
+
text-align: center;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
|
|
93
|
+
&.active {
|
|
94
|
+
background: var(--collect-bg);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|