.banner-slide {
    height: 8.8rem;
}

.tab-slide {
    display: flex;
    align-items: center;
    height: 2.6rem;
    margin-bottom: .4rem;
    background-color: #fff;
}

.tab-slide .tab {
    position: relative;
    display: flex;
    width: 20%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.tab-slide .tab span:last-child {
    color: #999;
}

.tab-slide .tab.active {
    background-color: #B4272D;
}
.tab-slide .tab.active em{
    display: block!important;
}
.tab-slide .tab.active span {
    color: #fff;
}

em {
    display: none;
    border-width: .4rem;
    position: absolute;
    bottom: -.7rem;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid dashed dashed;
    border-color: #B4272D transparent transparent;
    font-size: 0;
    line-height: 0;
}
/*商品列表*/
.tg-pro-bd{
    margin-bottom: .4rem;
}
.tg-pro-list{
    display: flex;
    padding: .6rem;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}
.tg-pro-list .tg-pro-img{
    background-color: #eee;
}
.tg-pro-list .tg-pro-img img{
    width: 5rem;
    height: 5rem;
}
.tg-pro-list .tg-pro-info{
    flex: 1;
    width: 0;
    margin-left: .6rem;
    position: relative;
    flex-grow: 1;
}
.tg-pro-list .tg-pro-info .tg-pro-name,
.tg-pro-list .tg-pro-info .tg-pro-desc{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.tg-pro-list .tg-pro-info .tg-pro-desc{
    color: #999;
    font-size: .6rem;
}
.tg-pro-list .tg-pro-info .tg-pro-price{
    margin-top: .4rem;
    color: #999;
}
.tg-pro-price .font-red{
    font-size: .8rem;
}
.tg-pro-price .old-price{
    margin-left: .6rem;
    text-decoration: line-through;
}
.tg-pro-list .tg-pro-info .tg-pro-btm{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tg-pro-btm .per-box{
    position: relative;
    display: flex;
    width: 6rem;
    height: 1rem;
    overflow: hidden;
    font-size: .6rem;
    border-radius: .6rem;
    border: 1px solid #B4272D;
}
.tg-pro-btm .per-box .per-en{
    background-color: #ffdbdd;
    transition: width .4s;
}
.tg-pro-btm .per-box .per-num{
    position: absolute;
    color: #B4272D;
    left: 50%;
    top:.1rem;
    transform: translateX(-50%);
}
.tg-pro-btm .buy-btn{
    color: #fff;
    padding: .25rem .8rem;
    border-radius: .2rem;
    background-color: #999;
}
.tg-pro-btm .buy-btn.active{
    background-color: #B4272D!important;
}
