<div v-else class="nothing category-wrap">
<em></em>
<span>什么也没有~</span>
</div>
//css
.nothing {
width: 100%;
height: 238px;
padding-top: 31px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
overflow: hidden;
em {
width: 96px;
height: 125px;
margin-bottom: 19px;
background-image: url('~@/assets/icon/nothing.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
span {
width: auto;
height:20px;
font-size:14px;
font-weight:400;
color:rgba(162,160,168,1);
line-height:20px;
}
}