ludc
2025-01-15 c659560c7ee8d8f8278b938421de13bf65d1e1b1
Source/plt-web/plt-web-ui/src/App.vue
@@ -4,8 +4,10 @@
  </div>
</template>
<script>
import {getIcons} from "@/api/UI/Icons";
import store from "@/store";
export default {
  name: "app",
  data() {
@@ -13,7 +15,10 @@
  },
  watch: {},
  created() {
    //获取所有图标,存在session
    getIcons().then(res => {
      store.dispatch("setIcons", res.data.data);
    })
  },
  methods: {},
  computed: {}
@@ -24,102 +29,5 @@
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.el-menu--vertical .el-menu--popup-right-start{
  background: #ffffff !important;
}
.el-card__body {
  padding: 15px;
}
.el-dialog{
  margin: 50px auto;
}
.avue-dialog .el-dialog{
  top:50%;
  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 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: 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;
}
.UITabs > .el-tabs__content{
  height:calc(100% - 56px);
}
.componentVO{
  height: 100%;
  overflow: auto;
}
.UI-collapse{
  box-sizing: border-box;
  height: calc(100% - 10px);
}
.UI-collapse > .el-collapse-item{
  max-height: calc(100% - 60px);
  overflow: auto;
}
.UI-collapse > .el-collapse-item > .el-collapse-item__wrap{
  height:calc(100% - 49px);
}
.UI-collapse > .el-collapse-item > .el-collapse-item__wrap > .el-collapse-item__content{
  height: 100%;
  padding-bottom: 5px;
}
.UI-dynamic{
  height: 100%;
}
.UI-dynamic > .avue-crud{
  height: 100%;
}
.el-form-item{
  margin-bottom: 15px;
}
.el-form-item--mini.el-form-item, .el-form-item--small.el-form-item{
  margin-bottom: 15px;
}
.tree-buttons .el-button{
  margin: 0 5px 5px 0;
}
.el-dialog__footer{
  border-top: 1px solid #e9e7e7;
}
</style>