📅  最后修改于: 2022-03-11 14:56:10.538000             🧑  作者: Mango
@HostListener('mouseover')
onMouseOver() {
this.backgroundColor = '#fff';
}
@HostListener('mouseout')
onMouseOut() {
this.backgroundColor = '#000';
}