根据状态显示不同的css

位置:首页 / 技术中心 / 杂项

杂项 Admin 2026-06-10 10:10:49 181
          <span  :class="{ btn_span: true, disabled: scope.row.verifyStatus !== 0 }" @click="scope.row.verifyStatus !== 1 && handleClick(scope.row, '处理')">处理</span>
.disabled {
  cursor: not-allowed !important;
  color: #c0c4cc !important;
}
.btn_span {
  margin-right: 15px;
  color: #5583ff;
  cursor: pointer;

  &:last-child {
    margin-right: 0;
  }
}

https://www.doubao.com/thread/x1a389c2f89788177b2a3c1ef5bfec807

18455111359 扫描二维码