[#escape x as (x)!?html]
1] href="${paging(1)}"[/#if] class="page">首页 [#if page>1] 上一页 [/#if] [#assign start=page-4/][#if start<1][#assign start=1/][/#if] [#assign end=start+8/][#if end>pagedList.totalPages][#assign end=pagedList.totalPages/][/#if][#if end<1][#assign end=1/][/#if] [#if end-start<8][#assign start=end-8/][/#if][#if start<1][#assign start=1/][/#if] [#list start..end as p] ${p} [/#list] [#if page < pagedList.totalPages] 下一页 [/#if] 末页
[/#escape]