DOM层代码:
<div class="cardWrap">
<div v-for="(item, index) in cardList" :key="index" class="cardItem">
<i></i>
<div class="label">
<div class="name">{
{ item.name }}</div>
<div class="num">
<em>{
{ item.num }}</em>
<span>项