element-assits 0.0.6 → 0.0.7
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 +1 -0
- package/lib/index.js +3 -1
- package/lib/style.css +1 -1
- package/lib/style.scss +133 -131
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -1945,7 +1945,9 @@ var E$ = function() {
|
|
|
1945
1945
|
}), t.theOperation.show ? n("el-table-column", t._b({ scopedSlots: t._u([{ key: "default", fn: function(r) {
|
|
1946
1946
|
return [t._t("row-menu", null, null, r)];
|
|
1947
1947
|
} }], null, !0) }, "el-table-column", { label: "\u64CD\u4F5C", align: "center", fixed: "right", ...t.theOperation.attrs }, !1)) : t._e(), t._t("after-column")], 2)], 1)];
|
|
1948
|
-
}, { data: t.data }),
|
|
1948
|
+
}, { data: t.data }), t._t("footer", function() {
|
|
1949
|
+
return [n("div", { staticClass: "ea-table__footer" }, [n("div", [t._t("bottom-menu")], 2), t.thePagination.show && t.page.total ? n("el-pagination", { staticClass: "ea-table__footer-right", attrs: { layout: "total, sizes, prev, pager, next, jumper", "page-size": t.page.pageSize, "current-page": t.page.current, total: t.page.total, "page-sizes": [10, 20, 50, 100], background: "" }, on: { "size-change": t.handleSizeChange, "current-change": t.handleCurrentChange } }) : t._e()], 1)];
|
|
1950
|
+
})], 2);
|
|
1949
1951
|
}, O$ = [], S$ = /* @__PURE__ */ B(
|
|
1950
1952
|
C$,
|
|
1951
1953
|
E$,
|
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 td .cell,.ea-table .el-table th .cell{line-height:1.2}.ea-table .el-table.is-dense td,.ea-table .el-table.is-dense th{height:32px;padding:2px 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}.el-popover.ea-popover-no-padding{padding:8px 0;min-width:100px}.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}
|
|
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.is-dense td,.ea-table .el-table.is-dense th{height:32px;padding:2px 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}.el-popover.ea-popover-no-padding{padding:8px 0;min-width:100px}.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,35 +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
|
-
.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
|
-
|
|
43
14
|
// table
|
|
44
15
|
.ea-table {
|
|
45
16
|
// 表格头部样式美化
|
|
@@ -53,6 +24,8 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
53
24
|
justify-content: flex-start;
|
|
54
25
|
align-items: center;
|
|
55
26
|
}
|
|
27
|
+
&.is-center .cell { justify-content: center }
|
|
28
|
+
&.is-right .cell { justify-content: flex-end }
|
|
56
29
|
}
|
|
57
30
|
td, th {
|
|
58
31
|
.cell {
|
|
@@ -111,67 +84,31 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
111
84
|
min-width: 100px;
|
|
112
85
|
}
|
|
113
86
|
|
|
114
|
-
.ea-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
margin-left: 4px;
|
|
120
|
-
&.text {
|
|
121
|
-
margin-left: 10px;
|
|
122
|
-
}
|
|
87
|
+
.ea-select {
|
|
88
|
+
display: inline-block;
|
|
89
|
+
position: relative;
|
|
90
|
+
.el-select {
|
|
91
|
+
width: 100%;
|
|
123
92
|
}
|
|
124
|
-
.
|
|
125
|
-
|
|
93
|
+
.async-loading.el-icon-loading {
|
|
94
|
+
position: absolute;
|
|
95
|
+
top: 10px;
|
|
96
|
+
right: 28px;
|
|
97
|
+
color: #999;
|
|
126
98
|
}
|
|
127
99
|
}
|
|
128
|
-
|
|
129
|
-
.el-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
&:not(.is-disabled) {
|
|
136
|
-
&.primary {
|
|
137
|
-
background-color: rgba($--color-primary, .15);
|
|
138
|
-
color: $--color-primary;
|
|
139
|
-
&:hover,&:focus {
|
|
140
|
-
background-color: $--color-primary;
|
|
141
|
-
i { color: #fff }
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
&.success {
|
|
145
|
-
background-color: rgba($--color-success, .15);
|
|
146
|
-
color: $--color-success;
|
|
147
|
-
&:hover,&:focus {
|
|
148
|
-
background-color: $--color-success;
|
|
149
|
-
i { color: #fff }
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
&.info {
|
|
153
|
-
background-color: rgba($--color-info, .15);
|
|
154
|
-
color: $--color-info;
|
|
155
|
-
&:hover,&:focus {
|
|
156
|
-
background-color: $--color-info;
|
|
157
|
-
i { color: #fff }
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
&.warning {
|
|
161
|
-
background-color: rgba($--color-warning, .15);
|
|
162
|
-
color: $--color-warning;
|
|
163
|
-
&:hover,&:focus {
|
|
164
|
-
background-color: $--color-warning;
|
|
165
|
-
i { color: #fff }
|
|
166
|
-
}
|
|
100
|
+
.ea-select-popover {
|
|
101
|
+
.el-select-dropdown__item {
|
|
102
|
+
display: flex;
|
|
103
|
+
.select-item-value {
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
text-overflow: ellipsis;
|
|
167
106
|
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
i { color: #fff }
|
|
174
|
-
}
|
|
107
|
+
.select-item-desc {
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
text-overflow: ellipsis;
|
|
110
|
+
color: #8492a6;
|
|
111
|
+
margin-left: 8px;
|
|
175
112
|
}
|
|
176
113
|
}
|
|
177
114
|
}
|
|
@@ -231,6 +168,14 @@ td {
|
|
|
231
168
|
}
|
|
232
169
|
}
|
|
233
170
|
|
|
171
|
+
.ea-list {
|
|
172
|
+
.loading-text {
|
|
173
|
+
color: $--color-secondary-text;
|
|
174
|
+
text-align: center;
|
|
175
|
+
font-size: inherit;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
234
179
|
.ea-tree {
|
|
235
180
|
.ea-tree-real {
|
|
236
181
|
.el-tree-node > .el-tree-node__content{
|
|
@@ -243,14 +188,75 @@ td {
|
|
|
243
188
|
}
|
|
244
189
|
}
|
|
245
190
|
|
|
246
|
-
.ea-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
191
|
+
.ea-button-tooltip + .ea-button-tooltip {
|
|
192
|
+
margin-left: 10px;
|
|
193
|
+
}
|
|
194
|
+
td {
|
|
195
|
+
.ea-button-tooltip + .ea-button-tooltip {
|
|
196
|
+
margin-left: 4px;
|
|
197
|
+
&.text {
|
|
198
|
+
margin-left: 10px;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
.el-button [class*="el-icon-"] + span {
|
|
202
|
+
margin-left: 2px;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.el-button.ea-button.mini-rect-btn {
|
|
207
|
+
padding: 7px;
|
|
208
|
+
border: 0;
|
|
209
|
+
& [class^="design-"] {
|
|
210
|
+
margin-right: 0;
|
|
211
|
+
}
|
|
212
|
+
&:not(.is-disabled) {
|
|
213
|
+
&.primary {
|
|
214
|
+
background-color: rgba($--color-primary, .15);
|
|
215
|
+
color: $--color-primary;
|
|
216
|
+
&:hover,&:focus {
|
|
217
|
+
background-color: $--color-primary;
|
|
218
|
+
i { color: #fff }
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
&.success {
|
|
222
|
+
background-color: rgba($--color-success, .15);
|
|
223
|
+
color: $--color-success;
|
|
224
|
+
&:hover,&:focus {
|
|
225
|
+
background-color: $--color-success;
|
|
226
|
+
i { color: #fff }
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
&.info {
|
|
230
|
+
background-color: rgba($--color-info, .15);
|
|
231
|
+
color: $--color-info;
|
|
232
|
+
&:hover,&:focus {
|
|
233
|
+
background-color: $--color-info;
|
|
234
|
+
i { color: #fff }
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
&.warning {
|
|
238
|
+
background-color: rgba($--color-warning, .15);
|
|
239
|
+
color: $--color-warning;
|
|
240
|
+
&:hover,&:focus {
|
|
241
|
+
background-color: $--color-warning;
|
|
242
|
+
i { color: #fff }
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
&.danger {
|
|
246
|
+
background-color: rgba($--color-danger, .15);
|
|
247
|
+
color: $--color-danger;
|
|
248
|
+
&:hover,&:focus {
|
|
249
|
+
background-color: $--color-danger;
|
|
250
|
+
i { color: #fff }
|
|
251
|
+
}
|
|
252
|
+
}
|
|
251
253
|
}
|
|
252
254
|
}
|
|
253
255
|
|
|
256
|
+
.ea-number .el-input__inner {
|
|
257
|
+
text-align: left;
|
|
258
|
+
}
|
|
259
|
+
|
|
254
260
|
.ea-desc {
|
|
255
261
|
font-size: 14px;
|
|
256
262
|
&__title {
|
|
@@ -294,10 +300,6 @@ td {
|
|
|
294
300
|
}
|
|
295
301
|
}
|
|
296
302
|
|
|
297
|
-
.ea-number .el-input__inner {
|
|
298
|
-
text-align: left;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
303
|
.file-upload-dialog {
|
|
302
304
|
// 拖拽区域铺满
|
|
303
305
|
.el-upload,
|
|
@@ -325,30 +327,6 @@ td {
|
|
|
325
327
|
}
|
|
326
328
|
}
|
|
327
329
|
|
|
328
|
-
.ea-form .form-group-title {
|
|
329
|
-
position: relative;
|
|
330
|
-
height: 32px;
|
|
331
|
-
margin-bottom: 22px;
|
|
332
|
-
> span {
|
|
333
|
-
position: absolute;
|
|
334
|
-
top: 0;
|
|
335
|
-
left: 20%;
|
|
336
|
-
padding: 5px 25px;
|
|
337
|
-
background-color: #fff;
|
|
338
|
-
z-index: 1;
|
|
339
|
-
color: $--color-secondary-text;
|
|
340
|
-
}
|
|
341
|
-
&::after {
|
|
342
|
-
content: '';
|
|
343
|
-
position: absolute;
|
|
344
|
-
top: 50%;
|
|
345
|
-
left: 0;
|
|
346
|
-
width: 100%;
|
|
347
|
-
height: 0;
|
|
348
|
-
border-bottom: 1px dashed $--color-border-base;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
330
|
.ea-table-modal {
|
|
353
331
|
overflow: visible;
|
|
354
332
|
right: unset;
|
|
@@ -403,20 +381,27 @@ td {
|
|
|
403
381
|
}
|
|
404
382
|
}
|
|
405
383
|
|
|
406
|
-
.ea-form .
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
384
|
+
.ea-form .form-group-title {
|
|
385
|
+
position: relative;
|
|
386
|
+
height: 32px;
|
|
387
|
+
margin-bottom: 22px;
|
|
388
|
+
> span {
|
|
389
|
+
position: absolute;
|
|
390
|
+
top: 0;
|
|
391
|
+
left: 20%;
|
|
392
|
+
padding: 5px 25px;
|
|
393
|
+
background-color: #fff;
|
|
394
|
+
z-index: 1;
|
|
395
|
+
color: $--color-secondary-text;
|
|
417
396
|
}
|
|
418
|
-
|
|
397
|
+
&::after {
|
|
398
|
+
content: '';
|
|
399
|
+
position: absolute;
|
|
400
|
+
top: 50%;
|
|
401
|
+
left: 0;
|
|
419
402
|
width: 100%;
|
|
403
|
+
height: 0;
|
|
404
|
+
border-bottom: 1px dashed $--color-border-base;
|
|
420
405
|
}
|
|
421
406
|
}
|
|
422
407
|
|
|
@@ -459,3 +444,20 @@ td {
|
|
|
459
444
|
}
|
|
460
445
|
}
|
|
461
446
|
}
|
|
447
|
+
|
|
448
|
+
.ea-form .el-form-item__content {
|
|
449
|
+
& > .el-input-number,
|
|
450
|
+
& > .el-input,
|
|
451
|
+
& > .ea-select,
|
|
452
|
+
& > .el-select {
|
|
453
|
+
width: 100%;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
.ea-form .el-form-item.hidden-label {
|
|
457
|
+
> .el-form-item__label {
|
|
458
|
+
display: none;
|
|
459
|
+
}
|
|
460
|
+
> .el-form-item__content {
|
|
461
|
+
width: 100%;
|
|
462
|
+
}
|
|
463
|
+
}
|