even odd偶数行和奇数行
分开设置
.tabledata tbody tr:nth-child(even) {
background-color: #073767;
}
.tabledata tbody tr:nth-child(odd) {
background-color: #062b57;
}
表头颜色
.tabledata thead th {
background-color: #0B4876;
}
.tabledata自己表格类名