|
@@ -26,67 +26,11 @@
|
|
mask-image: linear-gradient(90deg, #000000 0%, #000000 calc(100% - 50px), transparent);
|
|
mask-image: linear-gradient(90deg, #000000 0%, #000000 calc(100% - 50px), transparent);
|
|
}
|
|
}
|
|
|
|
|
|
-/* custom card */
|
|
|
|
-.card {
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- padding: 20px;
|
|
|
|
- overflow-x: hidden;
|
|
|
|
- background-color: var(--el-bg-color);
|
|
|
|
- border: 1px solid var(--el-border-color-light);
|
|
|
|
- border-radius: 6px;
|
|
|
|
- box-shadow: 0 0 12px rgb(0 0 0 / 5%);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/* ProTable 不需要 card 样式(在组件内使用 ProTable 会使用到) */
|
|
|
|
-.no-card {
|
|
|
|
- .card {
|
|
|
|
- padding: 0;
|
|
|
|
- background-color: transparent;
|
|
|
|
- border: none;
|
|
|
|
- border-radius: 0;
|
|
|
|
- box-shadow: none;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .table-search {
|
|
|
|
- padding: 18px 0 0 !important;
|
|
|
|
- margin-bottom: 0 !important;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/* content-box (常用内容盒子) */
|
|
|
|
-.content-box {
|
|
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- align-items: center;
|
|
|
|
- height: 100%;
|
|
|
|
-
|
|
|
|
- .text {
|
|
|
|
- margin: 20px 0 30px;
|
|
|
|
- font-size: 23px;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: var(--el-text-color-regular);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .el-descriptions {
|
|
|
|
- width: 100%;
|
|
|
|
- padding: 40px 0 0;
|
|
|
|
-
|
|
|
|
- .el-descriptions__title {
|
|
|
|
- font-size: 18px;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .el-descriptions__label {
|
|
|
|
- width: 200px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/* main-box (树形表格 DeptTree 页面会使用,左右布局 flex) */
|
|
/* main-box (树形表格 DeptTree 页面会使用,左右布局 flex) */
|
|
.main-box {
|
|
.main-box {
|
|
display: flex;
|
|
display: flex;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
-
|
|
|
|
.table-box {
|
|
.table-box {
|
|
// 这里减去的是 DeptTree 组件宽度
|
|
// 这里减去的是 DeptTree 组件宽度
|
|
width: calc(100% - 230px);
|
|
width: calc(100% - 230px);
|
|
@@ -106,7 +50,6 @@
|
|
.table-search {
|
|
.table-search {
|
|
padding: 18px 18px 0;
|
|
padding: 18px 18px 0;
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
-
|
|
|
|
.el-form {
|
|
.el-form {
|
|
.el-form-item__content > * {
|
|
.el-form-item__content > * {
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -117,7 +60,6 @@
|
|
padding: 0 10px;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
.operation {
|
|
.operation {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -131,11 +73,9 @@
|
|
.header-button-lf {
|
|
.header-button-lf {
|
|
float: left;
|
|
float: left;
|
|
}
|
|
}
|
|
-
|
|
|
|
.header-button-ri {
|
|
.header-button-ri {
|
|
float: right;
|
|
float: right;
|
|
}
|
|
}
|
|
-
|
|
|
|
.el-button {
|
|
.el-button {
|
|
margin-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
@@ -149,7 +89,6 @@
|
|
table {
|
|
table {
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
-
|
|
|
|
.el-table__header th {
|
|
.el-table__header th {
|
|
height: 45px;
|
|
height: 45px;
|
|
font-size: 15px;
|
|
font-size: 15px;
|
|
@@ -157,14 +96,11 @@
|
|
color: var(--el-text-color-primary);
|
|
color: var(--el-text-color-primary);
|
|
background: var(--el-fill-color-light);
|
|
background: var(--el-fill-color-light);
|
|
}
|
|
}
|
|
-
|
|
|
|
.el-table__row {
|
|
.el-table__row {
|
|
height: 45px;
|
|
height: 45px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
-
|
|
|
|
.move {
|
|
.move {
|
|
cursor: move;
|
|
cursor: move;
|
|
-
|
|
|
|
.el-icon {
|
|
.el-icon {
|
|
cursor: move;
|
|
cursor: move;
|
|
}
|
|
}
|
|
@@ -182,12 +118,10 @@
|
|
top: 50%;
|
|
top: 50%;
|
|
left: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
-
|
|
|
|
.table-empty {
|
|
.table-empty {
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
&.is-scrolling-none {
|
|
&.is-scrolling-none {
|
|
th.el-table-fixed-column--left,
|
|
th.el-table-fixed-column--left,
|
|
th.el-table-fixed-column--right {
|
|
th.el-table-fixed-column--right {
|
|
@@ -211,18 +145,18 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-.el-dialog {
|
|
|
|
- .table-box,
|
|
|
|
- .table-main {
|
|
|
|
- .el-table {
|
|
|
|
- .el-table__empty-block {
|
|
|
|
- position: relative;
|
|
|
|
- transform: translateX(-50%);
|
|
|
|
- margin: 40px 0;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
|
|
+// .el-dialog {
|
|
|
|
+// .table-box,
|
|
|
|
+// .table-main {
|
|
|
|
+// .el-table {
|
|
|
|
+// .el-table__empty-block {
|
|
|
|
+// position: relative;
|
|
|
|
+// transform: translateX(-50%);
|
|
|
|
+// margin: 40px 0;
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
|
|
/* el-table 组件大小 */
|
|
/* el-table 组件大小 */
|
|
.el-table--small {
|
|
.el-table--small {
|
|
@@ -230,19 +164,16 @@
|
|
height: 40px !important;
|
|
height: 40px !important;
|
|
font-size: 14px !important;
|
|
font-size: 14px !important;
|
|
}
|
|
}
|
|
-
|
|
|
|
.el-table__row {
|
|
.el-table__row {
|
|
height: 40px !important;
|
|
height: 40px !important;
|
|
font-size: 13px !important;
|
|
font-size: 13px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
.el-table--large {
|
|
.el-table--large {
|
|
.el-table__header th {
|
|
.el-table__header th {
|
|
height: 50px !important;
|
|
height: 50px !important;
|
|
font-size: 16px !important;
|
|
font-size: 16px !important;
|
|
}
|
|
}
|
|
-
|
|
|
|
.el-table__row {
|
|
.el-table__row {
|
|
height: 50px !important;
|
|
height: 50px !important;
|
|
font-size: 15px !important;
|
|
font-size: 15px !important;
|
|
@@ -255,14 +186,12 @@
|
|
padding: 16px 20px;
|
|
padding: 16px 20px;
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
-
|
|
|
|
span {
|
|
span {
|
|
font-size: 17px;
|
|
font-size: 17px;
|
|
line-height: 17px;
|
|
line-height: 17px;
|
|
color: var(--el-text-color-primary) !important;
|
|
color: var(--el-text-color-primary) !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
.el-drawer__footer {
|
|
.el-drawer__footer {
|
|
border-top: 1px solid var(--el-border-color-lighter);
|
|
border-top: 1px solid var(--el-border-color-lighter);
|
|
}
|
|
}
|
|
@@ -276,10 +205,8 @@
|
|
.drawer-multiColumn-form {
|
|
.drawer-multiColumn-form {
|
|
display: flex;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
-
|
|
|
|
.el-form-item {
|
|
.el-form-item {
|
|
width: 47%;
|
|
width: 47%;
|
|
-
|
|
|
|
&:nth-child(2n-1) {
|
|
&:nth-child(2n-1) {
|
|
margin-right: 5%;
|
|
margin-right: 5%;
|
|
}
|
|
}
|
|
@@ -293,19 +220,16 @@
|
|
padding: 15px 20px;
|
|
padding: 15px 20px;
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
-
|
|
|
|
.el-dialog__title {
|
|
.el-dialog__title {
|
|
font-size: 17px;
|
|
font-size: 17px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
.el-upload-list.is-disabled {
|
|
.el-upload-list.is-disabled {
|
|
.el-upload {
|
|
.el-upload {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
.form__label {
|
|
.form__label {
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
}
|
|
}
|