tr{ background:#fff; } tr:nth-child(2n){ background:#E3EEFB; } tr{ background-color: expression((this.sectionRowIndex % 2 == 0) ? "#fff" : "#E3EEFB" ); } //就这么简单的几行代码。仅仅使用css就能搞定