complaint-acceptance.scss 4.5 KB
@import '@/styles/_support';



.top-space {
  // height: 4.25rem;
}

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

.form {
  display: flex;
  flex-wrap: wrap;

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

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

      .icon {
        width: 2.166667rem;
        display: flex;
      }

      img {
        height: 1rem;
      }
    }

    .ipt-wrap {
      position: relative;

      // input和下拉
      .ipt {}

      .name-ipt {
        width: 18rem;
      }

      .phone-ipt {
        width: 18rem;
      }

      .mail-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 {
      min-width: 12.833333rem;
      height: 2.5rem;
    }

    .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: #f05a23;
        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, #f05a23, #f05a23);
        background-image: linear-gradient(to bottom, #f05f28, #f05021);
      }
    }
  }

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

    .validator {
      margin-top: 3rem;
    }

    .label {
      // min-width: 8.833333rem;
    }

    .ipt-wrap {
      position: relative;
      // 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;
    }
  }


}

.form2 {
  .form-item {
    // margin-right: 1.166667rem;

    &:last-child {
      margin-right: 0;
    }
  }
}

.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: .5rem;
    }
  }
}

.submit-btn {
  width: 13.583333rem;
  height: 4.083333rem;
  margin: 2.5rem auto 0;
  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: #f05a23;
  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);
}

input {
  padding: 0 2.083333rem;
  color: #333333;
  font-size: 12px;
}

.disabled {
  background-color: gray !important;
  background-image: none !important;
}


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

    &-item {
      .ipt-wrap {
        .name-ipt {
          width: 100%;
        }

        .phone-ipt {
          width: 100%;
        }
      }

    }

    &-item3 {
      display: block;

      .ipt-wrap {
        margin: 0;
      }
    }
  }

  .notice {
    margin: 0;
  }
}