页面循环分块显示

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<g:each in="${subjectInstance.articles}" var='article' status="i">
                <g:if test="${i%10==0&i!=0}">
                   </ul>
                </g:if>
                <g:if test="${i%10==0}">
                    <ul class=" font14 u2">
                </g:if>
                 <li >&middot;<g:link controller="article" action="display" id="${article.id}">${article.title}</g:link></li>
            </g:each>
            </ul>