首页 > IT职业 > IT生活 > dedeCms 中时间如何调用
调用频道下的列表时间描述
{dede:channelartlist typeid='8,8'}
{dede:arclist limit='0,1' titlelen='50' orderby='pubdate'}
[field:pubdate function="MyDate('Y-m-d',@me)"/]时间
<a href="hbts.zrghs.com">[field:title/]</a>标题
<p>[field:description function="cn_substr(@me,200)"/]...</p>描述
{/dede:arclist}
{dede:arclist limit='1,3' titlelen='50' orderby='pubdate'}
<a href="[field:arcurl/]">[field:title/]</a>
<span>[field:pubdate function="MyDate('Y',@me)"/]</span>[field:pubdate function="MyDate('m-d',@me)"/]</div>
<p>[field:description function="cn_substr(@me,100)"/]...</p>
{/dede:arclist}
{/dede:channelartlist}
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69990906/viewspace-2744536/ ,如需转载,请注明出处,否则将追究法律责任。