{eyou:list pagesize="8" titlelen="30" infolen='100'}
{eyou:notempty name='$field.is_litpic' }
<!-- 有缩略图 -->
<div class="msg topic">
<div class="titleP"> <span class="project_title fl">{$field.typename}</span> <a class="fl txt_color" target="_blank" title="{$field.title}" href="{$field.arcurl}">{$field.title}</a> </div>
<div class="content clearfix"> <a href="javascript:void(0)" class="img fl"> <img src="{$field.litpic}" alt=""/> </a>
<p class="txt fr"> {$field.seo_description}...</p>
<p class="link fr"> <a target="_blank" class="link" href="{$field.arcurl}"> {$field.author} </a> <i class="kuaizhao_line">-</i> <span class="colo-666" style="font-size:12px;">{$field.add_time|MyDate='y-m-d',###}</span> </p>
</div>
</div>
<!-- 有缩略图 end -->
{eyou:else /}
<!-- 无缩略图 -->
<div class="msg discuss">
<div class="titleP"> <span class="project_title fl">{$field.typename}</span> <a class="fl txt_color" target="_blank" title="{$field.title}" href="{$field.arcurl}">{$field.title} </a> </div>
<div class="content">
<p class="txt"> {$field.seo_description}...</p>
<a target="_blank" class="link" href="{$field.arcurl}"> {$field.author} </a> <i class="kuaizhao_line">-</i> <span class="colo-666" style="font-size:12px;">{$field.add_time|MyDate='y-m-d',###}</span> </div>
</div>
<!-- 无缩略图 end -->
{/eyou:notempty}
{/eyou:list}
栏目列表有缩略图显示带缩略图格式,无缩略图显示文字格式
实例