主题 : 内容模型 |
级别: 白丁
![]() |
54# 发表于:2017-07-31 11:29:15 IP:14.30.*.*
[@cms_content_page channelId='119' count='3' titLen='15' append='...' orderBy='2' dateFormat='MM-dd' channelOption='1' ]
[#list tag_pagination.list as a] <ul> <li> <a href="${a.url}" target="_blank"> [#if a.attr.docType??] [#if a.attr.docType="doc"||a.attr.docType="wps"]<img src="/${res}/images/dox.png">[/#if] [#if a.attr.docType="pdf"]<img src="/${res}/images/pdf.png">[/#if] [#if a.attr.docType="ppt"]<img src="/${res}/images/ppt.png">[/#if] [/#if] [@text_cut s=a.title len=titLen append='...'/] </a> [#if a.attachments?size gt 0] [#list a.attachments as attach] <a href="${attach.path}" target="_blank" id="attach${attach_index}"><img src="/${res}/images/down.png"><span>下载</span></a> [/#list] [/#if] <span>下载 ${a.contentCount.downloads!} 次 ${a.releaseDate?string("yyyy-MM-dd")}</span> </li> </ul> [/#list] [#include "../include/page.html"/] [/@cms_content_page] |
||
---|---|---|---|