将禁用的按钮灰掉的成果 .disabled { pointer-events: none; cursor: default; opacity: 0.6; } 选中的按钮 .disabled.is-active { pointer-events: auto; cursor: pointer; opacity: 1; } css 禁止点击事件