81,092
社区成员
发帖
与我相关
我的任务
分享
<logic:iterate id="list" name="list" indexId="index">
<c:if test="${index%2 ==0}"
<tr bgcolor="red">
<td>
aaaaaaaaaa
</td>
</tr>
</c:if>
<c:if test="${index%2 !=0}"
<tr bgcolor=" green">
<td>
bbbbbbbbbb
</td>
</tr>
</c:if>
</logic:iterate>