tao.scss 2.38 KB
* {
  margin: 0;
  padding: 0;
}

.layout {
  padding-bottom: 20px;
  .search-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    .top {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
      flex-wrap: wrap;
      .item {
        display: flex;
        align-items: center;
        font-size: 14px;
      }
    }
    .bottom {
      margin-right: auto;
    }
    .top,
    .bottom {
      width: 100%;
    }
  }
  .table-box {
    .table-btn,
    .table-custom {
      margin: 20px 0;
      position: relative;
      .table-price-box {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 600px;
        display: grid;
        grid-template-columns: repeat(4, 200px);
        text-align: center;
      }
    }
  }
  .box {
    background-color: #fff;
    margin: 20px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
    .title {
      padding: 20px 0;
      font-weight: 700;
    }
    .el-form-item {
      width: 500px;
      .el-input-group__prepend,
      .el-input-group__append {
        background-color: transparent;
        border: none;
      }
      .el-input--suffix .el-input__inner {
        padding-right: 45px;
      }
      .el-input__suffix {
        right: 20px;
      }
    }
    .editor {
      width: 800px;
    }
    .avatar-uploader .el-upload {
      border: 1px dashed #d9d9d9;
      border-radius: 6px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .avatar-uploader .el-upload:hover {
      border-color: #409EFF;
    }
    .avatar-uploader-icon {
      font-size: 28px;
      color: #8c939d;
      width: 148px;
      height: 148px;
      line-height: 148px;
      text-align: center;
    }
    .avatar {
      width: 148px;
      height: 148px;
      display: block;
    }
    .grid {
      display: grid;
      padding: 20px 0;
      grid-template-columns: repeat(3, 1fr);
      .grid-item {
        .sub-title {
          font-weight: 700;
          margin-bottom: 10px;
        }
        .item {
          display: flex;
          align-items: flex-start;
          margin-bottom: 10px;
          .label {
            width: 100px;
          }
        }
      }
      .grid-btn {
        margin-top: 40px;
      }
    }
    .flex {
      display: flex;
    }
  }
}