<div class="btn" :class=" scope.row.notificationStatus == '已通报' ? 'noticion_active' : '' " > {{ scope.row.notificationStatus }} </div>
css部分:
.noticion_active { border: 1px solid #3696DE; background-color: #DEEDF8 ; color: #000; }