效果图:
调用步骤: 以默认文章父栏目页模板(二列式左右循环).html为例
使用方法:上传“栏目循环列表_数据源2”标签后,调用” 栏目循环列表_数据源2”标签,或者直接复制下面语句:
<!-- 栏目循环列表开始 --> {PE.DataSource datasource="栏目循环列表_数据源2" id="categorylist" nodes="1,16,21,2,19,20,22,3,15,10,11,17,18,8,5" page="true" pagesize="4" urlpage="true" xslt="true" /} {PE.Repeat id="categorylist" loop="4"} <div class="childclass_main_box"> <div class="childclass_title"> <div class="more"> {PE.Field id="categorylist" fieldname="MoreLink" /} </div> {PE.Field id="categorylist" fieldname="NodeLink" /} </div> <div class="childclass_content"> <ul> {PE.Label id="通用信息列表" bindStyle="普通式" titleLength="24" outputQty="7" nodes="{PE.field fieldname="NodeID" /}" models="1" displayPropertyPrefix="2" /} </ul> <div class="clearbox"> </div> </div> <div class="childclass_bot"></div> </div> {/PE.Repeat} <!-- 栏目循环列表结束 --> <div class="clearbox"> </div> </div> <div class="class_page"> {PE.Page id="url_动易后台风格" datasource="categorylist" unitname="个栏目" /}</div> <div class="c_spacing"> </div>
|