_coupon.scss 2.65 KB
.coupon-floor {
    float: left;

    .floor-title {
        background-color: #fff;
        text-align: center;
        height: 96rem/$pxConvertRem;
        line-height: 96rem/$pxConvertRem;
        font-size: 30rem / $pxConvertRem;
    }

    .floor-main {
        height: 180rem /$pxConvertRem;
        width: 100%;
        background-size: 100%;
        background-repeat: no-repeat;
        background-image: url('http://static.dev.yohobuy.com/img/test/coupon.png');
        float: left;

        .main-left {
            float: left;
            width: 497rem/$pxConvertRem;
            height: 180rem/$pxConvertRem;
        }

        .main-right-receive {
            float: left;
            width: 143rem/$pxConvertRem;
            height: 180rem/$pxConvertRem;
            background-size: 100%;
            background-repeat: no-repeat;
        }

        .main-right-use {
            @extend .main-right-receive;
            background-image: url('http://static.dev.yohobuy.com/img/test/received.png');
        }

        .main-right-go {
            @extend .main-right-receive;
            background-image: url("http://static.dev.yohobuy.com/img/test/zero.png");
        }
    }
}

.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: 550rem/$pxConvertRem;
    height: 250rem/$pxConvertRem;
    margin-left: -275rem/$pxConvertRem;
    margin-top: -125rem/$pxConvertRem;
    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: 160rem/$pxConvertRem;
        text-align: center;
        line-height: 160rem/$pxConvertRem;
        font-size: 28rem/$pxConvertRem;
    }

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

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

    .icon-box{
        height: 84rem/$pxConvertRem;
        line-height: 84rem/$pxConvertRem;
        text-align: center;
    }

    .icon-msg{
        height: 56rem/$pxConvertRem;
        text-align: center;
    }
}