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



input {
  padding: 0 2.083333rem;
  color: #333333;
}

input::-webkit-input-placeholder {
  color: #494949;
}

textarea::-webkit-input-placeholder {
  color: #494949;
}

.top-space {}

.reservation-container {
  @extend .bb;
  border-radius: .666667rem;
  border: solid .083333rem #f2f2f2;
  background-color: #ffffff;
  padding: 2.666667rem 2.833333rem 2.833333rem 2rem;
}

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

  &-item {
    position: relative;
    padding: 0 $marginSmall;
    margin-bottom: 2.333333rem;

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

      .icon {
        width: 2.166667rem;
        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: .666667rem;
        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 {
      // min-width: 8.833333rem;
    }

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

      input {
        // font-size: 1.166667rem;
        letter-spacing: .116667rem;
        color: #4c4948;
        font-family: Arial;
      }
    }

    .ipt-wrap2 {
      flex: 1;
    }

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

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


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

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

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

.submit-btn {
  width: 13.583333rem;
  height: 4.083333rem;
  margin: 2.5rem auto;
  line-height: 4.083333rem;
  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, #ec6429, #ec6429);
  text-align: center;
  font-size: 1.291667rem;
  letter-spacing: .129167rem;
  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 top, #000000, #ffffff), linear-gradient(to bottom, #ec6429, #ec6429);
}

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

      .ipt-wrap {
        margin: 0;
      }
    }

    &-item3 {
      display: block;

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

  .notice {
    margin: 0;
  }
}