html的table :
<table class="table1">
........
</table>
<style>
.table1 {
tr:nth-child(even) {
background: #f1f1f1;
}
}
</style>
ivew的 Table :
标签里直接加 stripe属性
html的table :
<table class="table1">
........
</table>
<style>
.table1 {
tr:nth-child(even) {
background: #f1f1f1;
}
}
</style>
ivew的 Table :
标签里直接加 stripe属性