@zgfe/business-lib 1.2.70-hxd.19 → 1.2.70-hxd.21
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/es/AUMFormulaTarget/components/panel/index.less +269 -269
- package/es/assets/colorIcon/iconfont.json +555 -555
- package/es/assets/iconfont/iconfont.json +1584 -1584
- package/es/assets/styles/resetAntd.less +568 -568
- package/es/assets/styles/variable.less +21 -21
- package/es/attrCondition/styles/index.less +101 -101
- package/es/attributeSelector/listPanel.d.ts +1 -4
- package/es/attributeSelector/listPanel.js +311 -102
- package/es/attributeSelector/types.d.ts +0 -1
- package/es/attributeSelector/util.js +0 -3
- package/es/chart/styles/index.less +113 -113
- package/es/constants/apis.d.ts +3 -0
- package/es/constants/apis.js +5 -2
- package/es/datePickerV2/styles/index.less +194 -194
- package/es/demoWrapper/content.js +3 -9
- package/es/eventSelector/styles/index.less +127 -127
- package/es/formulaTarget/components/formula/index.less +76 -76
- package/es/hooks/useBizStore.js +3 -9
- package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
- package/es/layout/optionTitle/styles/layout.less +90 -90
- package/es/platformSelector/styles/index.less +26 -26
- package/es/productCondition/conditions/styles/periodCondition.less +26 -26
- package/es/productCondition/styles/conditionTypeList.less +32 -32
- package/es/productCondition/styles/relationLabel.less +19 -19
- package/es/quickDatePicker/styles/index.less +141 -141
- package/es/select/styles/handle.less +206 -206
- package/es/targetSelector/styles/index.less +142 -142
- package/es/userCondition/conditions/styles/eventCondition.less +71 -71
- package/es/userCondition/conditions/styles/periodCondition.less +32 -32
- package/es/userCondition/conditions/styles/textDesc.less +16 -16
- package/es/userCondition/styles/conditionTypeList.less +32 -32
- package/es/userCondition/styles/relationLabel.less +19 -19
- package/es/userGroup/styles/index.less +199 -199
- package/es/userGroupHeader/styles/index.less +50 -50
- package/es/userTagsSelector/styles/index.less +20 -20
- package/es/utils/eventApi.d.ts +14 -0
- package/es/utils/eventApi.js +128 -0
- package/es/utils/index.d.ts +2 -1
- package/es/utils/index.js +2 -1
- package/package.json +2 -2
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
@import '../../assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.biz-event-select {
|
|
4
|
-
position: relative;
|
|
5
|
-
border-radius: 4px;
|
|
6
|
-
.__select-handle();
|
|
7
|
-
|
|
8
|
-
&:hover {
|
|
9
|
-
.biz-target-select-option-icon {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
float: right;
|
|
14
|
-
margin-top: 4px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.biz-event-select-handle {
|
|
19
|
-
border: none !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.border {
|
|
23
|
-
.biz-event-select-handle {
|
|
24
|
-
.__select-handle();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
&-list-panel {
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: row;
|
|
30
|
-
width: 477px;
|
|
31
|
-
height: 320px;
|
|
32
|
-
padding: 0;
|
|
33
|
-
.__select-panel();
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-left {
|
|
37
|
-
flex: none;
|
|
38
|
-
width: 192px;
|
|
39
|
-
padding: @padding-xs;
|
|
40
|
-
overflow-y: auto;
|
|
41
|
-
border-right: 1px solid @border-color-base;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-right {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex: 1;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
padding: @padding-xs;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-search {
|
|
52
|
-
flex: none;
|
|
53
|
-
margin-bottom: @margin-sm;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&-list {
|
|
57
|
-
flex: 1;
|
|
58
|
-
overflow-y: auto;
|
|
59
|
-
}
|
|
60
|
-
&-nodata-panel {
|
|
61
|
-
width: 284px;
|
|
62
|
-
.__select-panel();
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-nodata {
|
|
66
|
-
.__select-nodata();
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&-like {
|
|
70
|
-
display: inline-block;
|
|
71
|
-
width: @font-size-base;
|
|
72
|
-
margin-right: @margin-xss;
|
|
73
|
-
color: @warning-color;
|
|
74
|
-
}
|
|
75
|
-
&-event-item-wrap {
|
|
76
|
-
.biz-event-select-option {
|
|
77
|
-
padding: 0 @padding-xs;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
&-option {
|
|
81
|
-
.__select-option();
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: row;
|
|
84
|
-
align-items: center;
|
|
85
|
-
|
|
86
|
-
&:hover,
|
|
87
|
-
&.active {
|
|
88
|
-
.ant-badge-count {
|
|
89
|
-
color: #fff;
|
|
90
|
-
background: @primary-color;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
&.disable,
|
|
94
|
-
&.disable:hover {
|
|
95
|
-
color: #ccd0d4;
|
|
96
|
-
background: #fff;
|
|
97
|
-
cursor: not-allowed;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&-label {
|
|
101
|
-
flex: 1;
|
|
102
|
-
max-width: 220px;
|
|
103
|
-
.__default-overflow();
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.ant-badge {
|
|
107
|
-
flex: none;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.ant-badge-count {
|
|
111
|
-
color: @text-color;
|
|
112
|
-
background: none;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&:not(.active, :hover) .biz-event-select-highlight {
|
|
116
|
-
color: @primary-color;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.biz-select-handle-input.active {
|
|
121
|
-
box-shadow: none;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&-tip {
|
|
125
|
-
float: right;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
|
|
3
|
+
.biz-event-select {
|
|
4
|
+
position: relative;
|
|
5
|
+
border-radius: 4px;
|
|
6
|
+
.__select-handle();
|
|
7
|
+
|
|
8
|
+
&:hover {
|
|
9
|
+
.biz-target-select-option-icon {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
float: right;
|
|
14
|
+
margin-top: 4px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.biz-event-select-handle {
|
|
19
|
+
border: none !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.border {
|
|
23
|
+
.biz-event-select-handle {
|
|
24
|
+
.__select-handle();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
&-list-panel {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
width: 477px;
|
|
31
|
+
height: 320px;
|
|
32
|
+
padding: 0;
|
|
33
|
+
.__select-panel();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-left {
|
|
37
|
+
flex: none;
|
|
38
|
+
width: 192px;
|
|
39
|
+
padding: @padding-xs;
|
|
40
|
+
overflow-y: auto;
|
|
41
|
+
border-right: 1px solid @border-color-base;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-right {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex: 1;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
padding: @padding-xs;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-search {
|
|
52
|
+
flex: none;
|
|
53
|
+
margin-bottom: @margin-sm;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&-list {
|
|
57
|
+
flex: 1;
|
|
58
|
+
overflow-y: auto;
|
|
59
|
+
}
|
|
60
|
+
&-nodata-panel {
|
|
61
|
+
width: 284px;
|
|
62
|
+
.__select-panel();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-nodata {
|
|
66
|
+
.__select-nodata();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&-like {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
width: @font-size-base;
|
|
72
|
+
margin-right: @margin-xss;
|
|
73
|
+
color: @warning-color;
|
|
74
|
+
}
|
|
75
|
+
&-event-item-wrap {
|
|
76
|
+
.biz-event-select-option {
|
|
77
|
+
padding: 0 @padding-xs;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
&-option {
|
|
81
|
+
.__select-option();
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: row;
|
|
84
|
+
align-items: center;
|
|
85
|
+
|
|
86
|
+
&:hover,
|
|
87
|
+
&.active {
|
|
88
|
+
.ant-badge-count {
|
|
89
|
+
color: #fff;
|
|
90
|
+
background: @primary-color;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
&.disable,
|
|
94
|
+
&.disable:hover {
|
|
95
|
+
color: #ccd0d4;
|
|
96
|
+
background: #fff;
|
|
97
|
+
cursor: not-allowed;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&-label {
|
|
101
|
+
flex: 1;
|
|
102
|
+
max-width: 220px;
|
|
103
|
+
.__default-overflow();
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ant-badge {
|
|
107
|
+
flex: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ant-badge-count {
|
|
111
|
+
color: @text-color;
|
|
112
|
+
background: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:not(.active, :hover) .biz-event-select-highlight {
|
|
116
|
+
color: @primary-color;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.biz-select-handle-input.active {
|
|
121
|
+
box-shadow: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&-tip {
|
|
125
|
+
float: right;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
@import '../../../assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.formula-container {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
&-target {
|
|
7
|
-
display: flex;
|
|
8
|
-
&:hover {
|
|
9
|
-
.formula-container-option:not(.active) {
|
|
10
|
-
display: flex;
|
|
11
|
-
color: #b9ceff;
|
|
12
|
-
&.disabled {
|
|
13
|
-
color: #ccd0d4;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
&-handle {
|
|
18
|
-
min-width: 88px;
|
|
19
|
-
&.focus {
|
|
20
|
-
.biz-select-handle-input {
|
|
21
|
-
border-color: @primary-color;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
&-icon {
|
|
25
|
-
margin-left: 4px;
|
|
26
|
-
color: @text-color-middle;
|
|
27
|
-
}
|
|
28
|
-
&-name {
|
|
29
|
-
margin-left: 4px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&-format {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
margin-left: 10px;
|
|
38
|
-
& > span {
|
|
39
|
-
margin-right: 12px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.biz-select-handle {
|
|
43
|
-
min-width: 136px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
&-add {
|
|
47
|
-
margin-left: 8px;
|
|
48
|
-
color: @primary-color;
|
|
49
|
-
font-size: 18px !important;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
}
|
|
52
|
-
&-option {
|
|
53
|
-
display: flex;
|
|
54
|
-
align-items: center;
|
|
55
|
-
color: transparent;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
&.active {
|
|
58
|
-
display: flex;
|
|
59
|
-
color: #354354;
|
|
60
|
-
}
|
|
61
|
-
&.disabled {
|
|
62
|
-
cursor: not-allowed;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&:first-child {
|
|
66
|
-
margin-right: 4px;
|
|
67
|
-
}
|
|
68
|
-
&:last-child {
|
|
69
|
-
margin-left: 4px;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-symbol {
|
|
74
|
-
margin: 0 12px;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
@import '../../../assets/styles/inner.less';
|
|
2
|
+
|
|
3
|
+
.formula-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
&-target {
|
|
7
|
+
display: flex;
|
|
8
|
+
&:hover {
|
|
9
|
+
.formula-container-option:not(.active) {
|
|
10
|
+
display: flex;
|
|
11
|
+
color: #b9ceff;
|
|
12
|
+
&.disabled {
|
|
13
|
+
color: #ccd0d4;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
&-handle {
|
|
18
|
+
min-width: 88px;
|
|
19
|
+
&.focus {
|
|
20
|
+
.biz-select-handle-input {
|
|
21
|
+
border-color: @primary-color;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
&-icon {
|
|
25
|
+
margin-left: 4px;
|
|
26
|
+
color: @text-color-middle;
|
|
27
|
+
}
|
|
28
|
+
&-name {
|
|
29
|
+
margin-left: 4px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&-format {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
margin-left: 10px;
|
|
38
|
+
& > span {
|
|
39
|
+
margin-right: 12px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.biz-select-handle {
|
|
43
|
+
min-width: 136px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
&-add {
|
|
47
|
+
margin-left: 8px;
|
|
48
|
+
color: @primary-color;
|
|
49
|
+
font-size: 18px !important;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
}
|
|
52
|
+
&-option {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
color: transparent;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
&.active {
|
|
58
|
+
display: flex;
|
|
59
|
+
color: #354354;
|
|
60
|
+
}
|
|
61
|
+
&.disabled {
|
|
62
|
+
cursor: not-allowed;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:first-child {
|
|
66
|
+
margin-right: 4px;
|
|
67
|
+
}
|
|
68
|
+
&:last-child {
|
|
69
|
+
margin-left: 4px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-symbol {
|
|
74
|
+
margin: 0 12px;
|
|
75
|
+
}
|
|
76
|
+
}
|
package/es/hooks/useBizStore.js
CHANGED
|
@@ -14,6 +14,7 @@ import { useEffect, useState, useCallback } from 'react';
|
|
|
14
14
|
import { ajax } from '../utils';
|
|
15
15
|
import Apis from '../constants/apis';
|
|
16
16
|
import convertAttributeData from '../attributeSelector/util';
|
|
17
|
+
import { eventApi } from '../utils';
|
|
17
18
|
function useBizStore(_ref) {
|
|
18
19
|
var currentApp = _ref.currentApp;
|
|
19
20
|
var _useState = useState([]),
|
|
@@ -101,15 +102,8 @@ function useBizStore(_ref) {
|
|
|
101
102
|
}, [currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId]);
|
|
102
103
|
var loadEvents = useCallback(function () {
|
|
103
104
|
setLoadEvent(true);
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
data: {
|
|
107
|
-
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
|
|
108
|
-
platform: 0,
|
|
109
|
-
isAll: true
|
|
110
|
-
}
|
|
111
|
-
}).then(function (res) {
|
|
112
|
-
setEventGroups(res.data);
|
|
105
|
+
eventApi.fetchAllEvents(currentApp === null || currentApp === void 0 ? void 0 : currentApp.id, 0, false).then(function (eventGroups) {
|
|
106
|
+
setEventGroups(Array.isArray(eventGroups) ? eventGroups : []);
|
|
113
107
|
setLoadEvent(false);
|
|
114
108
|
});
|
|
115
109
|
}, [currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId]);
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
// @import '../../../style/base.less';
|
|
2
|
-
|
|
3
|
-
.change-panel-modal {
|
|
4
|
-
&-add-panel {
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
height: 32px;
|
|
8
|
-
color: #116acc;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
.tianjia1 {
|
|
11
|
-
margin-right: 8px;
|
|
12
|
-
font-weight: 800;
|
|
13
|
-
font-size: 14px;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
&-empty-data {
|
|
17
|
-
text-align: center;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.modules-panel-item {
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
height: 32px;
|
|
26
|
-
padding: 0px 8px;
|
|
27
|
-
color: #021429;
|
|
28
|
-
line-height: 32px;
|
|
29
|
-
background: #fff;
|
|
30
|
-
border-radius: 8px;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
&-popover {
|
|
33
|
-
.ant-popover-arrow {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
.ant-popover-content {
|
|
37
|
-
margin-top: -27px;
|
|
38
|
-
margin-left: 0;
|
|
39
|
-
}
|
|
40
|
-
.ant-popover-inner-content {
|
|
41
|
-
padding: 4px 0;
|
|
42
|
-
}
|
|
43
|
-
.text {
|
|
44
|
-
height: 32px;
|
|
45
|
-
margin: 0;
|
|
46
|
-
padding: 0 16px;
|
|
47
|
-
line-height: 32px;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
}
|
|
50
|
-
.delete {
|
|
51
|
-
// color: #fb5547;
|
|
52
|
-
}
|
|
53
|
-
.text:hover {
|
|
54
|
-
background: #e8efff;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
&-text {
|
|
58
|
-
width: 100%;
|
|
59
|
-
// .__text-cut-one();
|
|
60
|
-
}
|
|
61
|
-
.gengduocaozuo {
|
|
62
|
-
display: none;
|
|
63
|
-
margin-left: 8px;
|
|
64
|
-
font-size: 16px !important;
|
|
65
|
-
}
|
|
66
|
-
.ant-input {
|
|
67
|
-
box-shadow: none !important;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
.modules-panel-item:hover {
|
|
71
|
-
color: #116acc;
|
|
72
|
-
background: #e8efff;
|
|
73
|
-
.gengduocaozuo {
|
|
74
|
-
display: block;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
.modules-panel-item.active {
|
|
78
|
-
padding: 0 8px;
|
|
79
|
-
color: #fff;
|
|
80
|
-
line-height: 40px;
|
|
81
|
-
background: #116acc;
|
|
82
|
-
.gengduocaozuo {
|
|
83
|
-
display: block;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
.modules-panel-item.edit {
|
|
87
|
-
height: 40px;
|
|
88
|
-
padding: 0 8px;
|
|
89
|
-
color: rgba(103, 114, 127, 1);
|
|
90
|
-
line-height: 40px;
|
|
91
|
-
background: #e8efff;
|
|
92
|
-
}
|
|
1
|
+
// @import '../../../style/base.less';
|
|
2
|
+
|
|
3
|
+
.change-panel-modal {
|
|
4
|
+
&-add-panel {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
height: 32px;
|
|
8
|
+
color: #116acc;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
.tianjia1 {
|
|
11
|
+
margin-right: 8px;
|
|
12
|
+
font-weight: 800;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
&-empty-data {
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.modules-panel-item {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
height: 32px;
|
|
26
|
+
padding: 0px 8px;
|
|
27
|
+
color: #021429;
|
|
28
|
+
line-height: 32px;
|
|
29
|
+
background: #fff;
|
|
30
|
+
border-radius: 8px;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
&-popover {
|
|
33
|
+
.ant-popover-arrow {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
.ant-popover-content {
|
|
37
|
+
margin-top: -27px;
|
|
38
|
+
margin-left: 0;
|
|
39
|
+
}
|
|
40
|
+
.ant-popover-inner-content {
|
|
41
|
+
padding: 4px 0;
|
|
42
|
+
}
|
|
43
|
+
.text {
|
|
44
|
+
height: 32px;
|
|
45
|
+
margin: 0;
|
|
46
|
+
padding: 0 16px;
|
|
47
|
+
line-height: 32px;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
}
|
|
50
|
+
.delete {
|
|
51
|
+
// color: #fb5547;
|
|
52
|
+
}
|
|
53
|
+
.text:hover {
|
|
54
|
+
background: #e8efff;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
&-text {
|
|
58
|
+
width: 100%;
|
|
59
|
+
// .__text-cut-one();
|
|
60
|
+
}
|
|
61
|
+
.gengduocaozuo {
|
|
62
|
+
display: none;
|
|
63
|
+
margin-left: 8px;
|
|
64
|
+
font-size: 16px !important;
|
|
65
|
+
}
|
|
66
|
+
.ant-input {
|
|
67
|
+
box-shadow: none !important;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.modules-panel-item:hover {
|
|
71
|
+
color: #116acc;
|
|
72
|
+
background: #e8efff;
|
|
73
|
+
.gengduocaozuo {
|
|
74
|
+
display: block;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.modules-panel-item.active {
|
|
78
|
+
padding: 0 8px;
|
|
79
|
+
color: #fff;
|
|
80
|
+
line-height: 40px;
|
|
81
|
+
background: #116acc;
|
|
82
|
+
.gengduocaozuo {
|
|
83
|
+
display: block;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.modules-panel-item.edit {
|
|
87
|
+
height: 40px;
|
|
88
|
+
padding: 0 8px;
|
|
89
|
+
color: rgba(103, 114, 127, 1);
|
|
90
|
+
line-height: 40px;
|
|
91
|
+
background: #e8efff;
|
|
92
|
+
}
|