田源
2024-09-20 3c6c92b68a1b113b5450554db750ebe1d8bd26bb
Source/plt-web/plt-web-ui/src/App.vue
@@ -25,6 +25,9 @@
  height: 100%;
  overflow: hidden;
}
.el-menu--vertical .el-menu--popup-right-start{
  background: #ffffff !important;
}
.el-card__body {
  padding: 15px;
}
@@ -33,22 +36,46 @@
}
.avue-dialog .el-dialog{
  top:50%;
  max-height: calc(100% - 100px);
  max-height: calc(100% - 80px);
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, -50%);
  margin-top: 0 !important;
}
.avue-dialog .el-dialog__body{
  padding: 20px;
  padding: 20px 20px 0px 20px; // 上右下左 取消表格下边距(会出现滚动条)
  margin-bottom: 10px !important;
}
.avue-dialog .el-dialog__body .avue-form{
  margin: 0px auto 40px; // 单独给对话框里的avue表单加上下边距
}
.dialog-footer{
  background-color: #ffffff;
  z-index: 10000;
}
.avue-crud .avue-form {
  margin: 0px auto !important; // 表格内的表单(比如:搜索栏) 取消下边距
}
.avue--detail .el-col{
  margin-bottom: 0;
}
.avue-crud .avue-crud__menu{
  min-height: 32px;
  min-height: 26px;
}
.avue-crud .avue-crud__menu .el-button{
  margin-bottom: 5px;
}
.avue-crud .avue-crud__menu .el-button--text{
  padding: 2px 6px;
}
.avue-crud table td{
  line-height: 22px;
}
.el-table .cell{
  line-height: 22px;
}
.el-table .cell .el-tag{
  line-height: 20px;
  height: 22px;
}
.avue-crud__pagination{
  padding: 15px 0 10px;
@@ -92,4 +119,7 @@
.tree-buttons .el-button{
  margin: 0 5px 5px 0;
}
.el-dialog__footer{
  border-top: 1px solid #e9e7e7;
}
</style>