<div class='specification-item'
:class="[!inner.isSetUnclickable ? 'specification-item-normal' : 'specification-item-unclickable',inner.isChecked ? 'specification-item-active' : '']
>
{{inner.specsValue}}
</div>
<div class='specification-item'
:class="[!inner.isSetUnclickable ? 'specification-item-normal' : 'specification-item-unclickable',inner.isChecked ? 'specification-item-active' : '']
>
{{inner.specsValue}}
</div>
本文标题:vue class 动态添加多个样式
本文链接:https://www.haomeiwen.com/subject/yfutbctx.html
网友评论