<apex:variable value="{!firstIndex}" var="No" />
<apex:repeat value="{!ClassList}" var="item"
//业务处理
<apex:outputPanel rendered="{!ListSize>No+1}">
<br/>
</apex:outputPanel>
<apex:variable value="{!No+1}" var="No" />
</apex:repeat>
参考