无人机管理后台前端(已迁走)
张含笑
2025-10-28 0f16db42e4e331bfaf084c27ca602c275e87668d
src/styles/element-ui.scss
@@ -98,7 +98,7 @@
      .el-dialog__headerbtn {
        position: absolute;
        left: 0;
        top: 14px;
        //top: 14px;
        .el-dialog__close {
          color: #fff;
@@ -111,8 +111,172 @@
}
.ztzf-drawer-body-basic-container {
  .el-drawer__header {
    margin-bottom: 0;
  }
  .el-drawer__body {
    display: flex;
    flex-direction: column;
  }
}
}
.ztzf-el-card__body {
   .el-card__body {
    .avue-form{
    padding: 0;}}
}
.ztzf-public-general-avue-crud {
  .el-table {
    tr {
      min-height: 30px !important;
      line-height: 30px !important;
      box-sizing: border-box !important;
    }
    tr th,
    tr td {
      padding: 6px 0 !important;
      min-height: 30px !important;
      line-height: 30px !important;
      box-sizing: border-box !important;
      div.cell {
        min-height: 30px !important;
        line-height: 30px !important;
      }
    }
  }
}
.ztzf-input {
   .el-input__wrapper {
      padding: 0 8px !important;
      // background: #2D2D2D;
    background-color: transparent !important;
      box-shadow: none !important;
      border: 1px solid #fff;
      .el-input__inner {
         color: #ffffff;
         &::placeholder {
        color: rgba(255,255,255,0.37);
         }
      }
   }
   &.is-disabled {
      .el-input__wrapper {
         background-color: #012a50;
      }
   }
}
.ztzf-button {
  background-color: transparent !important;
  color: #fff !important;
}
.ztzf-el-tree {
  background-color: transparent !important;
  --el-tree-node-hover-bg-color:transparent !important;
  color: #fff !important;
}
.ztzf-layer-search {
  background-color: transparent !important;
  .el-select__wrapper {
    background-color: transparent !important;
  }
  .el-select__popper.el-popper {
    background-color: transparent !important;
  }
  .el-popper.is-light {
    background-color: transparent !important;
  }
}
//======以下针对表格功能 增删查改样式和弹窗=========
.ztzf-dialog-mange {
  .el-dialog__body {
    padding: 2rem 2rem 4rem;
    flex: 1;
    overflow: scroll;
    border-top: 0.1rem solid #f0f0f0;
  }
  .el-dialog__footer {
    z-index: 2;
    display: block;
    padding: 1rem 1.6rem;
    box-sizing: border-box;
    border-top: 0.1rem solid #f0f0f0;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #fff;
    text-align: right;
  }
}
.ztzf-search-mange {
  height: 40px;
  .search-contain {
    display: flex;justify-content: space-between;
  }
}
.ztzf-form-mange {
  .el-form-item {
    width: 300px;
    .el-form-item__content {
      width: 100%;
    }
    .el-form-item__label {
      width: 120px;
    }
  }
}
.ztzf-form-search {
  .el-form-item {
    width: 100%;
    .el-form-item__label {
      width: 80px;
    }
    .el-form-item__content {
      display: flex;
      flex: 1;
    }
  }
}
.ztzf-table-mange {
  th.el-table__cell  {
    color: rgba(0, 0, 0, .85);
    background-color: #fafafa;
  }
}
.table-view-mange {
  width: 100%;
  border-top: 0.1rem solid #ebeef5;
  border-left: 0.1rem solid #ebeef5;
  margin-left: 0;
  margin-right: 0;
  .el-col {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
    height: 32px;
    line-height: 32px;
    border-right: 0.1rem solid #ebeef5;
    text-align: center;
    align-items: center;
    .el-input__wrapper {
      box-shadow: none !important;
      border-bottom: 0.1rem solid #ebeef5;
    }
  }
  .label {
    color: #909399;
    box-sizing: border-box;
    background: #fafafa;
  }
}