主题 : 首页获取资讯列表 |
级别: 举人
|
1# 发表于:2018-12-29 15:54:47 IP:113.142.*.*
|
||||
---|---|---|---|---|---|
级别: 版主
|
2# 发表于:2018-12-29 15:55:47 IP:117.93.*.*
回复第1楼 <span class="productDate fr">[${a.date?string(dateFormat)}]</span>
您这个调用有语法错误。 |
||
---|---|---|---|
级别: 举人
|
3# 发表于:2018-12-29 16:07:12 IP:113.142.*.*
请问错在哪里?
|
||
---|---|---|---|
级别: 举人
|
5# 发表于:2018-12-29 16:13:09 IP:113.142.*.*
是的
|
||
---|---|---|---|
级别: 论坛管理员
|
7# 发表于:2018-12-29 16:18:31 IP:117.93.*.*
<div class="content-inf">发布时间:${content.releaseDate} 作者:${content.author!'本站编辑'} 来源:${content.origin!'本站原创'} 浏览次数:<span id="views"></span>
您看下这段 我们一般是这样获取发布内容时间的 |
||
---|---|---|---|
级别: 举人
|
8# 发表于:2018-12-29 16:52:49 IP:113.142.*.*
不好使啊
|
||
---|---|---|---|
级别: 举人
|
10# 发表于:2018-12-29 16:55:35 IP:113.142.*.*
[@cms_content_page count='4' channelId='102' dateFormat='yyyy-MM-dd']
[#list tag_pagination.list as a] <li class="ov"> <a href="${a.url}"> <img class="index_Information_Icon fl" src="/${res}/image/index_Information_Icon.jpg" alt=""> <span class="productName productNewsName fl">${a.title}</span> <span class="productDate fr">[${content.releaseDate}]</span> </a> </li> [/#list] [/@cms_content_page] |
||
---|---|---|---|