在tr中加入此样式
bgcolor="#FFFFFF" style="cursor:pointer; "οnmοuseοver="this.style.backgroundColor='#FFEADD';this.style.color='#212121'"
οnmοuseοut="this.style.backgroundColor='#fff';this.style.color='#000'"
οnmοuseοut="this.style.backgroundColor='#fff';this.style.color='#000'"
转载于:https://my.oschina.net/lijingjun860/blog/88241