element-assits 0.0.38 → 0.0.40
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 +2 -2
- package/lib/index.js +958 -932
- package/lib/style.scss +106 -106
- package/package.json +1 -1
package/lib/style.scss
CHANGED
|
@@ -11,36 +11,6 @@ $--color-border-base: #DCDFE6 !default;
|
|
|
11
11
|
$--color-border-light: #E4E7ED !default;
|
|
12
12
|
$--color-border-lighter: #EBEEF5 !default;
|
|
13
13
|
$--color-border-extralight: #F2F6FC !default;
|
|
14
|
-
.ea-select {
|
|
15
|
-
display: inline-block;
|
|
16
|
-
position: relative;
|
|
17
|
-
.el-select {
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
.async-loading.el-icon-loading {
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: 10px;
|
|
23
|
-
right: 28px;
|
|
24
|
-
color: #999;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
.ea-select-popover {
|
|
28
|
-
.el-select-dropdown__item {
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: space-between;
|
|
31
|
-
.select-item-value {
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
text-overflow: ellipsis;
|
|
34
|
-
}
|
|
35
|
-
.select-item-desc {
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
text-overflow: ellipsis;
|
|
38
|
-
color: #8492a6;
|
|
39
|
-
margin-left: 8px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
14
|
// table
|
|
45
15
|
.ea-table {
|
|
46
16
|
// 表格头部样式美化
|
|
@@ -158,6 +128,36 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
158
128
|
transform: scaleY(0);
|
|
159
129
|
}
|
|
160
130
|
|
|
131
|
+
.ea-select {
|
|
132
|
+
display: inline-block;
|
|
133
|
+
position: relative;
|
|
134
|
+
.el-select {
|
|
135
|
+
width: 100%;
|
|
136
|
+
}
|
|
137
|
+
.async-loading.el-icon-loading {
|
|
138
|
+
position: absolute;
|
|
139
|
+
top: 10px;
|
|
140
|
+
right: 28px;
|
|
141
|
+
color: #999;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.ea-select-popover {
|
|
145
|
+
.el-select-dropdown__item {
|
|
146
|
+
display: flex;
|
|
147
|
+
justify-content: space-between;
|
|
148
|
+
.select-item-value {
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
}
|
|
152
|
+
.select-item-desc {
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
color: #8492a6;
|
|
156
|
+
margin-left: 8px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
161
|
.ea-data-table {
|
|
162
162
|
.edt-row {
|
|
163
163
|
display: flex;
|
|
@@ -197,24 +197,6 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.el-dialog.ea-modal {
|
|
201
|
-
&.is-closing {
|
|
202
|
-
margin: 0 0 50px !important;
|
|
203
|
-
}
|
|
204
|
-
&.is-fullscreen {
|
|
205
|
-
border-radius: 0;
|
|
206
|
-
margin: 0;
|
|
207
|
-
}
|
|
208
|
-
.el-dialog__header {
|
|
209
|
-
color: #555;
|
|
210
|
-
font-size: 18px;
|
|
211
|
-
.el-dialog__title {
|
|
212
|
-
color: inherit;
|
|
213
|
-
font-size: inherit;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
200
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
219
201
|
margin-left: 10px;
|
|
220
202
|
}
|
|
@@ -280,22 +262,20 @@ td {
|
|
|
280
262
|
}
|
|
281
263
|
}
|
|
282
264
|
|
|
283
|
-
.ea-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
text-align: center;
|
|
287
|
-
font-size: inherit;
|
|
265
|
+
.el-dialog.ea-modal {
|
|
266
|
+
&.is-closing {
|
|
267
|
+
margin: 0 0 50px !important;
|
|
288
268
|
}
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
.el-
|
|
297
|
-
color:
|
|
298
|
-
|
|
269
|
+
&.is-fullscreen {
|
|
270
|
+
border-radius: 0;
|
|
271
|
+
margin: 0;
|
|
272
|
+
}
|
|
273
|
+
.el-dialog__header {
|
|
274
|
+
color: #555;
|
|
275
|
+
font-size: 18px;
|
|
276
|
+
.el-dialog__title {
|
|
277
|
+
color: inherit;
|
|
278
|
+
font-size: inherit;
|
|
299
279
|
}
|
|
300
280
|
}
|
|
301
281
|
}
|
|
@@ -337,6 +317,10 @@ td {
|
|
|
337
317
|
}
|
|
338
318
|
}
|
|
339
319
|
|
|
320
|
+
.ea-number .el-input__inner {
|
|
321
|
+
text-align: left;
|
|
322
|
+
}
|
|
323
|
+
|
|
340
324
|
.ea-desc {
|
|
341
325
|
font-size: 14px;
|
|
342
326
|
&__title {
|
|
@@ -381,34 +365,23 @@ td {
|
|
|
381
365
|
}
|
|
382
366
|
}
|
|
383
367
|
|
|
384
|
-
.ea-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
width: 100%;
|
|
393
|
-
}
|
|
394
|
-
// 文件列表项边框
|
|
395
|
-
.el-upload-list {
|
|
396
|
-
.el-upload-list__item {
|
|
397
|
-
border: 1px dashed #aaa;
|
|
398
|
-
.el-icon-close {
|
|
399
|
-
display: inline-block;
|
|
400
|
-
}
|
|
368
|
+
.ea-tree {
|
|
369
|
+
.ea-tree-real {
|
|
370
|
+
.el-tree-node > .el-tree-node__content{
|
|
371
|
+
border-radius: 4px;
|
|
372
|
+
}
|
|
373
|
+
.el-tree-node.is-current > .el-tree-node__content {
|
|
374
|
+
color: $--color-primary;
|
|
375
|
+
background-color: rgba($--color-primary, 0.1);
|
|
401
376
|
}
|
|
402
377
|
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
.
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
-webkit-transition: none !important;
|
|
411
|
-
transition: none !important;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.ea-list {
|
|
381
|
+
.loading-text {
|
|
382
|
+
color: $--color-secondary-text;
|
|
383
|
+
text-align: center;
|
|
384
|
+
font-size: inherit;
|
|
412
385
|
}
|
|
413
386
|
}
|
|
414
387
|
|
|
@@ -611,6 +584,33 @@ td {
|
|
|
611
584
|
.ea-icon-more:before { content: "\e60e" }
|
|
612
585
|
.eafont.ea-icon-conf.has { color: #000 }
|
|
613
586
|
|
|
587
|
+
.file-upload-dialog {
|
|
588
|
+
// 拖拽区域铺满
|
|
589
|
+
.el-upload,
|
|
590
|
+
.el-upload .el-upload-dragger {
|
|
591
|
+
width: 100%;
|
|
592
|
+
}
|
|
593
|
+
// 文件列表项边框
|
|
594
|
+
.el-upload-list {
|
|
595
|
+
.el-upload-list__item {
|
|
596
|
+
border: 1px dashed #aaa;
|
|
597
|
+
.el-icon-close {
|
|
598
|
+
display: inline-block;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
// 清除文件列表变动过渡动画
|
|
603
|
+
.el-list-enter,
|
|
604
|
+
.el-list-enter-active,
|
|
605
|
+
.el-list-enter-to,
|
|
606
|
+
.el-list-leave,
|
|
607
|
+
.el-list-leave-active,
|
|
608
|
+
.el-list-leave-to {
|
|
609
|
+
-webkit-transition: none !important;
|
|
610
|
+
transition: none !important;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
|
|
614
614
|
.ea-form .form-group-title {
|
|
615
615
|
position: relative;
|
|
616
616
|
height: 32px;
|
|
@@ -701,23 +701,6 @@ td {
|
|
|
701
701
|
margin-bottom: 8px !important;
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
.ea-form .el-form-item__content {
|
|
705
|
-
& > .el-input-number,
|
|
706
|
-
& > .el-input,
|
|
707
|
-
& > .ea-select,
|
|
708
|
-
& > .el-select {
|
|
709
|
-
width: 100%;
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
.ea-form .el-form-item.hidden-label {
|
|
713
|
-
> .el-form-item__label {
|
|
714
|
-
display: none;
|
|
715
|
-
}
|
|
716
|
-
> .el-form-item__content {
|
|
717
|
-
width: 100%;
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
|
|
721
704
|
.ea-select-container {
|
|
722
705
|
display: flex;
|
|
723
706
|
justify-content: flex-start;
|
|
@@ -758,6 +741,23 @@ td {
|
|
|
758
741
|
}
|
|
759
742
|
}
|
|
760
743
|
|
|
744
|
+
.ea-form .el-form-item__content {
|
|
745
|
+
& > .el-input-number,
|
|
746
|
+
& > .el-input,
|
|
747
|
+
& > .ea-select,
|
|
748
|
+
& > .el-select {
|
|
749
|
+
width: 100%;
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
.ea-form .el-form-item.hidden-label {
|
|
753
|
+
> .el-form-item__label {
|
|
754
|
+
display: none;
|
|
755
|
+
}
|
|
756
|
+
> .el-form-item__content {
|
|
757
|
+
width: 100%;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
761
761
|
.ea-switch-mini {
|
|
762
762
|
.el-switch__core {
|
|
763
763
|
width: 30px !important;
|