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

img {
  width: 100%;
  height: 100%;
}

.layout {
  padding-bottom: 20px;
  margin: 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;
      margin-bottom: 10px;
      flex-wrap: wrap;
      .item {
        display: flex;
        align-items: center;
        font-size: 14px;
        margin: 0 10px 10px 0;
      }
    }
    .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 0;
    // 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 {
      border: 1px dashed #d9d9d9;
      border-radius: 6px;
      cursor: pointer;
      position: relative;
      width: 148px;
      height: 148px;
      &-file {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
      }
      &:hover {
        border-color: #409EFF;
      }
      &-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;
          }
          .value {
            width: calc(100% - 100px);
          }
        }
      }
      .grid-btn {
        margin-top: 40px;
      }
    }
    .flex {
      display: flex;
    }
  }
}