template.html.pagebar.ftl Maven / Gradle / Ivy
[#if tag.parameters['fixPageSize']?? && (tag.parameters['fixPageSize']=='1' || tag.parameters['fixPageSize']=='true')][#assign fixPageSize=true][#else][#assign fixPageSize=false][/#if]
[#if tag.page.pageIndex==1]${b.text("page.first")} [#else]
${b.text("page.first")}
${b.text("page.previous")}
[/#if]
[#if !(tag.page.hasNext())]共${tag.page.totalPages}页[#else]
${b.text("page.next")}
共${tag.page.totalPages}页
[/#if]
[#if !fixPageSize!false]
每页[#assign pageRank=[10,15,20,25,30,50,70,90,100,150,300,1000]]
|${tag.page?size}
[#else]
每页${tag.page.pageSize}
[/#if]
总${tag.page.total}条