login.scss 5.23 KB
@import '@/styles/_support';

.content {
  position: relative;
  min-height: 50rem;
  padding-bottom: $marginMedium;
  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;
}

.login {
  color: $cFontGray;
  @extend .bb;
  padding: 2.75rem 6.25rem 4.5rem;
  border-bottom: solid 0.9rem $cGreen;

  margin: auto;
  max-width: 51rem;
  border-radius: $borderRadius;
  @extend .box-shadow;
  background-color: #ffffff;

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

  &-tit2:lang(zh) {
    letter-spacing: .2rem;
  }

  &-tit {
    color: $cOrange;
    text-align: center;
    font-size: $fontSizeTitle;
    font-weight: bold;
    display: flex;
    justify-content: center;

    img {
      height: 1.75rem;
    }

    .img-en {
      height: 1.2rem;
    }
  }

  &-tit:lang(zh) {
    letter-spacing: .2rem;
  }

  &-nav {
    margin: 2.75rem auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;

    &-v-line {
      width: 2px;
      height: 1.2rem;
      background-color: $cFontGray;
      margin: 0 2.25rem;
    }

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

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

  &-protocol {
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    // padding-left: 1rem;

    .check {
      height: 1rem;
      margin-right: .5rem;
    }

    .protocol {
      color: $cOrange;
    }
  }

  .loginLeft {
    padding-left: 1rem;
  }

  &-submit {
    @include btc2(17.25rem, 5.25rem, 16px);
    margin: 4rem auto 0;

  }

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

  &-func {
    margin: 2rem auto 0;
    display: flex;
    justify-content: center;

    &-btn {
      margin: 0 1.5rem;
      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%;
    }
  }

  &-item {
    position: relative;
    margin-top: 3.25rem;

    .area-code {
      border: transparent !important;
      background-color: transparent;
      margin: 0;
      padding: 0;
    }

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

      img {
        height: 1.5rem;
        margin-right: .8rem;
      }
    }

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

      // input和下拉
      .ipt {
        flex: 1;
        padding: 0 2.5rem 0 2rem;
      }

      .ipt:lang(zh) {
        letter-spacing: .1rem;
      }


      // 长文本
      .textarea {
        min-height: 8.75rem;
        border-radius: 1rem;
      }

      .down-arrow {
        position: absolute;
        top: 2.0rem;
        right: 1rem;
      }

      .region-tel {
        margin-right: .8rem;
        max-width: 30%;
      }

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


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

        .ipt-code {
          flex: 1;
          padding-right: 1.75rem;
        }

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

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

    .validator {
      color: $cOrange;
      margin-top: 0.5rem;
      position: absolute;
      right: .5rem;
      display: flex;
      align-items: center;

      img {
        display: inline-block;
        margin-right: 0.4rem;
      }
    }
  }
}

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

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

  .top-space {
    height: 0;
  }

  .login {
    padding: 2rem 1rem 3.5rem;
    border-bottom: none;


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

    &-tit2:lang(zh) {
      letter-spacing: .2rem;
    }

    &-nav {
      margin: 1.75rem auto 1rem;
    }

    .form {
      &-item {
        margin-top: 2rem;
      }
    }

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

    &-submit {
      margin: 3rem auto 0;
      width: 17.25rem;
      height: 3.25rem;
      line-height: 3.25rem;
    }
  }

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

  .ebg {
    display: none;
  }
}