﻿

/*箭头*/
.arrow-right{display: inline-block;width:.2rem;height: .2rem; border-right: .04rem solid; border-bottom: .04rem solid;width: .20rem; height: .20rem;transform: rotate(-45deg);}
.arrow-left{display: inline-block;width:.2rem;height: .2rem;border-left: .04rem solid; border-bottom: .04rem solid;width: .20rem; height: .20rem;  transform: rotate(45deg);}

/*布局*/
.flex_column{ display: -webkit-flex;-webkit-flex-direction:column;}

.topPublic{
    height: .98rem;
    background: #f9f9f9;
    position: fixed;
    width: 100vw;
    bottom: 0;
    z-index: 111;
    border-top: 1px solid #e2e2e2;
}
.topTab{
    width:100%;
    display: inline-block;
    /*border-bottom: 1px solid #f2f2f2;*/
    padding: 0 .24rem;
    box-sizing: border-box;
    position: absolute;
    z-index: 111;
    top: 0;
    height: .88rem;
}
.topTab li{
    width:50%;
    float: left;
    text-align: center;
    font-size: .2rem;
    box-sizing: border-box;
    color: #494949;
    height: .98rem;line-height: .98rem;
    padding-top: .075rem;
}
.topTab li img{
    width: .5rem;
    height: .5rem;vertical-align: middle;
}
.topTab li span{
    /*display: block;*/
    width: 100%;
    text-align: center;
    margin-top: .03rem;
}
.topTab .active{
    color: #ff8522;
}

.boxIndex{
    padding-top: .88rem;
}
.boxIndex .top_head{
    height: .98rem;
    position: fixed;
    top: 0;
    z-index: 111;
    width: 100%;
    /*padding-left: .4rem;*/
    font-size: .34rem;
    color: #292929;
    display: flex;
    justify-content: space-between;
    background: #fff;
}
.boxIndex .daojishi-box{
    width: 5rem;
    height: .8rem;
    position: absolute;
    bottom: .2rem;
    left: 1.25rem;
    display: none;
}
.boxIndex .daojishi-box .daojishi_cont{
    color: #fff;
    height: .8rem;
    line-height: .8rem;
    text-align: center;
    font-size: .3rem;
    width: 100%;
    position: absolute;
    z-index: 10;
}
.boxIndex .daojishi-box .daojishi-model{
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .3;
    position: absolute;
}
.boxIndex .head{
    /*margin-top: .88rem;*/
    width: 100%;
    /*height: 3.15rem;*/
    /*min-height: 1rem;*/
    position:relative;
}
.boxIndex .top_head .search{
    width: 5rem;
    padding: 0 .3rem;
    box-sizing: border-box;
    background: #EFF3F7;
    margin-right: .2rem;
    opacity: .6;
    color: #9C9C9C;
    font-size: .28rem;
    position: absolute;
    right: .3rem;
    top:.15rem;
    height: .7rem;
    line-height: .7rem;
    border-radius: .3rem;
}
.boxIndex .top_head .search img{
    width: .3rem;
    vertical-align: middle;
}
.boxIndex .head .head_bg{
    width: 100%;
}

.dingwei{
    /* position: absolute;
     top: .2rem;
     right: .4rem;*/
    font-size: .16rem;
}
.dingwei .city{
    display: inline-block;
    margin-left: .1rem;    max-width: 1.5rem;overflow: hidden;
    color: #292929;
    text-overflow:ellipsis;
    margin-right: .1rem;white-space: nowrap;
    font-size: .28rem;margin-top: .25rem;
}
.dingwei a{
    color: #292929;
    display: block;
    overflow: hidden;
    padding: 0 .3rem;
    border-radius: .3rem;
    height: .88rem;
}
.dingwei img{
    width: .2rem;    margin-top: -.23rem;    vertical-align: middle;
    /*height: .18rem;*/
}


.boxIndex .scroll{
    padding-bottom: 1.5rem;
    padding-top: .3rem;
    /*height: calc(100vh - 3.4rem);*/
    /*overflow-y: scroll;*/
    display: none;
}

.boxIndex .content{
    /*padding-top: .28rem;*/
    width: 7rem;
    margin: 0 auto;
}


.boxIndex .menu-box{
    width: 100%;
    /*height: ;*/
    display: flex;    background: #fff;
    justify-content: flex-start;    flex-wrap: wrap;
    padding: .15rem;
    box-sizing: border-box;
    align-items: center;
}
.boxIndex .menu-box .menu-children{
    display: block;
    width: 25%;
    text-align: center;
    color: #222222;
    margin: .15rem 0;
}
.boxIndex .menu-box .menu-children img{
    width: .86rem;
}
.boxIndex .menu-box .menu-children p{
    font-size: .22rem;
}

.boxIndex .banner {
    margin: .2rem;border-radius: .2rem;
}
.boxIndex .banner img{
    width: 100%;
}



/*.boxIndex .content{
    width: 7rem;
    margin: 0 auto;
    height: calc(100vh - 3.2rem);
    overflow-y: scroll;
    display: none;
}*/




.boxIndex  .tab {
    /* height: 1rem;
     margin-top: 0;
     position: relative;*/
    padding-top: .2rem;
    box-sizing: border-box;
    height: 1rem;
    margin-top: 0;
    position: relative;
    z-index: 99;
    width: 100%;
    top: 0;
    background: #fff;

}
.boxIndex  .tab li{
    width: 25%;
    text-align: center;
    color: #888;
    font-size: .32rem;
    float: left;    height: .65rem;
}
.boxIndex  .tab li.active{
    background: url("../images/index/huxian.png") no-repeat center bottom;
    background-size: 20%;
    color: #FF5A00;
}

.boxIndex .content .menu {
    float: left;
    width: 50%;
    border-radius: .2rem;
    margin-bottom: .32rem;
}.boxIndex .content .menu .menu-style {
     border-radius: 0.2rem;
     margin: 0.1rem;
     background: #fff;
 }
.boxIndex .content .menu .goods {
    width: 100%;position: relative;
}
.boxIndex .content .menu .goods img {
    width: 100%;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
}
.boxIndex .content .menu img{
    width: 2rem;
    /*height: max-content;*/
    height: auto;
    margin-right: 0.15rem;
    border-radius: 0.15rem;
}
.boxIndex .content .menu .shop_box .shop_name{
    font-size: .32rem;
    width: 4.5rem;
    overflow: hidden;
    /*超出部分隐藏*/
    white-space: nowrap;
    /*不换行*/
    text-overflow: ellipsis;
    /*超出部分文字以...显示*/
}
.boxIndex .content .menu .shop_box .num{
    color: #ccc;
}
.boxIndex .content .menu .shop_box .renjun{
    margin-left: .15rem;
    color: #ccc;
}
.boxIndex .content .menu .shop_box .dist{
    float: right;
    color: #2d7ad3;margin-right: 0.2rem;
}
.boxIndex .content .menu .shop_box .shop_address{
    display: block;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.15rem;
    width: 4.5rem;
    overflow: hidden;
    /*超出部分隐藏*/
    white-space: nowrap;
    /*不换行*/
    text-overflow: ellipsis;
    /*超出部分文字以...显示*/
}
.boxIndex .content .menu .taocan_msg .hui{
    display: inline-block;
    background: #FF6B1E;
    padding: 0.05rem;
    border-radius: .12rem;
    font-size: .24rem;
    color: #fff;
    height: 0.28rem;
    line-height: .28rem;
    margin-left: 0.12rem;
}
.boxIndex .content .menu .taocan_msg {
    margin: .15rem 0;
    display: flex;
    width: 4.65rem;    align-items: center;
}
.boxIndex .content .menu .taocan_msg .discountPrice{
    color: #FF6B1E;    font-size: .24rem;
}
.boxIndex .content .menu .taocan_msg .originalPrice{
    color: #FF6B1E;
    margin: 0 0.1rem;
    border: 1px solid #FF6B1E;
    border-radius: 0.1rem;
    padding: 0 0.03rem;
    height: 0.28rem;
    font-size: .2rem;
    line-height: .28rem;
}
.boxIndex .content .menu .taocan_msg .taocan_det{
    width: 1.3rem;
    overflow: hidden;
    font-size: .24rem;
    /*超出部分隐藏*/
    white-space: nowrap;
    /*不换行*/
    text-overflow: ellipsis;
    /*超出部分文字以...显示*/
}

.boxIndex .content .menu .menu-style{
    border-radius: .2rem;
    margin: .1rem;
    background: #fff;
    overflow: hidden;
}
.boxIndex .content .menu:nth-last-child(1) .menu-style{
    margin-bottom: 1.5rem;
}
.boxIndex .content .menu .goods{
    position: relative;
    width: 7rem;
    /*height: 2.7rem;*/

}
.boxIndex .content .menu .goods img{
    width: 100%;
    /*height: 100%;*/
    border-top-left-radius: .2rem;
    border-top-right-radius: .2rem;
}
.boxIndex .content .menu .goods .status{
    position: absolute;
    bottom: .1rem;
    left: 0;
}
.boxIndex .content .menu .goods span{
    display: inline-block;
    padding: 0 .1rem;
    height: .42rem;
    line-height: .42rem;
    font-size: .24rem;
    border-radius:.22rem .21rem .21rem .05rem;
    margin-right: .1rem;
    color: #fff;
}
/*.boxIndex .content .menu .goods span.weizhi{
    background: #4C4C4C;
    opacity: .8;
}*/
.boxIndex .content .menu .goods span.weizhi img {
    width: .2rem;
    vertical-align: middle;
}
.boxIndex .content .menu .goods span.buyin{
    background: #F8B300;
}
.boxIndex .content .menu .goods span.timeinterval{
    background: #FF6110;
}
.boxIndex .content .menu .goods span.beingout{
    background: #FF6110;
}
.boxIndex .content .menu .title{
    padding: .1rem .05rem;
    color: #191919;
    font-weight: bold;
    position: relative;
    font-size: .28rem;
    box-sizing: border-box;

    width: 100%;
    overflow: hidden;/*超出部分隐藏*/
    white-space: nowrap;/*不换行*/
    text-overflow:ellipsis;/*超出部分文字以...显示*/
    text-indent: .1rem;
}
.boxIndex .content .menu .menu-style .address-detail{
    display: flex;
    justify-content: space-between;
}
.boxIndex .content .menu  .location-msg{
    float: left;
    font-size: .22rem;
    padding-left: .15rem;
    display: inline-block;
    /*width: 1.45rem;*/
    width: 100%;
    color: #717171;
    overflow: hidden;/*超出部分隐藏*/
    white-space: nowrap;/*不换行*/
    text-overflow:ellipsis;/*超出部分文字以...显示*/

}
.boxIndex .content .menu  .distance {
    /*margin-left: .15rem;*/
    font-weight: normal;
    font-size: .26rem;
    color: #399EF3;    width: 1.4rem;
    display: inline-block;
    overflow: hidden;/*超出部分隐藏*/
    white-space: nowrap;/*不换行*/
    text-align: right;    margin-right: .15rem;
}
.boxIndex .content .menu .distance img{
    width: .2rem;
}
.boxIndex .content .menu .article{
    padding: 0 .3rem;
    font-size: .24rem;
    color: #9A9A9A;
    height: .7rem;
    line-height: .35rem;

    /*超出两行*/
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.boxIndex .content .menu .other{
    padding: 0 .15rem;
    height: .6rem;
    line-height: .6rem;
    position: relative;
}
.boxIndex .content .menu .other span{
    display: inline-block;
    font-size: .26rem;
    color: #9A9A9A;
}
.boxIndex .content .menu .other span:nth-child(2){
    /*color: #FF5A00;    position: absolute;*/
    right: .25rem;
    margin-left: 0.1rem;
}
.boxIndex .content .menu .other span:nth-child(3){
    margin-left: .5rem;
    color: #FF5A00;
}
.boxIndex .content .menu .other span .xiaoliang{
    color: #484848;
}
.boxIndex .content .menu .other span .menshijia{
    text-decoration: line-through;
}
.boxIndex .content .menu .other span .price{
    color: #FF5A00;
    font-size: .36rem;;
    font-weight: bold;

}