ywsq.scss 3.34 KB
.ywsq {
  display: flex;
  height: 100%;

  /deep/.el-collapse-item__header {
    padding-left: 20px;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid $borderColor;
    border-top: none;
  }

  .active {
    background-color: $light-blue !important;
    color: $menuText !important;
  }

  .ywsq-left {
    width: 260px;
    background-color: #fff;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;

    p {
      width: 100%;
      line-height: 36px;
      border: 1px solid $borderColor;
      font-weight: 700;
      padding: 5px 0 5px 10px;
      background-color: #fff;
      margin-bottom: 5px;
      box-sizing: border-box;
      cursor: pointer;
      border-radius: 3px;

      &:hover {
        border: 1px solid $light-blue;
        color: $light-blue;
      }
    }

    .box-card {
      margin-bottom: 20px;
      cursor: pointer;
    }

    .item-title {
      font-size: 18px;
      font-weight: 700;
      padding: 20px;

      &:hover {
        background-color: $light-blue;
        color: $menuText;
      }
    }

    .item-list {
      padding: 0 20px 0 20px;



      li {
        cursor: pointer;
        line-height: 36px;
        background-color: rgb(235, 235, 235);
        margin-top: 10px;
        padding-left: 10px;
        border-radius: 2px;
        box-sizing: border-box;
        border: 1px solid rgb(235, 235, 235);
        transition: all 0.3s;

        &:hover {
          border: 1px solid $light-blue;
          color: $light-blue;
        }
      }
    }
  }

  .ywsq-right {
    width: calc(100% - 270px);
    margin-left: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;

    .right-type {
      margin-bottom: 20px;
    }

    .right-title {
      font-size: 18px;
      font-weight: 700;
      padding: 20px;
      border-bottom: 1px solid $borderColor;

    }

    .type-content {
      @include flex;
      justify-content: space-between;
      padding: 0 20px;
      margin: 20px 0;

      li {
        width: 23.5%;
        line-height: 50px;
        border: 1px solid $borderColor;
        border-radius: 5px;
        box-sizing: border-box;
        padding-left: 10px;
        transition: all 0.3s;
        cursor: pointer;

        &:hover {
          border: 1px solid $light-blue;
          color: $light-blue;
        }
      }
    }

    .right-situation {
      flex: 1;
      height: 100%;

      ul {
        padding: 20px;
        @include flex;
        flex-wrap: wrap;
        margin-left: -20px;
        justify-content: space-between;

        li {
          width: 31%;
          height: 50px;
          border: 1px solid $borderColor;
          @include flex;
          justify-content: space-between;
          margin-left: 20px;
          cursor: pointer;

          p {
            @include flex-center;
          }

          &:hover {
            border: 1px solid $light-blue;
            color: $light-blue;
          }

          p:nth-child(1) {
            flex: 1;
            width: 100%;
            padding: 3px;
          }

          p:nth-child(2) {
            width: 50px;
            height: 50px;
            border-left: 1px solid $borderColor;
            cursor: pointer;
          }

          i {
            font-size: 24px;
          }
        }
      }
    }

    .submit-button {
      padding: 15px 0;
      text-align: center;
      background-color: #fff;
    }
  }
}