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

    .page {
        width: 100%;
        height: 100%;
        padding-bottom: 60px;
        background: #c4211a;
    }
    .coupon-header {
        width: 100%;
        height: 428px;
        background: url("../img/coupon/header.png");
        background-size: 100%;
    }

    .coupon-centent,
    .gain-coupon-centent {
        height: 520px;
        margin: 0 30px;
        background: #9d1a15;
    }

    .coupon-centent .title {
        width: 100%;
        height: 111px;
        background: url("../img/coupon/coupon-title.png");
    }

    .coupon-centent .input-content {
        height: 206px;
        margin: 30px 30px 0;
    }

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

    .coupon-centent .input-content div {
        height: 88px;
        width: 100%;
        text-align: center;
        font-size: 18px;
        border-radius: 0.3rem;
        background: #fff;
        color: #444;
        line-height: 88px;
    }

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

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

    .gain-coupon-centent {
        width: 100%;
        height: auto;
        overflow: hidden;
        padding-top: 2rem;
        padding-bottom: 0.6rem;
        background: #e10c1e;
    }

    .gain-coupon-centent p {
        width: 100%;
        height: auto;
        overflow: hidden;
        text-align: center;
        color: #fff;
        line-height: 2rem;
        font-size: 0.9rem;
    }

    .gain-coupon-centent p.phone {
        font-size: 1.3rem;
        font-weight: bold;
        line-height: 2.6rem;
    }

    .coupon {
        width: 81.25%;
        height: auto;
        overflow: hidden;
        margin: 0 auto;
        background: url("../img/coupon/close.png");
    }

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

    .dialog {
        width: 82%;
        height: 14rem;
        position: absolute;
        background: #fff;
        border-radius: 0.6rem;
        left: 9%;
        top: 45%;
        margin-top: -7rem;
        z-index: 2;
    }

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

    .use-coupon-btn .btn {
        width: 75.25%;
        height: auto;
        margin: 0 auto 1.6rem;
    }

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

    .hidden {
        display: none;
    }

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

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

    .activity-message {
        overflow: auto;
    }

    .activity-message h3 {
        width: 100%;
        height: 3.4rem;
        padding-top: 0.6rem;
        line-height: 3.4rem;
        font-size: 1.2rem;
        text-align: center;
    }

    .activity-message p {
        width: 85%;
        height: auto;
        overflow: hidden;
        margin: 0 auto;
        line-height: 2rem;
    }

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

    .messages p {
        line-height: 4rem;
    }
}