// 高亮效果
$("table").find("td").mouseover(function(){
// 配置行列颜色
var color = '#CCE8CF';
// 配置当前单元格颜色
var currentTdColor = '#97D79E';
var This = $(this);
// 将所有的单元格的颜色变为空
$("table").find("td").css('background-color', '');
$("table").find("tr").css('background-color', '');
// 当行前变色
This.closest("tr").css('background-color', color);
// 当前列变色
var index = This.index();
$.each($("table").find("tr"), function(k, v){
$(v).children().eq(index).css('background-color', color);
});
// 当前单元格变色
This.css('background-color', currentTdColor);
});