/*
 * @Author: Shenxf 
 * @Date: 2019-07-18 11:10:09 
 * @Last Modified by: Shenxf
 * @Last Modified time: 2019-07-19 23:57:26
 */

/* 列表的样式 */
/* 列表里每一行的容器 */
.tt-list>.tt-list-item {
    display: flex;
    position: relative;
    padding: .5rem 1rem;
    font-size: .8rem;
    background: #fff;
    color: #333;
    border-bottom: 1px solid #eee;
}

/* 列表项的图片容器 */
.tt-list .item-img-wrap {
    flex: 0 0 5rem;
    height: 5rem;
    margin-right: .5rem;
    border-radius: .2rem;
    overflow: hidden;
}

/* 列表项的图片 */
.tt-list .item-img-wrap>.item-img {
    width: 100%;
    height: 100%;
}

/* 列表项的文字区域 */
.tt-list .item-content-wrap {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 列表项的标题 */
.tt-list .item-content-wrap>.item-title {
    height: 2rem;
    line-height: 1rem;
    font-size: .8rem;
    font-weight: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 列表项的价格字段 */
.tt-list .item-content-wrap>.item-price {
    font-size: .8rem;
    font-weight: 600;
    color: #e0652f;
}

/* 列表项的描述字段 */
.tt-list .item-content-wrap>.item-desc {
    color: #999;
    font-size: .6rem;
}

/* 两列样式 */
/* 列表里每一行的容器 */
.tt-list-wrap {
    display: flex;
    flex-wrap: wrap;
}

.tt-list-wrap>.tt-list-item {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    padding: .5rem 1rem;
    font-size: .8rem;
    background: #fff;
    color: #333;
    width: 50%;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.tt-list-wrap>.tt-list-item:nth-child(2n) {
    border-right: none;
}

/* 列表项的图片容器 */
.tt-list-wrap .item-img-wrap {
    border-radius: .2rem;
    overflow: hidden;
}

/* 列表项的图片 */
.tt-list-wrap .item-img-wrap>.item-img {
    width: 100%;
}

/* 列表项的文字区域 */
.tt-list-wrap .item-content-wrap {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 列表项的标题 */
.tt-list-wrap .item-content-wrap>.item-title {
    height: 2rem;
    line-height: 1rem;
    font-size: .8rem;
    font-weight: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 列表项的价格字段 */
.tt-list-wrap .item-content-wrap>.item-price {
    font-size: .8rem;
    font-weight: 600;
    color: #e0652f;
}

/* 列表项的描述字段 */
.tt-list-wrap .item-content-wrap>.item-desc {
    color: #999;
    font-size: .6rem;
}