请问PbootCMS整理分页判断进阶各种条件判断和标签
{pboot:if('{page:rows}' > 0)} <div class="page"> <a href="{page:index}" {pboot:2if('{page:current}' == 1)}class="hide"{/pboot:2if}>首页</a> <a href="{page:pre}" {pboot:2if('{page:current}' == 1)}class="hide"{/pboot:2if}>上一页</a> {page:numbar} <a href="{page:next}" {pboot:2if('{page:current}' == '{page:count}')}class="hide"{/pboot:2if}>下一页</a> <a href="{page:last}" {pboot:2if('{page:current}' == '{page:count}')}class="hide"{/pboot:2if}>尾页</a> </div> {else} <div class="page">暂无内容</div> {/pboot:if}
更新时间:2025-04-10 23:54:10
转载请注明原文链接:https://www.muzicopy.com/suibi/3986.html