clarms-plugins-verifyform.scss 5.97 KB
@import '@/styles/_support';

$borderRadius:6px;

.comp {
  font-size: 22px;
}

.orange {
  color: $cOrange2;
}

.gray {
  color: $cFontGray2;
}

.submit-btn {
  background: url("~@assets/images/vhis/vhis-btn.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 300px;
  height: 50px;
  line-height: 50px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  margin: 100px auto 32px;
  text-align: center;
  border-radius: 50px;
}

.reservation-container {
  @extend .bb;
  border-radius: $borderRadius;
  background-color: #ffffff;
  padding: 60px 82px 68px;

  .title {
    color: $cOrange2;
    text-align: center;
    margin: 1.666667rem auto 0 auto;
    letter-spacing: 1.1px;

    span {}
  }

  .default-mt {
    margin-top: 50px;
  }

  .flex-top {
    display: flex;
    justify-content: left;
    align-items: flex-start;
  }

  .flex-start {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .check-item {
    display: flex;
    align-items: center;

    span {
      margin-left: .833333rem;
    }
  }

  .tips {
    align-items: center;
    justify-content: center;
    display: flex;

    .icon {
      margin-right: 5px;
      display: inline-block;
    }

    .btn {
      color: $cOrange2;
    }
  }
}




.form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  &-name {
    font-weight: 600;
    text-align: left;
    color: $cOrange2;
  }

  .ipt-date {
    padding: 0 2rem;
    width: 100%;
    background-color: #ffffff;
    height: 48px;
    border-radius: $borderRadius;
  }

  &-item {
    width: 48%;
    display: flex;
    justify-content: center;
    justify-content: space-between;
    margin-bottom: 32px;

    .label {
      display: flex;
      align-items: center;
      width: 140px;
      justify-content: flex-start;
      padding-left: 5px;
      letter-spacing: .25rem;
    }

    .ipt-wrap {

      width: 352px;
      position: relative;

      .cont {
        @extend .bb;
        height: 52px;
        border-radius: $borderRadius;
        @include border-tans($borderRadius);
      }

      // input和下拉
      .ipt {
        border: none !important;
        border-radius: .416667rem;
        height: 3rem;

        width: 100%;
        background-color: #ffffff;
        height: 48px;
        border-radius: $borderRadius;

      }

      // 长文本
      .textarea {
        min-height: 8.75rem;
        @extend .bb;
        padding: .75rem;
      }

      .down-arrow {
        z-index: 10;
        position: absolute;
        top: 22px;
        right: 1.2rem;
        background-image: url('~@/assets/images/reservation/re-down-arrow-2.png');
        background-size: 100% 100%;
        width: 15px;
        height: 10px;
        pointer-events: none;
        cursor: default;
      }
    }

    .validator {
      color: $cOrange2;
      margin-top: 0.5rem;
      position: absolute;
      right: 1rem;
      display: flex;
      align-items: center;
      // bottom: 0;

      img {
        display: inline-block;
        margin-right: 0.4rem;
      }
    }
  }


  &-item-2 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 0 $marginSmall;
    margin-bottom: 1.333333rem;

    .label {
      align-items: center;
      width: 25%;
      padding-left: 5px;
      letter-spacing: .25rem;

      .main-label {
        color: $cOrange2;
      }
    }

    .date-container {
      width: 60%;
      position: relative;
    }

    .value {
      width: 75%;
      position: relative;

      .ipt-wrap {

        // input和下拉
        .ipt {
          border: 1px solid $cOrange !important;
          border-radius: .416667rem;
          height: 3rem;
          display: flex;
          align-items: center;
        }


        .ipt2 {
          width: 100%;
          border-bottom: 1px solid #ccc;
          height: 3rem;
          display: flex;
          align-items: center;
          margin-bottom: .833333rem;
        }

        // 长文本
        .textarea {
          min-height: 8.75rem;
          @extend .bb;
          padding: .75rem;
        }

        .down-arrow {
          z-index: 10;
          position: absolute;
          top: 22px;
          right: 1.2rem;
          background-image: url('~@/assets/images/reservation/re-down-arrow-2.png');
          background-size: 100% 100%;
          width: 15px;
          height: 10px;
          pointer-events: none;
          cursor: default;
        }
      }
    }
  }
}


.notice {
  margin-top: 4rem;
  @extend .bb;
  padding: 0 1rem;

  &-item {
    position: relative;
    line-height: 2;
    letter-spacing: 1.2px;
    margin-bottom: 1rem;

    &-icon {
      width: 1.166667rem;
      position: absolute;
      top: .6rem;
    }
  }
}


@media (max-width: 1200px) {
  .mobile-margin {
    margin-top: 2.5rem;
  }
}

@media (max-width: 1000px) {

  .form {
    &-item {
      width: 100%;

      .label {
        min-width: 30%;
      }

      .ipt-wrap {
        width: 70%;
      }
    }

    &-item-2 {
      .date-container {
        width: 80%;
      }
    }
  }
}

@media (max-width: 700px) {
  .reservation-container {
    padding: 2.666667rem 2rem 2.833333rem 2rem;
  }

  .form {
    &-item {
      width: 100%;

      .label {
        min-width: 30%;
      }

      .ipt-wrap {
        width: 70%;
      }
    }

    &-item2 {
      display: block;

      .ipt-wrap {
        margin: 0;
      }
    }

    &-item-2 {
      .label {
        width: 30%;
      }

      .value {
        width: 70%;
      }

      .date-container {
        width: 100%;
      }
    }

    &-item3 {
      display: block;

      .ipt-wrap {
        margin: 0;
        width: 100%;
      }
    }
  }

  .notice {
    margin: 0;
  }
}



@media (max-width: 500px) {

  .date-wrap .calendar-wrap {
    margin-left: -25px !important;
  }

  .form {
    &-item {
      flex-direction: column;
      width: 100%;

      .label {
        margin-bottom: .416667rem;
        min-width: 100%;
      }

      .ipt-wrap {
        width: 100%;

      }
    }
  }
}