ywsq.scss 4.93 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 - 360px);
      overflow-y: auto;
    }

    p {
      width: 100%;
      line-height: 36px;
      border: 1px solid $borderColor;
      font-weight: 700;
      font-size: 16px;
      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 10px;

      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;
        font-size: 14px;
        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;
          font-size: 16px;
        }

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

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

        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: -10px;
        justify-content: space-between;

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

        li {
          width: 48.5%;
          height: 40px;
          border: 1px solid $borderColor;
          @include flex;
          justify-content: space-between;
          margin-left: 10px;
          cursor: pointer;
          font-size: 14px;
          margin-bottom: 15px;

          p:nth-child(2) {
            @include flex-center;
          }

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

          p:nth-child(1) {
            flex: 1;
            width: 100%;
            padding: 1px;
            padding-left: 30px;
            display: flex;
            justify-content: center;
            flex-direction: column;
          }

          dt {
            flex: 1;
            width: 100%;
            display: flex;
            align-items: center;
            margin-left: 30px;
            font-size: 14px;
          }

          p:nth-child(2) {
            width: 50px;
            height: 40px;
            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;
  }
}