摘要: 1、使用class样式 使用数组:<p :class="['italic']">随便输入一些文字内容</p> 数组中使用三元表达式:<p :class="['italic',flag? 'active':'']">内容</p 数组中嵌套对象:<p :class="['italic',{'active 阅读全文
posted @ 2020-03-01 18:15 小Q的博客 阅读(328) 评论(0) 推荐(0) 编辑