_vip-grade.scss 4.14 KB
.vip-grade-page {
    background: #f0f0f0;
    padding-bottom: 30rem / $pxConvertRem;

    .block {
        padding: 0 30rem / $pxConvertRem;
        margin-bottom: 30rem / $pxConvertRem;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        background: #fff;
    }

    .basic-info {
        padding-top: 30rem / $pxConvertRem;
        padding-bottom: 25rem / $pxConvertRem;
        p{
            width: 100%;
            height: auto;
            overflow: hidden;
            display: block;
        }
        span{
            overflow: hidden;
        }
        .user-name {
            float: left;
            max-width: 240rem / $pxConvertRem;
            text-overflow:ellipsis; 
            white-space:nowrap; 
            font-size: 25rem / $pxConvertRem;
            margin-right: 0.5rem;
        }

        .vip-icon {
            float: left;
            width: pxToRem(72px);
            height: pxToRem(32px);
            line-height: 36rem / $pxConvertRem;
        }

        .vip-3 {
            @include rem-sprite($vip, vip-3); 
        }

        .vip-2 {
            @include rem-sprite($vip, vip-2);
        }

        .vip-1 {
            @include rem-sprite($vip, vip-1);
        }

        .grade-desc {
            margin-top: 20rem / $pxConvertRem;
            font-size: 22rem / $pxConvertRem;
            color: #b0b0b0;
        }

        .sum-cost {
            font-size: 22rem / $pxConvertRem;

            > span {
                font-style: italic;
                font-size: 28rem / $pxConvertRem;
                color: #d1021c;
            }
        }

        .progresser {
            position: relative;
            width: 100%;
            height: 20rem / $pxConvertRem;
            padding: 20rem / $pxConvertRem 0;
        }

        .outer {
            height: 20rem / $pxConvertRem;
            background: #e6e6e6;
            @include border-radius(10px);
        }

        .inner {
            position: absolute;
            top: 20rem / $pxConvertRem;
            height: 20rem / $pxConvertRem;
            background: #d1021c;
            @include border-radius(10px);
        }

        .beacon {
            position: absolute;
            margin-top: 5rem / $pxConvertRem;
            font-style: italic;
        }

        .beacon-max {
            right: 0;
        }

        .cost-limit {
            position: absolute;
            top: -5rem / $pxConvertRem;
            right: 0;
            color: #b0b0b0;
        }

        .cost-gap {
            color: #000;
            margin: 0 8rem / $pxConvertRem;
        }

        .sub-desc {
            display: block;
        }
    }
    .cost {
        padding: 0 0 0 30rem / $pxConvertRem;
    }
    .cost li {
        height: 90rem / $pxConvertRem;
        line-height: 90rem / $pxConvertRem;
        font-size: 30rem / $pxConvertRem;
        padding-right: 0;

        &:first-child {
            border-bottom: 1px solid #e0e0e0;
        }
        > span {
            float: right;
            padding: 0 30rem / $pxConvertRem 0 0;
        }
    }

    .privilege {
        padding-right: 0;
        padding-bottom: 40rem / $pxConvertRem;

        .title {
            height: 90rem / $pxConvertRem;
            line-height: 90rem / $pxConvertRem;
            font-size: 30rem / $pxConvertRem;
            border-bottom: 1px solid #e0e0e0;
        }
    }

    .all-privilege {
        display: block;
        height: 90rem / $pxConvertRem;
        line-height: 90rem / $pxConvertRem;
        font-size: 30rem / $pxConvertRem;
        margin-bottom: 0;

        .iconfont {
            float: right;
            color: #e0e0e0;
        }

    }

}

.vip-privilege-page {
    padding: 0 20rem / $pxConvertRem;
}

.privilege-list {
    background: #fff;

    .icon {
        float: left;
        display: block;
        width: pxToRem(70px);
        height: pxToRem(70px);
    }

    li {
        height: 70rem / $pxConvertRem;
        padding: 25rem / $pxConvertRem 0;
    }

    P {
        font-size: 28rem / $pxConvertRem;
        margin-left: 100rem / $pxConvertRem;
    }

    span {
        display: block;
        color: #b0b0b0;
        font-size: 22rem / $pxConvertRem;
    }
}