修改表单样式
This commit is contained in:
@@ -174,59 +174,53 @@ body,
|
||||
|
||||
/* 表格-e */
|
||||
|
||||
/* 新增/编辑表单-s */
|
||||
.cn-operate-dialog {
|
||||
overflow: hidden;
|
||||
border-radius: var(--el-border-radius-base);
|
||||
}
|
||||
// /* 新增/编辑表单-s */
|
||||
// .cn-operate-dialog {
|
||||
// overflow: hidden;
|
||||
// border-radius: var(--el-border-radius-base);
|
||||
// }
|
||||
|
||||
.cn-operate-dialog .el-dialog__header {
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid var(--ba-bg-color);
|
||||
}
|
||||
// .cn-operate-dialog .el-dialog__header {
|
||||
// padding-bottom: 16px;
|
||||
// border-bottom: 1px solid var(--ba-bg-color);
|
||||
// }
|
||||
|
||||
.cn-operate-dialog .el-dialog__body {
|
||||
max-height: 60vh;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 52px;
|
||||
}
|
||||
// .cn-operate-dialog .el-dialog__body {
|
||||
// max-height: 60vh;
|
||||
// padding-top: 20px;
|
||||
// padding-bottom: 52px;
|
||||
// }
|
||||
|
||||
.cn-operate-dialog .el-dialog__body .el-scrollbar {
|
||||
// padding-right: 60px;
|
||||
}
|
||||
.el-dialog__footer {
|
||||
padding: 15px;
|
||||
box-shadow: var(--el-box-shadow);
|
||||
// .cn-operate-dialog .el-dialog__body .el-scrollbar {
|
||||
// // padding-right: 60px;
|
||||
// }
|
||||
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
}
|
||||
.cn-operate-dialog .el-dialog__footer {
|
||||
padding: 15px;
|
||||
box-shadow: var(--el-box-shadow);
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
}
|
||||
// .cn-operate-dialog .el-dialog__footer {
|
||||
// padding: 15px;
|
||||
// box-shadow: var(--el-box-shadow);
|
||||
// position: absolute;
|
||||
// width: 100%;
|
||||
// bottom: 0;
|
||||
// }
|
||||
|
||||
.cn-operate-dialog .el-form {
|
||||
width: calc(100% - 60px);
|
||||
}
|
||||
// .cn-operate-dialog .el-form {
|
||||
// width: calc(100% - 60px);
|
||||
// }
|
||||
|
||||
.cn-operate-dialog .el-form--inline {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||||
grid-gap: 20px 10px;
|
||||
// .cn-operate-dialog .el-form--inline {
|
||||
// display: grid;
|
||||
// grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||||
// grid-gap: 20px 10px;
|
||||
|
||||
.el-form-item {
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
// .el-form-item {
|
||||
// margin-right: 0;
|
||||
// margin-bottom: 0;
|
||||
// }
|
||||
// }
|
||||
|
||||
.cn-operate-dialog .el-form--inline .el-select {
|
||||
width: 100%;
|
||||
}
|
||||
// .cn-operate-dialog .el-form--inline .el-select {
|
||||
// width: 100%;
|
||||
// }
|
||||
|
||||
.ba-operate-form {
|
||||
padding-top: 20px;
|
||||
|
||||
@@ -31,10 +31,17 @@
|
||||
}
|
||||
.el-dialog {
|
||||
padding: 0px !important;
|
||||
// .el-dialog__body{
|
||||
// max-height: 60vh;
|
||||
// overflow-y: auto;
|
||||
// }
|
||||
.el-dialog__body{
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.el-dialog__footer {
|
||||
padding: 15px;
|
||||
box-shadow: var(--el-box-shadow);
|
||||
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
.el-dialog__header {
|
||||
background: var(--el-color-primary);
|
||||
|
||||
Reference in New Issue
Block a user