1、v-for循环中style样式循环遍历
<div class="one-transverse" v-for="(item,index) in transverse" :key="index">
<p class="transverse-title" :style="{backgroundColor:item.backgroundColor}">{{item.title}}</p>
<p class="transverse-content">{{item.describe}}</p>
</div>
网友评论