为什么这里support-item和icon是同一级
来源:20-4 seller组件开发-公告与活动开发(2)

慕雪0323865
2018-03-20
<li class="support-item border-1px" v-for="(item,index) in seller.supports"> <span class="icon" :class="classMap[seller.supports[index].type]"></span> <span class="text">{{seller.supports[index].description}}</span> </li>
icon不是在support-item里面 为什么写的是平级
写回答
1回答
-
ustbhuangyi
2018-03-21
这个不就在里面么,作用在 span 元素上
032018-03-21
相似问题