

/* 列表 */
.com-list{
    width:100%;
    display: grid;
    /* justify-content: space-between;
    flex-wrap: wrap; */
    grid-template-columns:repeat( 3,1fr);
    gap: 0.2rem;
}
.com-list .list-item{
    margin: auto;
    width: 100%;
}
.com-list .item{
    background: #fff;
    overflow: hidden;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.com-list .item-a{
    display: block;
}
/* 图片 */
.com-list .item-t{
    width:100%;
    /* max-width: 380px; */
    margin: auto;
    height: 2.4rem;
    background: #efefef;
    overflow: hidden;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.2);
}
.com-list .item:hover .item-t>img{
    transform: scale(1.1);
}
.com-list .item-t>img{
    transition: all .5s;
    height: 100%;
    width: 100%;
}
/* 文字 */
.com-list .item-b{
    padding: .10rem .20rem .20rem .20rem;
    /* height: 2rem; */
}
.com-list .item-b .tit{
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    font-weight: bold;
    -webkit-line-clamp: 1;
    color:var(--el-text-color-primary);
}
.com-list .item-b .content{
    height: .80rem;
    min-height: 80px;
    line-height: 28px;
    overflow: hidden;
    font-size: 16px;
    -webkit-line-clamp: 3;
    text-align: justify;
}
/* 详情按钮 */
.view {
    width: 100%;
    margin:.20rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.view-btn{
    background: var(--el-bg-color-primary);
    border-radius: .16rem;
    font-size: 14px;
    width: 1.10rem;
    height: .30rem;
    line-height: .30rem;
    text-align: center;
    color: #fff;
}

@media screen and (max-width: 1080px) {
    .com-list {
        grid-template-columns:repeat( 2,1fr);

    }
}

@media screen and (max-width: 768px) {
    .com-list{
        grid-template-columns:repeat( 1,1fr);
    }
    .com-list .item-t {
        height: 214px;
    }
    .com-list .list-item {
        /* max-width: 380px; */
    }
}
@media screen and (max-width: 468px) {
    .com-list{
        grid-template-columns:repeat( 1,1fr);
    }
    .com-list .list-item {
        /* transform: scaleY(.8); */
    }
}