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

    html,
    body {
        width: 100%;
        height: 100%;
        background: #e10c1e;
    }

    .page {
        width: 100%;
        height: 100%;
        background: #e10c1e;
    }
    .coupon-header {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .use-coupon-btn {
        width: 100%;
        height: auto;
        overflow: hidden;
        position: relative;
        padding-bottom: 2rem;
    }

    .use-coupon-btn img,
    .coupon-header img {
        width: 100%;
    }

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

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

    .coupon-centent div {
        width: 81.25%;
        height: 4rem;
        overflow: hidden;
        margin: 0 auto;
        padding-bottom: 1rem;
    }

    .coupon-centent input {
        width: 68%;
        height: 3.6rem;
        overflow: hidden;
        border: 1px solid #fff;
        border-right: none;
        background: none;
        font-size: 18px;
        color: #fff;
        float: left;
        box-sizing: border-box;
        border-radius: 0.3rem 0 0 0.3rem;
        text-align: center;
        outline: none;
    }

    .coupon-centent span {
        width: 30%;
        height: 3.6rem;
        float: left;
        line-height: 3.6rem;
        text-align: center;
        font-size: 1em;
        border-radius: 0 0.3rem 0.3rem 0;
        background: #b0b0b0;
        color: #e0e0e0;
    }

    .coupon-centent .verification-code,
    .coupon-centent .get {
        background: #fff;
        color: #000;
    }

    .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;
    }

    .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: 1.4rem;
        height: 1.4rem;
        overflow: hidden;
        background: #444;
        color: #f1f1f1;
        border-radius: 50%;
        position: absolute;
        top: -0.5rem;
        right: -0.5rem;
        line-height: 1.4rem;
        text-align: center;
    }

    .dialog .close img {
        width: 100%;
        height: auto;
    }

    .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;
    }
}