|
|
|
@ -189,11 +189,17 @@ class MemoDetail extends Component {
|
|
|
|
|
let filesize = item.filesize
|
|
|
|
|
|
|
|
|
|
attachments.push(
|
|
|
|
|
<p className="clearfix" key={index} >
|
|
|
|
|
<a href={item.url} className="color-green clearfix notefileDownload" target="_blank">
|
|
|
|
|
<i className="iconfont icon-xiazai color-green ml5 fl"></i><span className="fl">{fileName}{filesize? ` ${filesize}` : ''}</span>
|
|
|
|
|
<div className="color-grey df" key={index}>
|
|
|
|
|
<a className="color-grey ">
|
|
|
|
|
<i className="font-14 color-green iconfont icon-fujian mr8" aria-hidden="true"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
<a href={item.url} title={fileName.length > 30 ? fileName : ''}
|
|
|
|
|
className="mr12 color9B9B overflowHidden1" length="58" style={{maxWidth: '480px'}}>
|
|
|
|
|
{fileName}
|
|
|
|
|
</a>
|
|
|
|
|
<span className="color656565 mt2 color-grey-6 font-12 mr8">{filesize}</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
return attachments;
|
|
|
|
|