_latest-walk.scss 1.12 KB
.latest-walk {
    overflow: hidden;
    border-top: 2px solid #eaeceb;
    font-size: 12px;

    h2 {
        padding-top: 15px;
        font-size: 14px;
    }

    .goods {
        height: 241px;
        margin: 30px 0;
        overflow: hidden;
    }

    .good {
        float: left;
        margin-right: 14px;
    }

    img {
        display: block;
        width: 150px;
        height: 201px;
    }

    .name {
        display: block;
        height: 18px;
        line-height: 18px;
        max-width: 150px;
        margin: 5px 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .market-price {
        color: #999;
        margin-right: 5px;
        text-decoration: line-through;
    }

    .sale-price {
        color: #000;
        font-weight: bold;
    }
}

@media (min-width: 1180px) {
    .latest-walk {
        .goods {
            min-width: 984px;
        }
    }
}

.min-screen .latest-walk {
    .goods {
        width: 820px;
        height: 301px;
    }

    .good {
        margin-right: 10px;
    }

    img {
        width: 195px;
        height: 261px;
    }
}