vue动态样式

 <div
              class="custom-indicator-single"
              :class="{ 'custom-indicator-single-active': active == 1 }"
 ></div>

 

posted @ 2022-07-05 14:13  Magi黄元  阅读(55)  评论(0编辑  收藏  举报