sms-login-new.page.scss 7.65 KB
@import "~scss/layout/img-check";
@import "wechat-quick-login";

@mixin banner-box-elem {
    position: absolute;
    top: 0;
    left: 0;
    width: 750px;
}

@mixin padding-75 {
    padding-left: 75px;
    padding-right: 75px;
}

@mixin third-line {
    width: 178px;
    border-top: 1px solid #b0b0b0;
    margin-top: 18px;
}

$top-bar-font-color: #fff;
$disable-gray: #b0b0b0;

.sms-login-new-page {
    input:-webkit-autofill {
        background-color: transparent;
        background-image: none;
    }

    .active {
        background-color: #444 !important;
    }

    .iconfont {
        color: #444;
    }

    .banner-box {
        width: 750px;
        height: 290px;
        overflow: hidden;
        position: relative;

        img {
            @include banner-box-elem;

            z-index: 1;
        }

        .banner-info {
            @include banner-box-elem;
            @include padding-75;

            z-index: 2;
            height: 100%;

            > .top-operation-bar {
                width: 600px;
                height: 50px;
                margin-top: 50px;
            }

            > .top-operation-bar > button {
                text-align: center;

                &.close {
                    width: 50px;
                    float: left;
                    background-color: transparent;
                    color: $top-bar-font-color;
                    font-size: 50px;
                    padding: 0;
                }
            }

            .register {
                width: 110px;
                height: 50px;
                line-height: 50px;
                border-radius: 25px;
                background-color: transparent;
                color: $top-bar-font-color;
                border: solid 1px $top-bar-font-color;
                float: right;
                text-align: center;
            }

            > .tip {
                width: 100%;
                margin-top: 152px;
                font-size: 22px;
                color: #fffefe;
                position: absolute;
                bottom: 14px;
                left: 50%;
                transform: translateX(-50%);
                text-align: center;

                .iconfont {
                    color: #fff;
                }
            }
        }
    }

    .sms-login-form {
        @include padding-75;

        margin-top: 60px;

        > .form-group {
            border-bottom: 1px solid #e0e0e0;
            height: 50px;

            > label {
                font-size: 26px;
                margin-right: 36px;
            }

            > input {
                width: 400px;
                border: none;
                box-shadow: none;
                background-color: transparent;

                &.mobile-input {
                    width: 280px;
                }

                &.verify-code-input {
                    width: 260px;
                }
            }

            > i {
                float: right;

                &.line {
                    float: none;
                    margin-right: 20px;
                }
            }

            &.mobile {
                margin-bottom: 62px;

                > label {
                    margin-right: 30px;
                }

                > .country-select {
                    width: 140px;
                    appearance: none;
                    border: none;
                    background-color: transparent;
                }

                > .arrow-icon {
                    color: #444;
                    float: none;
                    font-size: 12px;
                }

                > .clear {
                    color: #e0e0e0;
                    margin-right: 4px;
                    margin-top: 10px;
                }
            }

            .country-code {
                width: 98px;
                height: 22px;
                font-size: 28px;
                line-height: 1.14;
                color: #444;
                background-color: transparent;
                margin-right: 20px;
            }

            > .get-verify-code {
                padding: 0 16px;
                height: 50px;
                line-height: 50px;
                border-radius: 25px;
                background-color: $disable-gray;
                color: #fff;
                font-size: 22px;
                float: right;
                margin-top: -8px;
            }
        }

        > .verify-code {
            margin-bottom: 0;
        }

        .other-info {
            width: 600px;
            font-size: 24px;
            line-height: 1.33;
            color: #444;
            margin-top: 30px;

            a {
                float: left;
                width: 200px;
                text-align: center;
            }

            a:first-child {
                text-align: left;
            }

            a:last-child {
                float: right;
                text-align: right;
            }
        }

        .sms-login-btn {
            width: 600px;
            height: 70px;
            border-radius: 4px;
            background-color: $disable-gray;
            margin-top: 40px;
            font-size: 32px;
            color: #fff;
        }
    }

    .third-party-login {
        @include padding-75;

        margin-top: 130px;
        text-align: center;

        > .tip-box {
            span {
                display: inline-block;
            }

            .left-line {
                @include third-line;

                float: left;
            }

            .right-line {
                @include third-line;

                float: right;
            }

            .tip {
                margin-left: auto;
                margin-right: auto;
                height: 23px;
                font-size: 24px;
                line-height: 1.33;
                color: #b0b0b0;
            }
        }

        > .third-logo-box {
            margin-top: 49px;
            margin-bottom: 60px;
            text-align: center;

            a {
                width: 80px;
                height: 80px;
                margin-right: 93px;
                background-color: transparent;
                font-size: 80px;

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

    .full-img-verify {
        margin-top: 40px;

        .img-check {
            background-color: #fff;
            margin-top: 0;
            margin-bottom: 0;

            .img-check-header > span {
                color: #444;
                font-size: 21.9px;
                line-height: 1.5;
            }

            .img-check-header > .img-check-refresh {
                color: #d0021b;
            }

            .img-check-main > .img-check-pics > .img-check-pic {
                background-color: #fff;
                border: solid 1px #e0e0e0;
                transform: scale(0.91);
            }
        }
    }

    .get-password-box {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        background-color: rgba(0, 0, 0, 0.4);

        .bottom-button-box {
            position: fixed;
            z-index: 3;
            bottom: 0;
            left: 0;
            right: 0;

            a {
                width: 50%;
                height: 100px;
                font-size: 30px;
                line-height: 100px;
                float: left;
                text-align: center;
            }

            .by-email {
                background-color: #fff;
                color: #444;
            }

            .by-mobile {
                background-color: #444;
                color: #fff;
            }
        }
    }

    .hide {
        display: none;
    }
}