点击界面上单元格的内容,该行加背景
JS点击变色.zip
看这个,里面写了好几钟方式。总有一个能满足你的需求
JS实现鼠标点击的行变色 https://help.fanruan.com/finereport/doc-view-1201.html