讯睿cms标签调用之新闻列表调用:
{module module=news num=20 cache=3600}
<div class="item">
<a href="{$t.url}">
<img src="{dr_thumb($t['thumb'], 100, 100)}">
</a>
<div class="item-info">
<h4><a href="{$t.url}">{$t['title']}</a></h4>
<div class="b-txt">
<span class="label">{dr_cat_value('news', $t['catid'], 'name')}</span>
<span class="icon time">
<i class="layui-icon layui-icon-log"></i>
{dr_date($t['_updatetime'], 'Y-m-d')}
</span>
</div>
</div>
</div>
{/module}
{module module=news order=hits num=10}
<li class="list">
<a href="{$t.url}">{$t['title']}</a> {if $key<2}<i class="heat-icon"></i>{/if}
</li>
{/module}