﻿/*============商品分类详细===========*/

/*分享按钮*/
.oct-header-right .header-icon-my {
    width: 22px;
    height: 22px;
}

/*子导航*/
.oct-header-sub {
    clear: both;
}

.goods-type-nav {
    width: 100%;
    overflow-x: auto;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
    clear: both;
    position: relative;
}

.goods-type-ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

    .goods-type-ul li {
        font-size: 16px;
        margin-right: 18px;
        display: block;
        clear: both;
    }

        .goods-type-ul li div {
            white-space: nowrap;
            word-break: keep-all;
        }

.goods-type-li-current {
    color: #ff0000;
    border-bottom: 2px solid #ff0000;
}

/*弹出全部分类*/
body .all-type-show {
    clear: both;
    display: block;
    background: white;
    padding: 6px;
    padding-bottom: 0;
    position: fixed;
    top: 80px;
    left: 0;
    z-index: 10000;
    width: 100%;
}

.all-type-show ul {
    display: flex;
    flex-wrap: wrap;
}

    .all-type-show ul li {
        margin: 5px 6px;
        font-size: 14px;
    }

.goods-type-li-current {
    border-bottom-width: 1px;
}
/*下拉按钮*/
.btn-arrow {
    position: fixed;
    top: 40px;
    right: 0;
    width: 32px;
    padding-top: 8px;
    z-index: 10000;
    background: white;
}

    .btn-arrow img {
        width: 30px;
        height: 30px;
    }

body .oct-content {
    padding-top: 40px;
}
/*-------------商品列表--------------*/
.goods-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 5px;
    background: #f5f5f5;
    padding: 5px;
}

.goods-item {
    width: 47%;
    overflow: hidden;
    background: white;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    margin-top: 6px;
}

.goods-img {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height:180px;
}

    .goods-img img {
        width: 100%;
        height: 180px;
    }

.goods-name {
    font-size: 12px;
    padding: 4px;
    text-align: left;
    height: 50px;
}

.goods-price {
    padding: 4px;
    padding-right: 0;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .goods-price b {
        color: #fc5c16;
        font-size: 14px;
    }

    .goods-price span {
        background: #fc5c16;
        font-size: 12px;
        color: white;
        padding: 0 5px;
        border-radius: 20px;
    }

    .goods-price .goods-price-no {
        color: gray;
        text-decoration: line-through;
        background: none;
    }

    .goods-price .goods-stock-residue {
        color: gray;
        background: none;
    }


    .goods-price div {
        font-size: 11px;
        color: #b5b5b5;
        padding-right: 8px;
    }

    .goods-price img {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }

.goods-item {
    position: relative;
    overflow: visible;
}

    .goods-item .goods-item-badge {
        background: #ff6a00;
        color: white;
        font-size: 12px;
        border-radius: 20px;
        position: absolute;
        top: -5px;
        left: -5px;
        padding-left: 5px;
        padding-right: 5px;
    }



/*========数据分页===========*/
/*列表承载Div,必须这样定义样式*/
.mescroll {
    position: fixed;
    top: 85px; /*这个值可以控制滚动区离顶部的距离*/
    bottom: 0;
    height: auto;
    padding-bottom: 80px;
    background: #f5f5f5;
}
