主题 : 分页 |
级别: 解元
![]() |
1# 发表于:2016-07-13 11:12:02 IP:115.201.*.*
|
||||
---|---|---|---|---|---|
级别: 版主
![]() |
2# 发表于:2016-07-13 11:14:55 IP:182.237.*.*
[#assign p=tag_pagination/]
<div[#if pageClass??] class="${pageClass}"[/#if][#if pageStyle??] style="${pageStyle}"[/#if]> 共${p.totalCount}条记录 ${p.pageNo}/${p.totalPage}页 [#if p.firstPage] <a disabled="disabled">首页</a> <a disabled="disabled">上一页</a>[#t/] [#else] <a href="#" onclick="location.href=encodeURI('${hrefFormer}${hrefLatter}');">首页</a> <a href="#" onclick="location.href=encodeURI('${hrefFormer}[#if p.prePage gt 1]_${p.prePage}[/#if]${hrefLatter}');">上一页</a>[#t/] [/#if] [#if p.lastPage] <a disabled="disabled">下一页</a> <a disabled="disabled">尾页</a> [#else] <a href="#" onclick="location.href=encodeURI('${hrefFormer}_${p.nextPage}${hrefLatter}');">下一页</a> <a href="#" onclick="location.href=encodeURI('${hrefFormer}_${p.totalPage}${hrefLatter}');">尾页</a> [/#if] 第<select onChange="if(this.value==1){location.href=encodeURI('${hrefFormer}${hrefLatter}')}else{location.href=encodeURI('${hrefFormer}_'+this.value+'${hrefLatter}')}this.disabled='disabled'"> [#list 1..p.totalPage as i] <option value="${i}" [#if p.pageNo==i]selected="selected"[/#if]>${i}</option> [/#list] |
||
---|---|---|---|
级别: 解元
![]() |
3# 发表于:2016-07-13 11:26:26 IP:115.201.*.*
![]() 有类似这种的吗? |
||
---|---|---|---|
1
共1页