register.scss 5.13 KB
@import "@/styles/_support.scss";

.content {
  position: relative;
  min-height: 600px;
  padding-bottom: $paddingMedium;
  color: $cFontGray;
  font-size: $fontSize;
}

.top-space {
  height: $marginMedium;
}

.box {
  position: relative;
}

.ipt-tel {
  flex-grow: 1;
}

.ebg {
  background: url("~@/assets/images/common/login-bg.png") center no-repeat;
  width: 100%;
  height: 325px;
  position: absolute;
  bottom: 0;
  overflow: hidden;
}

.step {
  @extend .fcc;
  margin: 6px auto 51px;

  img {
    height: 51px;
  }
}

.login {
  @extend .bb;
  padding: 32px 75px 54px;
  border-bottom: solid 10.8px $cGreen;

  margin: auto;
  max-width: 612px;
  border-radius: $borderRadius;
  // box-shadow: 0 0 18px 0 rgba(255, 87, 0, 0.15);
  @extend .box-shadow;
  background-color: #ffffff;

  &-tit {
    color: $cOrange;
    display: flex;
    justify-content: center;

    img {
      height: 17px;
    }

    .img-en {
      height: 14.4px;
    }
  }

  &-tit2 {
    color: $cOrange;
    text-align: center;
    // font-size: $fontSizeTitle;
    // font-size: $fontSizeTitle-M2;
    font-size: $fontSize-M2;
    font-weight: bold;
    text-shadow: 3px 5.2px 9px rgba(236, 100, 41, 0.27);
    margin-top: 24px;
  }

  &-tit2:lang(zh) {
    letter-spacing: 2.4px;
  }

  &-nav {
    margin: 32px auto 12px;
    display: flex;
    justify-content: center;
    align-items: center;

    &-v-line {
      width: 2px;
      height: 14.4px;
      background-color: $cFontGray;
      margin: 0 27px;
    }

    &-tit {
      flex: 1;
      // font-size: $fontSizeTitle;
      // font-size: $fontSizeTitle-M2;
      font-size: $fontSize-M2;
      font-weight: bold;
    }

    .active {
      color: $cOrange;
      text-shadow: 3px 5.2px 9px rgba(236, 100, 41, 0.27);
    }
  }

  &-protocol {
    margin: 36px auto 0;
    display: flex;
    // align-items: center;
    // padding-left: 12px;

    .check {
      height: 12px;
      margin-right: 7.2px;
      margin-top: 4px;
    }

    .protocol {
      color: $cOrange;
    }
  }

  .loginLeft {
    padding-left: 12px;
  }

  &-submit {
    @include btc2(207px, 63px, 16px);
    margin: 50px auto 0;
  }

  &-submit:lang(zh) {
    letter-spacing: 1.6px;
  }

  &-func {
    margin: 24px auto 0;
    display: flex;
    justify-content: center;

    &-btn {
      margin: 0 18px;
      text-decoration: underline;
    }
  }
}

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

  .vcode {
    background-color: transparent !important;
    padding: 0 !important;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
    }
  }

  input {
  }

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

  &-item {
    position: relative;
    margin-top: 39px;

    .label {
      font-size: $fontSizeTitle;
      font-weight: bold;
      color: $cOrange;
      display: flex;
      align-items: center;
      margin-bottom: 15px;

      img {
        height: 18px;
        margin-right: 9.6px;
      }
    }

    .ipt-wrap {
      position: relative;
      display: flex;
      justify-content: space-between;

      // input和下拉
      .ipt {
        flex: 1;
        padding: 0 30px 0 24px;
      }

      .ipt:lang(zh) {
        letter-spacing: 1.2px;
      }

      // 长文本
      .textarea {
        min-height: 105px;
        border-radius: 12px;
      }

      .down-arrow {
        position: absolute;
        top: 24px;
        right: 12px;
      }

      .region-tel {
        margin-right: 9.6px;
        max-width: 30%;
      }

      .verify-btn {
        @extend .fcc;
        // font-family: Arial;
        font-size: 18px;
        width: 102px;
        border: solid 1px #dcdddd;
        background-color: #f2f2f2;
        flex: none;
        margin-left: 18px;
        color: $cFontGray;
      }

      // 框内按钮
      .ipt2 {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .ipt-tel {
          flex: 1;
          // padding-left: 21px;
        }

        .ipt-code {
          flex: 1;
          padding-right: 21px;
        }

        .veri-btn {
          color: $cOrange;
          text-decoration: underline;
        }

        .veri-btn-default {
          color: #aaaaaa;
        }
      }
    }

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

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

.box-shadow {
  box-shadow: 0 0 18px 0 rgba(255, 87, 0, 0.15);
}

@media (max-width: 1200px) {
  .content {
    @include content-percent();
    min-height: 0;
    // padding-bottom: $marginMedium-M;
  }

  .top-space {
    height: $marginMedium;
  }

  .step {
    margin-bottom: 12px;
  }

  .login {
    padding: 12px 12px 42px;
    border-bottom: none;

    &-nav {
      margin: 21px auto 12px;
    }

    .form {
      &-item {
        margin-top: 24px;
      }
    }

    &-protocol {
      // margin: $marginSmall-M auto 0;
    }

    &-submit {
      margin: 36px auto 0;
      width: 207px;
      height: 39px;
      line-height: 39px;
    }
  }

  .box-shadow {
    box-shadow: none;
  }

  .ebg {
    display: none;
  }
}