ywsq.scss 4.48 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;
  }

  .cactive {
    border: 1px solid $light-blue !important;
    color: $light-blue !important;
  }

  .ywsq-left {
    width: 270px;
    background-color: #fff;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    flex-direction: column;

    .item-list {
      max-height: calc(100vh - 380px);
      overflow-y: auto;
    }

    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 !important;
          color: $light-blue;
        }
      }
    }
  }

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

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

    .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;
      min-height: 50px;

      li {
        width: 23.5%;
        height: 50px;
        line-height: 50px;
        border: 1px solid $borderColor;
        border-radius: 5px;
        box-sizing: border-box;
        padding-left: 10px;
        transition: all 0.3s;
        cursor: pointer;
        @include flex;
        justify-content: space-between;
        margin-left: 20px;
        cursor: pointer;

        p {
          @include flex-center;
        }

        &:hover {
          border: 1px solid $light-blue !important;
          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;
        }
      }
    }

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

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

        &:after {
          content: "";
          width: 48%; //与块级的宽度相同
          display: block;
          height: 0;
        }

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

          p {
            @include flex-center;
          }

          &:hover {
            border: 1px solid $light-blue !important;
            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;
          }
        }
      }
    }

    .registration {
      li:hover {
        border: 1px solid $borderColor !important;
        color: $light-blue;
      }


    }

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

  .right-btn {
    text-align: center;
    margin-top: 20px;
  }
}