_browse-record.scss 2.47 KB
.browse-record-good {
    position: relative;
    padding: 0.5rem 0 0.5rem 0.75rem;
    display: block;

    .thumb {
        float: left;
        width: 120rem / $pxConvertRem;
        height: 160rem / $pxConvertRem;
    }

    .sold-out {
        display: inline;
    }

    .deps {
        margin-left: 135rem / $pxConvertRem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: -0.75rem;
    }

    .name {
        font-size: 28rem / $pxConvertRem;
        max-width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;

    }

    .price {
        margin: 0.3rem 0;
        font-size: 16px;
    }

    .sale-price {
        color: #f00;
        &.original-price {
            color: #000;
        }
    }

    .market-price {
        text-decoration: line-through;
        color: #b0b0b0;
    }

    .sold-out-tag {
        font-size: 12px;
        line-height: 30rem / $pxConvertRem;
        text-align: center;
        color: #fff;
        background: #7f7f7f;
        padding: 0.125rem 0.375rem;
        @include border-radius(1rem);
    }

    .del-icon {
        position: absolute;
        right: 0.75rem;
        width: 60rem / $pxConvertRem;
        height: 60rem / $pxConvertRem;
        line-height: 60rem / $pxConvertRem;
        text-align: center;
        color: #999;
    }
}

.browse-record-page {
    .load-more {
        width: 100%;
        height: 1.75rem;
        line-height: 1.75rem;
        text-align: center;
    }

    .no-record {
        position: absolute;
        background: #fff;
        text-align: center;
        top: 50%;
        margin-top: -220rem / $pxConvertRem;
        width: 100%;

        .icon {
            width: 196rem / $pxConvertRem;
            height: 207rem / $pxConvertRem;
            background: image-url('me/no-record.png') no-repeat;
            background-size: 100%;
            margin: 0 auto;
        }

        span {
            display: block;
            color: #b0b0b0;
            font-size: 24rem / $pxConvertRem;
            margin: 30rem / $pxConvertRem 0 110rem / $pxConvertRem;
        }

        .walk-way {
            display: block;
            height: 80rem / pxConvertRem;
            line-height: 80rem / $pxConvertRem;
            width: 70%;
            margin: 0 auto;
            text-align: center;
            font-size: 30rem / $pxConvertRem;
            color: #fff;
            background: #444;
            @include border-radius(5px);
        }
    }
}