﻿/*=============商城首页 O2o  附近 =============*/
/*头部*/
body .oct-header {
    margin: 0;
    padding: 8px;
    border: none;
    height: 45px;
}

.oct-header-addr {
    width: 100px;
    height: 35px;
    font-size: 12px;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
    padding-top: 0px;
    line-height: 100%;
}

    .oct-header-addr img {
        width: 20px;
        height: 25px;
    }

.oct-header .goods-search {
    background: #f2f2f2;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    height: 30px;
    text-align: center;
    color: gray;
    font-size: 12px;
}

.goods-search img {
    width: 15px;
    height: 15px;
    margin-top: -3px;
    margin-right: 5px;
}

.oct-header-scan {
    width: 40px;
    font-size: 10px;
    text-align: center;
    padding-left: 10px;
}

    .oct-header-scan img {
        width: 18px;
        height: 18px;
    }

/*主体内容*/
body .oct-content {
    padding: 0;
    margin: 0;
    padding-top: 2px;
    padding-bottom: 80px;
}


/*轮播区*/
.oct-slider {
    position: relative;
    margin-top: 45px;
}

.sliderMainContent {
    height: 140px;
    overflow: hidden;
}

.content-slider li {
    height: 140px;
    width: 100%;
    overflow: hidden;
}

.slider-pager-content {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    color: #808080;
    border-radius: 5px;
    padding: 0 4px;
    filter: alpha(Opacity=80);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

.img-slider img {
    width: 100%;
}
/*导航*/
.nav-list {
    background: white;
    padding: 10px;
    padding-top: 0;
}

    .nav-list .sliderMainContent {
        height: 180px;
    }

    .nav-list ul {
        padding: 0;
        margin: 0;
    }

        .nav-list ul li {
            margin: 0 auto;
            padding-top: 10px;
            height: 158px;
            display: flex;
            flex-wrap: wrap;
            align-content: center;
            align-items: center;
        }


.nav-item {
    width: 60px;
    text-align: center;
    margin: 8px auto;
}

/*兼容苹果*/
@media all and (min-width: 400px) {

    .nav-item {
        width: 75px;
        text-align: center;
        margin: 8px auto;
    }
}



.nav-item img {
    width: 45px;
    height: 45px;
    display: block;
    margin: 0 auto;
}
/*中心列表广告*/
.gg-list {
    padding: 6px;
    margin: 0;
    margin-top: 6px;
    background: white;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    align-items: flex-start;
}

.gg-item {
    width: 50%;
    display: block;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

    .gg-item img {
        width: 100%;
    }

/*推荐商家*/
.commend-shop {
    padding: 10px 6px;
    margin-top: 6px;
    background: white;
}

.commend-shop-title {
    padding: 5px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid #eaeaea;
}

.shop-title-right {
    color: #8a8a8a;
    font-size: 12px;
    font-weight: normal;
    padding-right: 0;
    display: flex;
    align-items: center;
}

    .shop-title-right img {
        width: 13px;
        height: 13px;
        margin-left: 3px;
        margin-right: -5px;
    }
/*推荐商家Item*/
.commend-item {
    padding: 0;
    margin: 0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    border-bottom: 1px solid #f8f8f8;
    padding-bottom: 5px;
}

.commend-item-img {
    width: 75px;
}

    .commend-item-img img {
        width: 75px;
        height: 75px;
        border-radius: 5px;
    }

.commend-item-msg {
    width: 100%;
    padding-left: 8px;
}

.item-msg-title {
    font-size: 14px;
    color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-msg-distance {
    font-size: 12px;
}

.item-msg-appraise {
    font-size: 12px;
    color: gray;
}

.item-msg-badge {
    font-size: 10px;
}

    .item-msg-badge span {
        background: #ffe0ae;
        color: #ff0000;
        font-size: 10px;
        border-radius: 5px;
        padding: 1px 2px;
    }

.item-msg-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .item-msg-price b {
        color: red;
        font-size: 16px;
        padding-right: 5px;
    }

.item-msg-sale {
    color: #9f9f9f;
    font-size: 12px;
}

/*推荐商品*/
.commend-goods {
    width: 100%;
    background: white;
    padding: 6px;
    margin-top: 6px;
}

.commend-goods-title {
    padding: 5px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid #eaeaea;
}

.goods-title-right {
    color: #8a8a8a;
    font-size: 12px;
    font-weight: normal;
    padding-right: 0;
    display: flex;
    align-items: center;
}

    .goods-title-right img {
        width: 13px;
        height: 13px;
        margin-left: 3px;
        margin-right: -5px;
    }

.commend-goods-list {
    padding: 0;
    padding-bottom: 8px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

.commend-goods-item {
    width: 47%;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    border: 1px solid #e5e5e5;
    margin-top: 12px;
}

    .commend-goods-item img {
        width: 100%;
        height: 180px;
    }

.commend-goods-name {
    padding:5px;
    height: 35px;
    line-height: 130%;
}

.commend-goods-price {
    padding: 5px;
    padding-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: red;
}

.commend-goods-del {
    color: #8a8a8a;
    text-decoration: line-through;
    font-weight: normal;
    font-size: 12px;
}
