reservation.scss 4.1 KB




input {
  padding: 0 24px;
}

.top-space {}

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

.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: 8.4px;

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

      img {
        height: 12px;
      }
    }

    .ipt-wrap {
      position: relative;

      // input和下拉
      .ipt {}

      // 长文本
      .textarea {
        min-height: 105px;
        border-radius: 12px;
        @extend .bb;
        padding: 9px;
      }

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

    .validator {
      color: $cOrange;
      margin-top: 6px;
      position: absolute;
      right: 12px;
      display: flex;
      align-items: center;
      // bottom: 0;

      img {
        display: inline-block;
        margin-right: 4.8px;
      }
    }
  }

  // 不换行
  &-item2 {
    display: flex;
    margin-bottom: 27px;

    .label {
      height: 30px;
      margin-right: 12px;
    }

    .cont {

      display: flex;

      .boo-btn {
        width: 63px;
        height: 30px;
        line-height: 30px;
        border: solid 1px #dcdddd;
        background-color: #ffffff;
        border-radius: 30px;
        text-align: center;
        margin: 0 7.2px;
      }

      .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: 21px;

      input {
        color: #4c4948;
      }

      input:lang(zh) {
        letter-spacing: 1.4px;
      }
    }

    .ipt-wrap2 {
      flex: 1;
    }

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

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


.notice {
  margin-top: 48px;
  @extend .bb;
  padding: 0 12px;

  &-item {
    position: relative;
    line-height: 2;
    margin-bottom: 12px;

    &-icon {
      width: 14px;
      position: absolute;
      top: 7.2px;
    }
  }

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

.submit-btn {
  width: 163px;
  height: 49px;
  margin: 30px 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: 42px;
  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: 1.55px;
}


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

      .ipt-wrap {
        margin: 0;
      }
    }

    &-item3 {
      display: block;

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

  .notice {
    margin: 0;
  }
}