栏目加时间字段前台调用显示是数字
栏目列表调用
{$fid=$key|get_sort='shijian'} 这样调用为一串数字
{volist name=":getArray(fun('Sort@son',intval($fid))?:fun('Sort@brother',$fid))" id="name"}
<div class="u-list-item" data-pageid="">
<a href="{:urls('content/index',"fid=$key")}">
<div class="item-box">
<div class="thumbnail">
<span class="pic placeholderimg scaleimg">
<img src="/public/{$fid=$key|get_sort='lbtu'}" width="240" height="180" alt="" style="display: inline-block;"> </span> </div>
<div class="info">
<h3 class="subtitle">{$name}</h3>
<p class="intro">{$fid=$key|get_sort='jianjie'}</p>
<div class="more">
<div class="more-l">
<span>{$fid=$key|get_sort='shijian'}</span>
</div>
</div>
</div>
</div>
</a>
</div>
{/volist}
解决方法{:date("Y-m-d H:i:s",get_sort($fid=$key,'shijian'))}