$("table tr:even").css("background","#00EEE0");//偶数行,从0开始 $("table tr:odd").css("background","#E0EEE0");//单数