_shop-entry.css 1.54 KB
.shop-entry-area {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: none;

    .shop-entry:first-child {
        margin-left: 0;
    }
}

.shop-entry {
    position: relative;
    background: #f5f7f6;
    border: 1px solid #eaeceb;
    padding: 12px 15px;
    width: 49%;
    box-sizing: border-box;
    float: left;
    margin: 0 0 10px 2%;

    .logo {
        width: 80px;
        height: 50px;
    }

    .name {
        margin-left: 10px;
        width: 70%;
    }

    .shop-name {
        font-size: 16px;
        color: #222;
        line-height: 26px;
        width: 100%;
        height: 26px;
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .sorts {
        color: #999;
        font-size: 12px;
        line-height: 18px;
        width: 100%;
        height: 18px;
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;

        a {
            color: #999;
        }
    }

    .entry-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        width: 110px;
        height: 32px;
        line-height: 32px;
        margin-top: -16px;
        background: #222;
        text-align: center;
        color: #fff;
        font-size: 12px;

        .iconfont {
            font-size: 12px;
        }
    }
}

.goods-container {
    height: auto;
    padding: 25px 0 0 0;
    position: relative;
    width: calc(970px + 10px);/*每列增加右边距*/

    .good-info {
        width: 235px;
    }
}