dlt-for-react 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/assets/HqImage/index.less +10 -10
- package/assets/HqTeaSelector/index.less +6 -0
- package/assets/components/KyTable/index.less +5 -5
- package/assets/exception/index.less +14 -12
- package/assets/layouts/settingDrawer/style.less +219 -222
- package/assets/layouts/style.less +128 -129
- package/assets/login/index.less +87 -88
- package/lib/components/HqImage/index.js +1 -1
- package/lib/components/HqSelector/HqLsrySelector/index.js +1 -1
- package/lib/components/HqSelector/HqRySelector/index.js +1 -1
- package/lib/components/HqSelector/HqWzSelector/index.js +1 -1
- package/lib/components/HqSelector/NHSelector/ListSort/index.js +411 -0
- package/lib/components/HqSelector/NHSelector/index.js +636 -0
- package/lib/components/HqSelector/NHSelector/resultview/index.js +408 -0
- package/lib/components/HqSelector/NHSelector/selectormodal/index.js +303 -0
- package/lib/components/HqSelector/NHSelector/table/index.js +784 -0
- package/lib/components/HqSelector/NHSelector/tree/index.js +554 -0
- package/lib/components/HqStuSelector/index.js +2 -2
- package/lib/components/HqTeaSelector/index.js +2 -2
- package/lib/components/KyTable/index.js +2 -2
- package/lib/index.js +1 -1
- package/lib/layouts/Login/index-pre.js +5 -5
- package/lib/layouts/Login/index.js +9 -9
- package/lib/layouts/NavigationBar/index.js +1 -1
- package/lib/layouts/Top/index.js +9 -7
- package/lib/layouts/layout/index.js +15 -19
- package/lib/layouts/mixTop/index.js +8 -8
- package/lib/layouts/settingDrawer/blockCheckbox.js +7 -4
- package/lib/layouts/settingDrawer/colorChange.js +214 -191
- package/lib/layouts/settingDrawer/colorPicker.js +83 -75
- package/lib/layouts/settingDrawer/colorSetting.js +14 -15
- package/lib/layouts/settingDrawer/fontChange.js +38 -38
- package/lib/layouts/settingDrawer/index.js +3 -3
- package/package.json +1 -1
- package/assets/teaSelector/index.less +0 -4
- /package/assets/{selector → HqSelector}/resultview/index.less +0 -0
- /package/assets/{selector → HqSelector}/selectormodal/index.less +0 -0
- /package/assets/{selector → HqSelector}/table/index.less +0 -0
- /package/assets/{selector → HqSelector}/tree/index.less +0 -0
- /package/assets/{stuSelector → HqStuSelector}/index.less +0 -0
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ npm publish
|
|
|
8
8
|
|
|
9
9
|
## 前端 dlt-for-react 依赖包版本更新记录
|
|
10
10
|
|
|
11
|
-
##### 当前最新版本:2.0.
|
|
11
|
+
##### 当前最新版本:2.0.3
|
|
12
12
|
|
|
13
13
|
##### 安装依赖
|
|
14
14
|
|
|
@@ -16,9 +16,11 @@ npm publish
|
|
|
16
16
|
|
|
17
17
|
##### 版本修改记录
|
|
18
18
|
|
|
19
|
-
#### V2.0.
|
|
19
|
+
#### V2.0.3—2024 年 3 月 15 日
|
|
20
20
|
|
|
21
21
|
1. 解决部分组件幻影依赖不存在的问题
|
|
22
|
+
2. 解决全局样式影响项目地样式问题
|
|
23
|
+
3. 解决部分样式被调用时不生效的问题
|
|
22
24
|
|
|
23
25
|
#### V1.1.16~V2.0.1—2024 年 3 月 14 日
|
|
24
26
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
:global {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
2
|
+
.ant-upload-select-picture-card i {
|
|
3
|
+
font-size: 32px;
|
|
4
|
+
color: #999;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ant-upload-select-picture-card .dlt-picturewall-ant-upload-text {
|
|
8
|
+
margin-top: 8px;
|
|
9
|
+
color: #666;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
.dlt-table-searchDiv {
|
|
62
62
|
margin-bottom: 16px;
|
|
63
63
|
}
|
|
64
|
-
.
|
|
65
|
-
.
|
|
66
|
-
.
|
|
67
|
-
.
|
|
64
|
+
.dlt-table-searchDiv .ant-select-selection,
|
|
65
|
+
.dlt-table-searchDiv .ant-select-selection:active,
|
|
66
|
+
.dlt-table-searchDiv .ant-select-selection:focus,
|
|
67
|
+
.dlt-table-searchDiv .ant-select-selection:hover {
|
|
68
68
|
border: none;
|
|
69
69
|
outline: none;
|
|
70
70
|
box-shadow: none;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
:global {
|
|
2
|
+
.exceptionContianer {
|
|
2
3
|
display: flex;
|
|
3
4
|
align-items: center;
|
|
4
5
|
min-height: 500px;
|
|
5
6
|
height: 80%;
|
|
6
|
-
flex-direction: column;
|
|
7
|
+
flex-direction: column;
|
|
7
8
|
justify-content: center;
|
|
8
9
|
.exceptionImg {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
height: 360px;
|
|
11
|
+
width: 100%;
|
|
12
|
+
max-width: 540px;
|
|
13
|
+
background-repeat: no-repeat;
|
|
14
|
+
background-position: 50% 50%;
|
|
15
|
+
background-size: contain;
|
|
15
16
|
}
|
|
16
17
|
.exceptionImg403 {
|
|
17
|
-
|
|
18
|
+
background-image: url("./images/403.png");
|
|
18
19
|
}
|
|
19
20
|
.exceptionImg404 {
|
|
20
|
-
|
|
21
|
+
background-image: url("./images/404.png");
|
|
21
22
|
}
|
|
22
23
|
.exceptionImg500 {
|
|
23
|
-
|
|
24
|
+
background-image: url("./images/500.png");
|
|
24
25
|
}
|
|
25
|
-
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,266 +1,263 @@
|
|
|
1
1
|
@import "~antd/lib/style/themes/default.less";
|
|
2
|
+
:global {
|
|
3
|
+
.dlt-setting-handler {
|
|
4
|
+
z-index: 999;
|
|
5
|
+
position: absolute;
|
|
6
|
+
top: 240px;
|
|
7
|
+
right: 425px;
|
|
8
|
+
width: 48px;
|
|
9
|
+
height: 48px;
|
|
10
|
+
line-height: 48px;
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
text-align: center;
|
|
13
|
+
background: var(--primary-color);
|
|
14
|
+
border-radius: 4px 0 0 4px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
pointer-events: auto;
|
|
17
|
+
}
|
|
2
18
|
|
|
3
|
-
.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
right: 425px;
|
|
8
|
-
width: 48px;
|
|
9
|
-
height: 48px;
|
|
10
|
-
line-height: 48px;
|
|
11
|
-
font-size: 16px;
|
|
12
|
-
text-align: center;
|
|
13
|
-
background: var(--primary-color);
|
|
14
|
-
border-radius: 4px 0 0 4px;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
pointer-events: auto;
|
|
17
|
-
}
|
|
19
|
+
.dlt-setting-content {
|
|
20
|
+
position: relative;
|
|
21
|
+
min-height: 100%;
|
|
22
|
+
background: #fff;
|
|
18
23
|
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
.ant-list-item {
|
|
25
|
+
span {
|
|
26
|
+
flex: 1;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
.btnWarp {
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: center;
|
|
27
33
|
}
|
|
28
34
|
}
|
|
29
35
|
|
|
30
|
-
.
|
|
31
|
-
|
|
32
|
-
|
|
36
|
+
.dlt-setting-title {
|
|
37
|
+
margin-bottom: 12px;
|
|
38
|
+
color: @heading-color;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
line-height: 22px;
|
|
33
41
|
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.title {
|
|
37
|
-
margin-bottom: 12px;
|
|
38
|
-
color: @heading-color;
|
|
39
|
-
font-size: 14px;
|
|
40
|
-
line-height: 22px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.block_checkbox {
|
|
44
|
-
display: flex;
|
|
45
|
-
|
|
46
|
-
.item {
|
|
47
|
-
position: relative;
|
|
48
|
-
margin-right: 16px;
|
|
49
|
-
border-radius: @border-radius-base;
|
|
50
|
-
cursor: pointer;
|
|
51
42
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
}
|
|
43
|
+
.dlt-setting-block_checkbox {
|
|
44
|
+
display: flex;
|
|
56
45
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
background: #f0f2f5;
|
|
64
|
-
border-radius: @border-radius-base;
|
|
65
|
-
box-shadow: 0 1px 2.5px 0 rgba(0, 0, 0, 18%);
|
|
66
|
-
cursor: pointer;
|
|
46
|
+
.item {
|
|
47
|
+
position: relative;
|
|
48
|
+
margin-right: 16px;
|
|
49
|
+
border-radius: @border-radius-base;
|
|
50
|
+
cursor: pointer;
|
|
67
51
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
top: 0;
|
|
72
|
-
width: 33%;
|
|
73
|
-
height: 100%;
|
|
74
|
-
background-color: #fff;
|
|
75
|
-
content: '';
|
|
52
|
+
img {
|
|
53
|
+
width: 48px;
|
|
54
|
+
}
|
|
76
55
|
}
|
|
77
56
|
|
|
78
|
-
|
|
79
|
-
position:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
background
|
|
85
|
-
|
|
86
|
-
|
|
57
|
+
.item_box {
|
|
58
|
+
position: relative;
|
|
59
|
+
margin-right: 16px;
|
|
60
|
+
width: 44px;
|
|
61
|
+
height: 36px;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
background: #f0f2f5;
|
|
64
|
+
border-radius: @border-radius-base;
|
|
65
|
+
box-shadow: 0 1px 2.5px 0 rgba(0, 0, 0, 18%);
|
|
66
|
+
cursor: pointer;
|
|
87
67
|
|
|
88
|
-
&.dark {
|
|
89
68
|
&::before {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
69
|
+
position: absolute;
|
|
70
|
+
left: 0;
|
|
71
|
+
top: 0;
|
|
72
|
+
width: 33%;
|
|
73
|
+
height: 100%;
|
|
74
|
+
background-color: #fff;
|
|
75
|
+
content: "";
|
|
93
76
|
}
|
|
94
|
-
}
|
|
95
77
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
78
|
+
&::after {
|
|
79
|
+
position: absolute;
|
|
80
|
+
left: 0;
|
|
81
|
+
top: 0;
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 25%;
|
|
84
|
+
background-color: #fff;
|
|
85
|
+
content: "";
|
|
101
86
|
}
|
|
102
|
-
}
|
|
103
87
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
88
|
+
&.dark {
|
|
89
|
+
&::before {
|
|
90
|
+
background-color: @layout-header-background;
|
|
91
|
+
content: "";
|
|
92
|
+
z-index: 1;
|
|
93
|
+
}
|
|
108
94
|
}
|
|
109
95
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
96
|
+
&.sidemenu {
|
|
97
|
+
&::before {
|
|
98
|
+
background-color: @layout-header-background;
|
|
99
|
+
content: "";
|
|
100
|
+
z-index: 1;
|
|
101
|
+
}
|
|
114
102
|
}
|
|
115
|
-
}
|
|
116
103
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
104
|
+
&.topmenu {
|
|
105
|
+
&::before {
|
|
106
|
+
background-color: transparent;
|
|
107
|
+
content: "";
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&::after {
|
|
111
|
+
background-color: @layout-header-background;
|
|
112
|
+
content: "";
|
|
113
|
+
z-index: 1;
|
|
114
|
+
}
|
|
121
115
|
}
|
|
122
116
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
117
|
+
&.mixmenu {
|
|
118
|
+
&::before {
|
|
119
|
+
background-color: #fff;
|
|
120
|
+
content: "";
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&::after {
|
|
124
|
+
background-color: @layout-header-background;
|
|
125
|
+
content: "";
|
|
126
|
+
z-index: 1;
|
|
127
|
+
}
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
|
-
}
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
131
|
+
.icon_selected {
|
|
132
|
+
position: absolute;
|
|
133
|
+
top: 0;
|
|
134
|
+
right: 0;
|
|
135
|
+
width: 100%;
|
|
136
|
+
height: 100%;
|
|
137
|
+
padding-top: 15px;
|
|
138
|
+
padding-left: 24px;
|
|
139
|
+
color: var(--primary-color);
|
|
140
|
+
font-weight: bold;
|
|
141
|
+
font-size: 14px;
|
|
142
|
+
}
|
|
142
143
|
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
144
|
|
|
146
|
-
// 颜色选择样式
|
|
147
|
-
.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
145
|
+
// 颜色选择样式
|
|
146
|
+
.dlt-setting-colorChangeBox {
|
|
147
|
+
display: flex;
|
|
148
|
+
flex-wrap: wrap;
|
|
149
|
+
.colorContentBox {
|
|
150
|
+
margin-bottom: 23px;
|
|
151
|
+
display: flex;
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
justify-content: center;
|
|
154
|
+
align-items: center;
|
|
155
|
+
margin-right: 11px;
|
|
156
|
+
|
|
157
|
+
// &:nth-child(3n) {
|
|
158
|
+
// margin-right: 0px;
|
|
159
|
+
// }
|
|
160
|
+
|
|
161
|
+
> p {
|
|
162
|
+
margin-top: 8px;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
.colorBox {
|
|
166
|
+
width: 82px;
|
|
167
|
+
height: 77px;
|
|
168
|
+
opacity: 1;
|
|
169
|
+
background: rgba(158, 145, 255, 0.1);
|
|
170
|
+
border-radius: 4px;
|
|
171
|
+
position: relative;
|
|
172
|
+
padding: 21px 6px 6px 6px;
|
|
173
|
+
display: flex;
|
|
174
|
+
justify-content: space-between;
|
|
175
|
+
|
|
176
|
+
.colorHeader {
|
|
177
|
+
width: 82px;
|
|
178
|
+
height: 13px;
|
|
179
|
+
opacity: 1;
|
|
180
|
+
// background: #9e91ff;
|
|
181
|
+
border-radius: 4px 4px 0px 0px;
|
|
182
|
+
position: absolute;
|
|
183
|
+
top: 0;
|
|
184
|
+
left: 0;
|
|
185
|
+
}
|
|
168
186
|
|
|
169
|
-
.
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
187
|
+
.leftBox {
|
|
188
|
+
.whiteBox1 {
|
|
189
|
+
width: 24px;
|
|
190
|
+
height: 9px;
|
|
191
|
+
opacity: 1;
|
|
192
|
+
background: #ffffff;
|
|
193
|
+
border-radius: 2px;
|
|
194
|
+
margin-bottom: 3px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.whiteBox2 {
|
|
198
|
+
width: 24px;
|
|
199
|
+
height: 38px;
|
|
200
|
+
opacity: 1;
|
|
201
|
+
background: #ffffff;
|
|
202
|
+
border-radius: 2px;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
179
205
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
left: 0;
|
|
206
|
+
.whiteBox3 {
|
|
207
|
+
width: 42px;
|
|
208
|
+
height: 50px;
|
|
209
|
+
opacity: 1;
|
|
210
|
+
background: #ffffff;
|
|
211
|
+
border-radius: 2px;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
189
214
|
}
|
|
190
215
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
height: 9px;
|
|
195
|
-
opacity: 1;
|
|
196
|
-
background: #ffffff;
|
|
197
|
-
border-radius: 2px;
|
|
198
|
-
margin-bottom: 3px;
|
|
199
|
-
}
|
|
216
|
+
// 字号选择
|
|
217
|
+
.dlt-setting-fontContent {
|
|
218
|
+
display: flex;
|
|
200
219
|
|
|
201
|
-
.
|
|
202
|
-
|
|
203
|
-
|
|
220
|
+
.fontContentBox {
|
|
221
|
+
display: flex;
|
|
222
|
+
justify-content: center;
|
|
223
|
+
align-items: center;
|
|
224
|
+
width: 40px;
|
|
225
|
+
height: 40px;
|
|
204
226
|
opacity: 1;
|
|
205
227
|
background: #ffffff;
|
|
206
|
-
border
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
.whiteBox3 {
|
|
211
|
-
width: 42px;
|
|
212
|
-
height: 50px;
|
|
213
|
-
opacity: 1;
|
|
214
|
-
background: #ffffff;
|
|
215
|
-
border-radius: 2px;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
// 字号选择
|
|
220
|
-
.fontContent {
|
|
221
|
-
display: flex;
|
|
228
|
+
border: 1px solid #eff3f8;
|
|
229
|
+
border-radius: 4px;
|
|
230
|
+
margin-right: 25px;
|
|
222
231
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
opacity: 1;
|
|
230
|
-
background: #ffffff;
|
|
231
|
-
border: 1px solid #eff3f8;
|
|
232
|
-
border-radius: 4px;
|
|
233
|
-
margin-right: 25px;
|
|
232
|
+
&.selected {
|
|
233
|
+
background: #397ef0;
|
|
234
|
+
border: 1px solid #397ef0;
|
|
235
|
+
border-radius: 4px;
|
|
236
|
+
color: #fff;
|
|
237
|
+
}
|
|
234
238
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
color: #fff;
|
|
240
|
-
}
|
|
239
|
+
> p {
|
|
240
|
+
margin: 0;
|
|
241
|
+
padding: 0;
|
|
242
|
+
}
|
|
241
243
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
244
|
+
&:hover {
|
|
245
|
+
box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
|
|
246
|
+
cursor: pointer;
|
|
247
|
+
}
|
|
245
248
|
}
|
|
246
249
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
+
.hint {
|
|
251
|
+
display: block;
|
|
252
|
+
opacity: 1;
|
|
253
|
+
font-size: 14px;
|
|
254
|
+
font-family: Source Han Sans CN, Source Han Sans CN-Regular;
|
|
255
|
+
font-weight: 400;
|
|
256
|
+
text-align: left;
|
|
257
|
+
color: #397ef0;
|
|
258
|
+
line-height: 24px;
|
|
259
|
+
width: 40px;
|
|
260
|
+
text-align: center;
|
|
250
261
|
}
|
|
251
262
|
}
|
|
252
|
-
|
|
253
|
-
.hint {
|
|
254
|
-
display: block;
|
|
255
|
-
opacity: 1;
|
|
256
|
-
font-size: 14px;
|
|
257
|
-
font-family: Source Han Sans CN, Source Han Sans CN-Regular;
|
|
258
|
-
font-weight: 400;
|
|
259
|
-
text-align: left;
|
|
260
|
-
color: #397ef0;
|
|
261
|
-
line-height: 24px;
|
|
262
|
-
width: 40px;
|
|
263
|
-
text-align: center;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
}
|
|
263
|
+
}
|