首页 > 代码库 > thinkcmf上下翻页

thinkcmf上下翻页

技术分享
<if condition="!empty($prev)">
        <a href="http://www.mamicode.com/{:leuu(‘article/index‘,array(‘id‘=>$prev[‘object_id‘],‘cid‘=>$prev[‘term_id‘]))}" class="btn btn-primary pull-left">上一篇</a>
        </if>
        <if condition="!empty($next)">
        <a href="http://www.mamicode.com/{:leuu(‘article/index‘,array(‘id‘=>$next[‘object_id‘],‘cid‘=>$next[‘term_id‘]))}" class="btn btn-warning pull-right">下一篇</a>
        </if>
View Code

 

thinkcmf上下翻页