element-assits 0.0.15 → 0.0.17
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/lib/index.js +16 -8
- package/lib/style.css +1 -1
- package/lib/style.scss +97 -97
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,8 +57,10 @@ Vue 原型上挂载了 `$asyncLoad` 方法
|
|
|
57
57
|
| innerPagination | 内部 - 分页 | Boolean \| Object | undefined
|
|
58
58
|
| innerOperation | 内部 - 操作栏(尾列)| Boolean \| Object | undefined
|
|
59
59
|
|
|
60
|
-
> `
|
|
61
|
-
|
|
60
|
+
> `innerForm` 可以绑定 `{ limit: 'auto', referenceItemWidth: 180, maxItemWidth: 240 }`
|
|
61
|
+
`limit` 限制默认显示的搜索条件数量,`referenceItemWidth` 单项参考宽度,`maxItemWidth` 单项最大宽度。
|
|
62
|
+
> `innerSelection` 可以绑定 `{ data: selectedRows }` 接收选中的行。
|
|
63
|
+
> `innerOperation` 可以绑定 `{ maxNumOfBtn: 3 }` 设置操作栏最大显示的按钮数,超出将被折叠。
|
|
62
64
|
|
|
63
65
|
## methods
|
|
64
66
|
|
package/lib/index.js
CHANGED
|
@@ -1559,6 +1559,14 @@ const en = hl.exports, pl = {
|
|
|
1559
1559
|
limit: {
|
|
1560
1560
|
type: [Number, String],
|
|
1561
1561
|
default: "auto"
|
|
1562
|
+
},
|
|
1563
|
+
referenceItemWidth: {
|
|
1564
|
+
type: Number,
|
|
1565
|
+
default: 180
|
|
1566
|
+
},
|
|
1567
|
+
maxItemWidth: {
|
|
1568
|
+
type: Number,
|
|
1569
|
+
default: 240
|
|
1562
1570
|
}
|
|
1563
1571
|
},
|
|
1564
1572
|
data() {
|
|
@@ -1603,11 +1611,11 @@ const en = hl.exports, pl = {
|
|
|
1603
1611
|
const t = this.$refs.eform && this.$refs.eform.$el;
|
|
1604
1612
|
if (!t)
|
|
1605
1613
|
return;
|
|
1606
|
-
const e =
|
|
1607
|
-
this.defaultCount = this.limit === "all" ? this.allColumn.length : typeof this.limit == "number" ? Math.min(this.limit, this.allColumn.length) :
|
|
1608
|
-
const
|
|
1609
|
-
this.allColumn.forEach((
|
|
1610
|
-
|
|
1614
|
+
const e = this.getWidth(t), n = this.getWidth(this.$refs.sa.$el) + 10, r = this.getWidth(this.$refs.tm.$el), i = Math.floor(e / this.referenceItemWidth), s = Math.floor((e - n) / this.referenceItemWidth), o = Math.floor((e - n - r) / this.referenceItemWidth);
|
|
1615
|
+
this.defaultCount = this.limit === "all" ? this.allColumn.length : typeof this.limit == "number" ? Math.min(this.limit, this.allColumn.length) : o >= 1 ? o : s >= 1 ? s : i;
|
|
1616
|
+
const a = this.showAll ? this.allColumn.length : this.defaultCount, l = a <= o ? (e - n - r) / a - 10 : a <= s ? (e - n) / a - 10 : a < i ? (e - (a - 1) * 10) / a : (e - (i - 1) * 10) / i, u = a > s && a < i ? a : i;
|
|
1617
|
+
this.allColumn.forEach((f, c) => {
|
|
1618
|
+
f.style.width = Math.min(l, this.maxItemWidth) + "px", (c + 1) % u === 0 ? f.style.marginRight = 0 : f.style.marginRight = "10px";
|
|
1611
1619
|
}), this.resetSearchCount();
|
|
1612
1620
|
},
|
|
1613
1621
|
getWidth(t) {
|
|
@@ -1761,7 +1769,7 @@ function wt(t = 3) {
|
|
|
1761
1769
|
const e = this;
|
|
1762
1770
|
let n, r;
|
|
1763
1771
|
try {
|
|
1764
|
-
const i = xt.bind(this)({});
|
|
1772
|
+
const i = xt.bind(this)({ row: {}, column: {} });
|
|
1765
1773
|
if (n = i.some((s) => s.tag), !(t > 0))
|
|
1766
1774
|
throw new Error();
|
|
1767
1775
|
if (t === i.length)
|
|
@@ -2060,8 +2068,8 @@ var El = function() {
|
|
|
2060
2068
|
return [n(e.generateRender(i, r, s), { tag: "component" })];
|
|
2061
2069
|
} } : null], null, !0) }, "el-table-column", r.bind, !1), r.on));
|
|
2062
2070
|
}), e.theOperation.show ? n("el-table-column", e._b({ scopedSlots: e._u([{ key: "default", fn: function(r) {
|
|
2063
|
-
return [e.theOperation.render ? n(e.theOperation.render, { tag: "component", attrs: { scope: r } }) : e._t("row-menu", null, null, r)];
|
|
2064
|
-
} }], null, !1,
|
|
2071
|
+
return [e.theOperation.render ? n(e.theOperation.render, { key: r && r.row && r.row.id || e.uuid(), tag: "component", attrs: { scope: r } }) : e._t("row-menu", null, null, r)];
|
|
2072
|
+
} }], null, !1, 173819514) }, "el-table-column", { label: "\u64CD\u4F5C", align: "center", fixed: "right", ...e.theOperation.attrs }, !1)) : e._e(), e._t("after-column")], 2)], 1)];
|
|
2065
2073
|
}, { data: e.data }), e._t("footer", function() {
|
|
2066
2074
|
return [n("div", { staticClass: "ea-table__footer" }, [n("div", [e._t("bottom-menu")], 2), e.thePagination.show && e.page.total ? n("el-pagination", e._b({ staticClass: "ea-table__footer-right", attrs: { layout: "total, sizes, prev, pager, next, jumper", "page-size": e.page.pageSize, "current-page": e.page.current, total: e.page.total, "page-sizes": [10, 20, 50, 100], background: "" }, on: { "size-change": e.handleSizeChange, "current-change": e.handleCurrentChange } }, "el-pagination", e.thePagination.attrs, !1)) : e._e()], 1)];
|
|
2067
2075
|
})], 2);
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ea-select{display:inline-block;position:relative}.ea-select .el-select{width:100%}.ea-select .async-loading.el-icon-loading{position:absolute;top:10px;right:28px;color:#999}.ea-select-popover .el-select-dropdown__item{display:flex}.ea-select-popover .el-select-dropdown__item .select-item-value{overflow:hidden;text-overflow:ellipsis}.ea-select-popover .el-select-dropdown__item .select-item-desc{overflow:hidden;text-overflow:ellipsis;color:#8492a6;margin-left:8px}.ea-form .el-form-item__content>.el-input-number,.ea-form .el-form-item__content>.el-input,.ea-form .el-form-item__content>.ea-select,.ea-form .el-form-item__content>.el-select{width:100%}.ea-form .el-form-item.hidden-label>.el-form-item__label{display:none}.ea-form .el-form-item.hidden-label>.el-form-item__content{width:100%}.ea-form .form-group-title{position:relative;height:32px;margin-bottom:22px}.ea-form .form-group-title>span{position:absolute;top:0;left:20%;padding:5px 25px;background-color:#fff;z-index:1;color:#909399}.ea-form .form-group-title:after{content:"";position:absolute;top:50%;left:0;width:100%;height:0;border-bottom:1px dashed #DCDFE6}.ea-select-container{display:flex;justify-content:flex-start;font-size:12px}.ea-select-container.medium{font-size:14px}.ea-select-container.medium .ea-select-panel .ea-select-panel__item{line-height:28px}.ea-select-container .ea-select-panel{padding:0;margin:0;list-style:none;flex-grow:1;min-width:120px}.ea-select-container .ea-select-panel+.ea-select-panel{border-left:1px solid #DDD}.ea-select-container .ea-select-panel__item{width:100%;line-height:24px;cursor:pointer;padding:0 12px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;font-size:inherit}.ea-select-container .ea-select-panel__item:hover{background-color:#ebeef5}.ea-select-container .ea-select-panel__item.active{color:#409eff;font-weight:700}.ea-table .el-table th{background-color:#f2f6fc;color:#303133}.ea-table .el-table th .cell{min-height:30px;display:flex;justify-content:flex-start;align-items:center}.ea-table .el-table th.is-center .cell{justify-content:center}.ea-table .el-table th.is-right .cell{justify-content:flex-end}.ea-table .el-table td .cell,.ea-table .el-table th .cell{line-height:1.2}.ea-table .el-table.el-table--small td,.ea-table .el-table.el-table--small th{height:48px}.ea-table .el-table.is-dense td,.ea-table .el-table.is-dense th{height:32px;padding:2px 0}.ea-table .el-table.is-dense td .el-button,.ea-table .el-table.is-dense th .el-button{padding-top:0;padding-bottom:0}.ea-table .theader-th-cell .cell-icon-menu{position:absolute;top:50%;right:4px;transform:rotate(90deg) translate(-50%);color:#c0c4cc;cursor:pointer;padding:4px;border-radius:2px}.ea-table .theader-th-cell .cell-icon-menu:hover{color:#303133;background-color:#e4e7ed}.ea-table .ea-table__footer{display:flex;justify-content:space-between}.ea-table .ea-table__footer .ea-table__footer-right{margin-left:auto;padding-right:0}.ea-table .ea-table__footer>*{margin-top:12px}.ea-table .column-transition-active{opacity:.33}.ea-table .el-button>i{min-width:12px}.ea-table .more-btn>i{transform:rotate(-90deg)}.el-popover.ea-popover-no-padding{padding:8px 0;min-width:100px}.el-popover.ea-popover-no-padding.dense{margin-top:0;margin-bottom:0;min-width:70px}.more-btn-panel__item:hover{background-color:#ebeef5}.more-btn-panel__item
|
|
1
|
+
.ea-select{display:inline-block;position:relative}.ea-select .el-select{width:100%}.ea-select .async-loading.el-icon-loading{position:absolute;top:10px;right:28px;color:#999}.ea-select-popover .el-select-dropdown__item{display:flex}.ea-select-popover .el-select-dropdown__item .select-item-value{overflow:hidden;text-overflow:ellipsis}.ea-select-popover .el-select-dropdown__item .select-item-desc{overflow:hidden;text-overflow:ellipsis;color:#8492a6;margin-left:8px}.ea-form .el-form-item__content>.el-input-number,.ea-form .el-form-item__content>.el-input,.ea-form .el-form-item__content>.ea-select,.ea-form .el-form-item__content>.el-select{width:100%}.ea-form .el-form-item.hidden-label>.el-form-item__label{display:none}.ea-form .el-form-item.hidden-label>.el-form-item__content{width:100%}.ea-form .form-group-title{position:relative;height:32px;margin-bottom:22px}.ea-form .form-group-title>span{position:absolute;top:0;left:20%;padding:5px 25px;background-color:#fff;z-index:1;color:#909399}.ea-form .form-group-title:after{content:"";position:absolute;top:50%;left:0;width:100%;height:0;border-bottom:1px dashed #DCDFE6}.ea-select-container{display:flex;justify-content:flex-start;font-size:12px}.ea-select-container.medium{font-size:14px}.ea-select-container.medium .ea-select-panel .ea-select-panel__item{line-height:28px}.ea-select-container .ea-select-panel{padding:0;margin:0;list-style:none;flex-grow:1;min-width:120px}.ea-select-container .ea-select-panel+.ea-select-panel{border-left:1px solid #DDD}.ea-select-container .ea-select-panel__item{width:100%;line-height:24px;cursor:pointer;padding:0 12px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;font-size:inherit}.ea-select-container .ea-select-panel__item:hover{background-color:#ebeef5}.ea-select-container .ea-select-panel__item.active{color:#409eff;font-weight:700}.ea-table .el-table th{background-color:#f2f6fc;color:#303133}.ea-table .el-table th .cell{min-height:30px;display:flex;justify-content:flex-start;align-items:center}.ea-table .el-table th.is-center .cell{justify-content:center}.ea-table .el-table th.is-right .cell{justify-content:flex-end}.ea-table .el-table td .cell,.ea-table .el-table th .cell{line-height:1.2}.ea-table .el-table.el-table--small td,.ea-table .el-table.el-table--small th{height:48px}.ea-table .el-table.is-dense td,.ea-table .el-table.is-dense th{height:32px;padding:2px 0}.ea-table .el-table.is-dense td .el-button,.ea-table .el-table.is-dense th .el-button{padding-top:0;padding-bottom:0}.ea-table .theader-th-cell .cell-icon-menu{position:absolute;top:50%;right:4px;transform:rotate(90deg) translate(-50%);color:#c0c4cc;cursor:pointer;padding:4px;border-radius:2px}.ea-table .theader-th-cell .cell-icon-menu:hover{color:#303133;background-color:#e4e7ed}.ea-table .ea-table__footer{display:flex;justify-content:space-between}.ea-table .ea-table__footer .ea-table__footer-right{margin-left:auto;padding-right:0}.ea-table .ea-table__footer>*{margin-top:12px}.ea-table .column-transition-active{opacity:.33}.ea-table .el-button>i{min-width:12px}.ea-table .more-btn>i{transform:rotate(-90deg)}.el-popover.ea-popover-no-padding{padding:8px 0;min-width:100px}.el-popover.ea-popover-no-padding.dense{margin-top:0;margin-bottom:0;min-width:70px}.more-btn-panel__item:hover{background-color:#ebeef5}.more-btn-panel__item .el-button{padding:8px 12px;width:100%;text-align:left}.ea-zoom-in-top-enter-active,.ea-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.ea-zoom-in-top-enter,.ea-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-dialog.ea-modal.is-closing{margin:0!important}.el-dialog.ea-modal.is-fullscreen{border-radius:0;margin:0}.el-dialog.ea-modal .el-dialog__header{color:#555;font-size:18px}.el-dialog.ea-modal .el-dialog__header .el-dialog__title{color:inherit;font-size:inherit}.ea-button-tooltip+.ea-button-tooltip{margin-left:10px}td .ea-button-tooltip+.ea-button-tooltip{margin-left:4px}td .ea-button-tooltip+.ea-button-tooltip.text{margin-left:10px}td .el-button [class*=el-icon-]+span{margin-left:2px}.el-button.ea-button.mini-rect-btn{padding:7px;border:0}.el-button.ea-button.mini-rect-btn [class^=design-]{margin-right:0}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary{background-color:#409eff26;color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus{background-color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success{background-color:#67c23a26;color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus{background-color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info{background-color:#90939926;color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus{background-color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning{background-color:#e6a23c26;color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus{background-color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger{background-color:#f56c6c26;color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus{background-color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus i{color:#fff}.ea-split-container{display:flex}.ea-split-container.is-down{user-select:none}.ea-split-container .sc-left,.ea-split-container .sc-right{flex-grow:1;flex-shrink:1}.ea-split-container .sc-bamboo{flex-grow:0;flex-shrink:0;width:8px;border:1px solid #DCDEE2;border-top:none;border-bottom:none;background-color:#f8f8f9;cursor:col-resize;user-select:none;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 16px}.ea-split-container .sc-bamboo .sc-texture{width:4px;height:1px;background:rgba(23,35,61,.25);margin-top:3px}.ea-tree .ea-tree-real .el-tree-node>.el-tree-node__content{border-radius:4px}.ea-tree .ea-tree-real .el-tree-node.is-current>.el-tree-node__content{color:#409eff;background-color:#409eff1a}.ea-list .loading-text{color:#909399;text-align:center;font-size:inherit}.ea-desc{font-size:14px}.ea-desc__title{font-size:16px;margin-bottom:12px}.ea-desc__list{display:flex;flex-wrap:wrap}.ea-desc .item{line-height:24px;margin-bottom:10px;flex:0 0 auto}.ea-desc .item .item-label{float:left;text-align:right;padding-right:8px;color:#909399}.ea-desc .item .item-value{word-break:break-all}.ea-desc .item .item-value .value-no-wrap{height:48px;overflow:hidden;position:relative}.ea-desc .item .item-value .value-no-wrap .click-see-more{position:absolute;right:0;bottom:0;height:24px;padding-left:30px;padding-right:4px;background-image:linear-gradient(to right,transparent 0%,#fff 20%,#fff 100%);cursor:pointer;color:#409eff;user-select:none}.ea-number .el-input__inner{text-align:left}.file-upload-dialog .el-upload,.file-upload-dialog .el-upload .el-upload-dragger{width:100%}.file-upload-dialog .el-upload-list .el-upload-list__item{border:1px dashed #aaa}.file-upload-dialog .el-upload-list .el-upload-list__item .el-icon-close{display:inline-block}.file-upload-dialog .el-list-enter,.file-upload-dialog .el-list-enter-active,.file-upload-dialog .el-list-enter-to,.file-upload-dialog .el-list-leave,.file-upload-dialog .el-list-leave-active,.file-upload-dialog .el-list-leave-to{-webkit-transition:none!important;transition:none!important}.ea-table-modal{overflow:visible;right:unset;right:initial;bottom:unset;bottom:initial;width:100%;height:0}.ea-table-modal .el-dialog{background:#fdfdfd;box-shadow:0 0 16px #00000026}.ea-table-modal .el-dialog .el-dialog__header{padding:12px 20px;background-color:#f2f6fc;border-bottom:1px solid #EBEEF5}.ea-table-modal .el-dialog .el-dialog__headerbtn{top:12px}.ea-table-modal .el-dialog .el-dialog__close{font-weight:700;color:#909399}.ea-table-modal .el-dialog .el-dialog__body{padding:10px 0;height:calc(100% - 70px);min-height:40px;max-height:800px;overflow:auto}.ea-table-modal .el-dialog .el-dialog__body .scm-title{font-size:12px;font-weight:700;color:#303133}.ea-table-modal .el-dialog .el-dialog__body .scm-title.medium{font-size:14px}.ea-table-modal .el-dialog .el-dialog__body .el-tree{background:transparent;font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree .el-tree-node__label{font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium,.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium .el-tree-node__label{font-size:14px}
|
package/lib/style.scss
CHANGED
|
@@ -11,6 +11,35 @@ $--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
|
+
.select-item-value {
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
text-overflow: ellipsis;
|
|
33
|
+
}
|
|
34
|
+
.select-item-desc {
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
text-overflow: ellipsis;
|
|
37
|
+
color: #8492a6;
|
|
38
|
+
margin-left: 8px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
14
43
|
// table
|
|
15
44
|
.ea-table {
|
|
16
45
|
// 表格头部样式美化
|
|
@@ -107,7 +136,7 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
107
136
|
&:hover {
|
|
108
137
|
background-color: $--color-border-lighter;
|
|
109
138
|
}
|
|
110
|
-
|
|
139
|
+
.el-button {
|
|
111
140
|
padding: 8px 12px;
|
|
112
141
|
width: 100%;
|
|
113
142
|
text-align: left;
|
|
@@ -128,35 +157,6 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
128
157
|
transform: scaleY(0);
|
|
129
158
|
}
|
|
130
159
|
|
|
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
|
-
.select-item-value {
|
|
148
|
-
overflow: hidden;
|
|
149
|
-
text-overflow: ellipsis;
|
|
150
|
-
}
|
|
151
|
-
.select-item-desc {
|
|
152
|
-
overflow: hidden;
|
|
153
|
-
text-overflow: ellipsis;
|
|
154
|
-
color: #8492a6;
|
|
155
|
-
margin-left: 8px;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
160
|
.el-dialog.ea-modal {
|
|
161
161
|
&.is-closing {
|
|
162
162
|
margin: 0 !important;
|
|
@@ -240,14 +240,6 @@ td {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.ea-list {
|
|
244
|
-
.loading-text {
|
|
245
|
-
color: $--color-secondary-text;
|
|
246
|
-
text-align: center;
|
|
247
|
-
font-size: inherit;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
243
|
.ea-split-container {
|
|
252
244
|
display: flex;
|
|
253
245
|
&.is-down {
|
|
@@ -301,6 +293,41 @@ td {
|
|
|
301
293
|
}
|
|
302
294
|
}
|
|
303
295
|
|
|
296
|
+
.file-upload-dialog {
|
|
297
|
+
// 拖拽区域铺满
|
|
298
|
+
.el-upload,
|
|
299
|
+
.el-upload .el-upload-dragger {
|
|
300
|
+
width: 100%;
|
|
301
|
+
}
|
|
302
|
+
// 文件列表项边框
|
|
303
|
+
.el-upload-list {
|
|
304
|
+
.el-upload-list__item {
|
|
305
|
+
border: 1px dashed #aaa;
|
|
306
|
+
.el-icon-close {
|
|
307
|
+
display: inline-block;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
// 清除文件列表变动过渡动画
|
|
312
|
+
.el-list-enter,
|
|
313
|
+
.el-list-enter-active,
|
|
314
|
+
.el-list-enter-to,
|
|
315
|
+
.el-list-leave,
|
|
316
|
+
.el-list-leave-active,
|
|
317
|
+
.el-list-leave-to {
|
|
318
|
+
-webkit-transition: none !important;
|
|
319
|
+
transition: none !important;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.ea-list {
|
|
324
|
+
.loading-text {
|
|
325
|
+
color: $--color-secondary-text;
|
|
326
|
+
text-align: center;
|
|
327
|
+
font-size: inherit;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
304
331
|
.ea-desc {
|
|
305
332
|
font-size: 14px;
|
|
306
333
|
&__title {
|
|
@@ -344,30 +371,27 @@ td {
|
|
|
344
371
|
}
|
|
345
372
|
}
|
|
346
373
|
|
|
347
|
-
.
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
}
|
|
360
|
-
}
|
|
374
|
+
.ea-form .form-group-title {
|
|
375
|
+
position: relative;
|
|
376
|
+
height: 32px;
|
|
377
|
+
margin-bottom: 22px;
|
|
378
|
+
> span {
|
|
379
|
+
position: absolute;
|
|
380
|
+
top: 0;
|
|
381
|
+
left: 20%;
|
|
382
|
+
padding: 5px 25px;
|
|
383
|
+
background-color: #fff;
|
|
384
|
+
z-index: 1;
|
|
385
|
+
color: $--color-secondary-text;
|
|
361
386
|
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
-
|
|
370
|
-
transition: none !important;
|
|
387
|
+
&::after {
|
|
388
|
+
content: '';
|
|
389
|
+
position: absolute;
|
|
390
|
+
top: 50%;
|
|
391
|
+
left: 0;
|
|
392
|
+
width: 100%;
|
|
393
|
+
height: 0;
|
|
394
|
+
border-bottom: 1px dashed $--color-border-base;
|
|
371
395
|
}
|
|
372
396
|
}
|
|
373
397
|
|
|
@@ -425,27 +449,20 @@ td {
|
|
|
425
449
|
}
|
|
426
450
|
}
|
|
427
451
|
|
|
428
|
-
.ea-form .form-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
>
|
|
433
|
-
|
|
434
|
-
top: 0;
|
|
435
|
-
left: 20%;
|
|
436
|
-
padding: 5px 25px;
|
|
437
|
-
background-color: #fff;
|
|
438
|
-
z-index: 1;
|
|
439
|
-
color: $--color-secondary-text;
|
|
452
|
+
.ea-form .el-form-item__content {
|
|
453
|
+
& > .el-input-number,
|
|
454
|
+
& > .el-input,
|
|
455
|
+
& > .ea-select,
|
|
456
|
+
& > .el-select {
|
|
457
|
+
width: 100%;
|
|
440
458
|
}
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
459
|
+
}
|
|
460
|
+
.ea-form .el-form-item.hidden-label {
|
|
461
|
+
> .el-form-item__label {
|
|
462
|
+
display: none;
|
|
463
|
+
}
|
|
464
|
+
> .el-form-item__content {
|
|
446
465
|
width: 100%;
|
|
447
|
-
height: 0;
|
|
448
|
-
border-bottom: 1px dashed $--color-border-base;
|
|
449
466
|
}
|
|
450
467
|
}
|
|
451
468
|
|
|
@@ -488,20 +505,3 @@ td {
|
|
|
488
505
|
}
|
|
489
506
|
}
|
|
490
507
|
}
|
|
491
|
-
|
|
492
|
-
.ea-form .el-form-item__content {
|
|
493
|
-
& > .el-input-number,
|
|
494
|
-
& > .el-input,
|
|
495
|
-
& > .ea-select,
|
|
496
|
-
& > .el-select {
|
|
497
|
-
width: 100%;
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
.ea-form .el-form-item.hidden-label {
|
|
501
|
-
> .el-form-item__label {
|
|
502
|
-
display: none;
|
|
503
|
-
}
|
|
504
|
-
> .el-form-item__content {
|
|
505
|
-
width: 100%;
|
|
506
|
-
}
|
|
507
|
-
}
|