reservation.scss 4.18 KB
@import '@/styles/_support.scss';



input {
  padding: 0 2rem;
}

.top-space {}

.reservation-container {
  @extend .bb;
  border-radius: 8px;
  border: solid 1px #f2f2f2;
  background-color: #ffffff;
  padding: 32px 34px 34px 2rem;
}

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

  &-item {
    position: relative;
    padding: 0 $marginSmall;
    margin-bottom: 28px;

    .label {
      color: $cOrange;
      display: flex;
      align-items: center;
      margin-bottom: .7rem;

      .icon {
        width: 26px;
        display: flex;
      }

      img {
        height: 1rem;
      }
    }

    .ipt-wrap {
      position: relative;

      // input和下拉
      .ipt {}

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

      .down-arrow {
        position: absolute;
        top: 2.2rem;
        right: 2rem;
        background-image: url('~@/assets/images/reservation/re-down-arrow.png');
        width: 1rem;
        height: 8px;
        pointer-events: none;
        cursor: default;
      }
    }

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

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

  // 不换行
  &-item2 {
    display: flex;
    margin-bottom: 2.25rem;

    .label {
      height: 2.5rem;
      margin-right: 1rem;
    }

    .cont {

      display: flex;

      .boo-btn {
        width: 5.25rem;
        height: 2.5rem;
        line-height: 2.5rem;
        border: solid 1px #dcdddd;
        background-color: #ffffff;
        border-radius: 2.5rem;
        text-align: center;
        margin: 0 0.6rem;
      }

      .active {
        border: none;
        color: #ffffff;
        background-color: $cOrange;
        box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
        background-blend-mode: soft-light, ;
        // background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, $cOrange, $cOrange);
        background-image: linear-gradient(to bottom, #f05f28, #f05021);
      }
    }
  }

  &-item3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    .label {}

    .ipt-wrap {
      width: 50%;
      margin-left: 1.75rem;

      input {
        color: #4c4948;
      }

      input:lang(zh) {
        letter-spacing: .116667rem;
      }
    }

    .ipt-wrap2 {
      flex: 1;
    }

    .cont {
      .calendar {
        img {
          max-width: 96%;
        }
      }
    }

    .mt8 {
      margin-top: 8px;
      margin-left: 10rem;
    }
  }
}


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

  &-item {
    position: relative;
    line-height: 2;
    margin-bottom: 1rem;

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

  &-item:lang(zh) {
    letter-spacing: 1.2px;
  }
}

.submit-btn {
  width: 13.583333rem;
  height: 49px;
  margin: 2.5rem auto;
  line-height: 49px;
  box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
  background-blend-mode: soft-light, ;
  background-image: linear-gradient(to bottom, #ec6429, #ec6429), linear-gradient(to top, #000000, #ffffff);
  // background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, #ec6429, #ec6429);
  text-align: center;
  font-size: $fontSize;
  color: #ffffff;
  border-radius: 3.5rem;
  cursor: pointer;
  border: none;
  color: #ffffff;
  background-color: $cOrange;
  box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
  background-blend-mode: soft-light, ;
  background-image: linear-gradient(to bottom, #ec6429, #ec6429), linear-gradient(to top, #000000, #ffffff);
  // background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, #ec6429, #ec6429);
}

.submit-btn:lang(zh) {
  letter-spacing: .129167rem;
}


@media (max-width: 768px) {
  .form {
    &-item2 {
      display: block;

      .ipt-wrap {
        margin: 0;
      }
    }

    &-item3 {
      display: block;

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

  .notice {
    margin: 0;
  }
}