主题 : 上传的文件在前端获取问题 |
级别: 解元
![]() |
1# 发表于:2021-06-22 16:50:02 IP:117.21.*.*
|
||||
---|---|---|---|---|---|
级别: 总版主
![]() |
6# 发表于:2021-06-22 17:37:51 IP:59.210.*.*
自定义字段获取肯定对了,你要取什么字段,截图看下你的字段名称,还有后台上传的内容 |
||
---|---|---|---|
级别: 总版主
![]() |
8# 发表于:2021-06-22 18:21:33 IP:59.210.*.*
[@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.fileUpload_JeDD1p.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] 附件用这个标签 附件标签名称改 这个 attachments |
||
---|---|---|---|
1
共1页