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

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

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

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

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

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

      .icon {
        width: 26px;
        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: 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 {
      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: 100px;
    }

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


}

.form2 {
  .form-item {
    // margin-right: 14px;

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

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

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

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

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

.submit-btn {
  width: 13.583333rem;
  height: 49px;
  margin: 2.5rem auto 0;
  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 top, #000000, #ffffff), linear-gradient(to bottom, #ec6429, #ec6429);
  background-image: linear-gradient(to bottom, #ec6429, #ec6429), linear-gradient(to top, #000000, #ffffff);
  text-align: center;
  font-size: 1.291667rem;
  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 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 {
    display: block;

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

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

    }

    &-item3 {
      display: block;

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

  .notice {
    margin: 0;
  }
}