jquery针对单双行显示不同背景颜色 //根据单双行显示不同背景色 $('#table tr:even').css('backgroundColor','#E8E6E1'); 文中odd:单行,even:双行