_coupon.css 3.07 KB
.coupon-area-page {
    max-width: 640px;
    overflow: hidden;
}

.just-img{
    width: 100%;
    float: left;
    margin:0;
}
.coupon-floor {
    float: left;
    width: 100%;
    .floor-title {
        background-color: #fff;
        text-align: center;
        height: 96px;
        line-height: 96px;
        font-size: 30px;
    }

    .floor-main {
        height: 180px;
        width: 100%;
        background-size: 100%;
        background-repeat: no-repeat;
        padding: 10px 30px;
        box-sizing: border-box;
        float: left;

        .main-left {
            float: left;
            width: 80%;
            height: 160px;
        }

        .main-right-receive, .main-right-use, .main-right-go {
            float: right;
            width: 19%;
            height: 160px;
            position: relative;

            span {
                background-repeat: no-repeat;
                background-size: contain;

                &.on-receive {
                    position: absolute;
                    left: 50%;
                    top: 50px;
                    margin-left: -26px;
                    display: inline-block;
                    width: 52px;
                    height: 54px;
                    background-image: resolve('coupon/click-txt.png');
                }

                &.received {
                    width: 100%;
                    height: 132px;
                    background-image: resolve('coupon/received.png');
                    position: absolute;
                    top: 0;
                    right: 0;
                }

                &.zero {
                    width: 100%;
                    height: 132px;
                    background-image: resolve('coupon/zero.png');
                    position: absolute;
                    top: 0;
                    right: 0;
                }
            }
        }
    }
}

.floor-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    display: none;
    z-index: 9;
}

.floor-message {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 550px;
    height: 250px;
    margin-left: -275px;
    margin-top: -125px;
    z-index: 10;
    background-color: rgba(250, 250, 250, .92);
    display: none;
    border-radius: 10px;

    .coupon-message-content {
        border-bottom: 1px solid rgb(197, 197, 197);
        height: 160px;
        text-align: center;
        line-height: 160px;
        font-size: 28px;
    }

    .coupon-message-op {
        height: 90px;
        text-align: center;
        line-height: 90px;
        font-size: 32px;
        color: rgb(223, 98, 112);
    }
}

.floor-tooltip{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 140px;
    margin-left: -110px;
    margin-top: -70px;
    z-index: 11;
    background-color: rgba(60, 60, 60, .7);
    display: none;
    border-radius: 8px;
    color: #fff;

    .icon-box{
        height: 84px;
        line-height: 84px;
        text-align: center;
    }

    .icon-msg{
        height: 56px;
        text-align: center;
    }
}