主题 : 'pageNo' not found in DataModel. |
级别: 状元
|
2# 发表于:2014-06-04 09:45:55 IP:182.216.*.*
[@cms_pagination/]
参数:sysPage 作用:对页面显示出来的记录进行分页 是否为内容分页。1:内容分页;0:栏目分页。默认栏目分页。 这个分页标签使用一般是跟其他标签一起使用的,一般和一些列表标签一起使用。 示例 [@cms_pagination sysPage='1'/] 效果: 和别的标签一起使用示例: <div class="pagebar"> [@cms_comment_page contentId=contentId count='6' orderBy='1'] <dl class="rmpl"> [#if tag_pagination.list?size = 0] <dt><span>暂无相关评论!</span></dt> [#else] [#list tag_pagination.list as c] <dt><span>${(c.commentUser.username)!"匿名网友"}</span> 于 ${c.createTime} 评论道:</dt> <dd>${c.textHtml!}</dd> <dd class="line"></dd> [/#list] <div class="pagebar">[@cms_pagination sysPage='1'/]</div> [/#if] </dl> [/@cms_comment_page] </div> |
||
---|---|---|---|
1
共1页