body{
    background:#f5f5f5;
}

.topBar{
    display: flex;
    align-items: center;
    padding: 0 15px;
    transition: all .2s ease;
    background-color: rgba(255, 255, 255, 0);
    flex-shrink: 0;
    height: 50px;
    box-sizing: border-box;
}
.topBar.flow{
    background-color: rgba(255, 255, 255,1);
    box-shadow: 0 0 1px #ccc;
}
.topBar .title_img{
    height: 24px;
    flex-shrink: 0;
    margin-right: 15px;
}
.topBar .title_img .img{
    height: 100%;
}
.topBar .search{
    width:100%;
    display: flex;
    align-items: center;
}
.topBar .search .input{
    width:100%;
}
.topBar .search .input .val{
    background-color: #fff;
    height: 36px;
    line-height: 36px;
    padding:0 10px 0 10px;
    font-size: 15px;
    border:1px solid #eee;
    border-radius: 34px 0 0 34px;
    font-size: 13px;
    width:100%;
    margin: 0px;
}
.topBar .search .btn{
    height: 36px;
    line-height: 36px;
    border-radius: 0 35px 35px 0;
    overflow: hidden;
    padding: 0 12px;
    background: #e84027;
    color: #fff;
    flex-shrink: 0;
    box-sizing: border-box;
    font-size: 15px;
}
.topBar .search .btn.reset{
    border-radius: 30px;
    margin-left: 5px;
    background-color: #999;
    border-color: #999;
}
.topBar .search .btn:active{
    opacity: 0.7;
}
.tabbar_height{
    height: 55px;
    width:100%;
    flex-shrink: 0;
}
.topBar .classify{
    flex-shrink: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    height: 38px;
    padding:0 10px;
    border-radius: 36px;
    box-sizing: border-box;
    border:1px solid #eee;
    margin-right: 2px;
    margin-left:-8px;
    font-size:14px;
    color:#e84027;
}
.topBar .classify .text{
    max-width: 100px;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.topBar .classify .iconfont{
    font-size:13px;
    margin-left:2px;
}
.topBar .classify .text:nth-child(2){
    display: none;
}


/* 产品推荐 */
.goods{
    padding:5px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden; 
}
.goods .item{
    width:50%;
}
.goods .item:active{
    background-color: #f5f5f5;
}
/* 纱线卡片 */
.yarn{
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
    margin:5px;
    background-color: #fff;
}
.yarn .img{
    margin-bottom: 5px;
}
.yarn .img img{
    display: block;
    width:100%;
}
.yarn .title{
    text-align: center;
    font-weight: 700;
}
.yarn .zs{
    text-align: center;
    font-size: 12px;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:4px;
}
.yarn .cf{
    border-top:1px dashed #e5e5e5;
    text-align: center;
    color: #666;
    font-size: 12px;
     word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:4px;
    padding-top:4px;
    box-sizing: border-box;
}

.loading{
    padding: 5px 15px 15px 15px;
    text-align: center;
}
.is_end{
    text-align: center;
    font-size:14px;
    padding: 5px 15px 15px 15px;
    color:#999;
}