vue三元绑定html的class属性 1.html中的绑定样式 2.不一样的两个class属性 3.data中设置值得真假 4. 弹框中单选题背景颜色值tanbgcolor:true,时。样式设置如下图所示: