_index.css 6.89 KB
.receive-coupon-page {
    * {
        margin: 0;
        padding: 0;
        font-size: 14px;
    }

    .bg-contain {
        width: 100%;
        height: 100%;
        position: absolute;
        background: #c4211a;

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

    .page {
        width: 100%;
        height: auto;
        padding-bottom: 60px;
        position: absolute;
        top: 0;
        bottom: 0;
    }

    .coupon-centent,
    .gain-coupon-centent {
        margin-top: 428px !important;
        height: 520px;
        margin-left: 30px;
        margin-right: 30px;
        background: #9d1a15;
        overflow: hidden;
        border-radius: 0.3rem;
    }

    .coupon-centent {
        position: relative;

        .title {
            position: absolute;
            top: 40px;
            left: 50%;
            margin-left: -200px;
            width: 401px;
            height: 57px;
            background: url("../img/coupon/coupon-title.png");
        }

        .under-title {
            position: absolute;
            top: 100px;
            width: 100%;
            height: 463px;

        }

        .input-content {
            height: 206px;
            margin: 30px 30px 0;
            position: relative;

            input {
                height: 88px;
                width: 100%;
                margin-bottom: 30px;
                border: 1px solid #fff;
                font-size: 28px;
                color: #fff;
                background: #9d1a15;
                border-radius: 0.3rem;
                text-align: center;
                outline: none;
            }

            div {
                height: 88px;
                width: 100%;
                text-align: center;
                font-size: 28px;
                border-radius: 0.3rem;
                background: #b0b0b0;
                color: #e0e0e0;
                line-height: 88px;
            }

            .verification-code,
            .get {
                background: #fff;
                color: #444;
            }
        }

        .clear-input {
            position: absolute;
            padding: 10px;
            top: 0.4rem;
            right: 50px;
            font-size: 28px;
            color: #666;
            z-index: 1;
        }

        .coupon-description {
            width: 100%;
            height: 136px;
            position: relative;
            background: url("../img/coupon/coupon-footer.png");

            span {
                position: absolute;
                bottom: 0;
                left: 40%;
                width: 20%;
                height: 2rem;
            }
        }
    }

    .gain-coupon-centent {
        p {
            width: 100%;
            height: 40px;
            line-height: 40px;
            text-align: center;
            color: #fff;
            font-size: 17px;
        }

        p.phone {
            margin-top: 10px;
            font-size: 30px;
            font-weight: bold;
        }

        .coupon {
            padding-top: 50px;
            width: 90%;
            margin-left: 5%;
            height: 220px;
            background: ##9d1a15;
        }

        .coupon img {
            width: 100%;
            height: auto;
        }

        .use-coupon-btn {
            height: 88px;
            line-height: 88px;
            margin: 30px 55px;
            background: #444;
            color: #fff;
            text-align: center;
            border-radius: 4px;
        }

        span {
            font-weight: bold;
            display: inline-block;
            width: 139px;
            height: 42px;
            align: center;
            font-size: 24px;
            color: #fff;
            margin: 0 40%;
            background: url("../img/coupon/activity-description.png");
        }

        a {
            color: #fff;
            font-size: 28px;
        }
    }

    .dialog {
        width: 84%;
        height: 410px;
        position: absolute;
        background: #fff;
        border-radius: 0.6rem;
        left: 8%;
        top: 235px;
        z-index: 2;
    }

    .dialog .close {
        width: 40px;
        height: 40px;
        overflow: hidden;
        background: url("../img/coupon/close.png");
        color: #f1f1f1;
        position: absolute;
        top: -20px;
        right: -20px;
        line-height: 40px;
        text-align: center;
    }

    .hidden {
        display: none;
    }

    .phone-error {
        text-align: center;
        line-height: 14rem;
    }

    .mask {
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: #000;
        opacity: 0.4;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .activity-message {
        width: 100%;
        height: 410px;
        overflow: scroll;
    }

    .activity-message h3 {
        width: 100%;
        height: 40px;
        margin-top: 40px;
        margin-bottom: 10px;
        line-height: 40px;
        font-size: 32px;
        text-align: center;
    }

    .activity-message p {
        width: 85%;
        height: auto;
        overflow: hidden;
        margin: 0 auto;
        font-size: 26px;
        line-height: 40px;

        padding-left: 26px;
        text-indent: -26px;
    }

    .messages {
        width: 84%;
        height: 4rem;
        position: absolute;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 0.6rem;
        left: 8%;
        top: 45%;
        margin-top: -2rem;
        z-index: 2;
        color: #fff;
    }

    .messages p {
        line-height: 4rem;
        font-size: 24px;
    }

    .tip-wrap {
        width: 100%;
        height: 100%;
        background: #9d1a15;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 3;
    }

    .tip {
        width: 100%;
        height: 100%;
        background: #9d1a15;
        position: absolute;
        top: 0;
        left: 0;

        .header {
            width: 170px;
            height: 170px;
            margin-top: 40%;
            margin-left: auto;
            margin-right: auto;
            background: url("../img/coupon/unfortunately.png");
        }

        .title {
            margin-top: 30px;
            font-size: 28px;
            color: #fff;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }

        .logo {
            width: 391px;
            height: 78px;
            margin-top: 190px;
            margin-left: auto;
            margin-right: auto;
            background: url("../img/coupon/logo.png");
        }

        .desc {
            font-size: 24px;
            color: #444;
        }

        .button {
            display: block;
            margin: 30px auto;
            width: 270px;
            height: 56px;
            font-size: 26px;
            line-height: 56px;
            text-align: center;
            color: #fff;
            background: #000;
        }
    }
}