主题 : jeecms x1.8.0 附件下载命令是什么? |
级别: 总版主
![]() |
2# 发表于:2021-08-25 14:44:39 IP:59.211.*.*
内容详情页里面附件列表获取:
[@cms_content id=content.id] <ol style="list-style-type:decimal;font-size:12px;line-height:200%;"> <li style="border-bottom:1px dashed #dedede;margin-bottom:10px;line-height:30px;">附件列表:</li> [#if tag_bean.attr.attachments??&&tag_bean.attr.attachments.contentAttrRes??&&(tag_bean.attr.attachments.contentAttrRes)?size>0] [#list tag_bean.attr.attachments.contentAttrRes as res] <li style="list-style-type:decimal;"><a href="${res.resUrl!}">【${res.resAlias!}】</a> <span style="display:inline-block;float:right;margin-left:50px;">大小:${res.fileSize!}</span></li> [/#list] </ol>[/#if] [/@cms_content] |
||
---|---|---|---|
级别: 总版主
![]() |
4# 发表于:2021-08-25 15:06:58 IP:59.211.*.*
内容详情页里获取,这个标签测试过没有问题 |
||
---|---|---|---|
1
共1页