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