主题 : 内容里面图片集的调用标签使用哪个? |
级别: 版主
|
4# 发表于:2015-06-16 11:21:32 IP:220.9.*.*
图片集就是你上传了几张就显示几张,取的标签就这个一个,这是一个集合,会循环遍历
|
||
---|---|---|---|
级别: 举人
|
5# 发表于:2015-06-16 11:26:24 IP:1.252.*.*
回复第4楼[@cms_content_list count='20' titLen='10' channelOption='1' channelId=c.id]
[#list tag_list as a] 我要在这个list 里面拿到图片集的遍历 |
||
---|---|---|---|
级别: 版主
|
8# 发表于:2015-06-16 11:29:19 IP:220.9.*.*
[#list content.pictures as p]
<li> <p align=center> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center"><img src="${p.imgPath!}"/></td> </tr> </table> </p> <p class="caption">${p.description!}</p> </li> [/#list] 取图片集的内容,你可以加到这个标签里试下看 |
||
---|---|---|---|
级别: 举人
|
9# 发表于:2015-06-16 11:33:28 IP:1.252.*.*
回复第8楼 [#list a.pictures as p]
<img src="${p.imgPath!}" /> [/#list] 这样写就可以了! |
||
---|---|---|---|
1
共1页