|
|
|
@ -21,7 +21,9 @@ class GroupPackage extends Component {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DownloadOpenPdf=(type,url)=>{
|
|
|
|
|
type===true?window.open(url):window.location.href=url;
|
|
|
|
|
}
|
|
|
|
|
componentDidMount() {
|
|
|
|
|
console.log("Groupjobquesanswer");
|
|
|
|
|
console.log("componentDidMount");
|
|
|
|
@ -54,9 +56,9 @@ class GroupPackage extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
|
|
|
|
|
let{attachments}=this.props;
|
|
|
|
|
return (
|
|
|
|
|
<div className="color-grey df yslquesmat26" key={0} style={{ lineHeight: '17px'}}>
|
|
|
|
|
<div className="color-grey df yslquesmat26" key={attachments&&attachments.id} style={{ lineHeight: '17px'}}>
|
|
|
|
|
<a className="color-grey ">
|
|
|
|
|
<i className="font-14 color-green iconfont icon-fujian mr8" aria-hidden="true"></i>
|
|
|
|
|
</a>
|
|
|
|
@ -73,11 +75,11 @@ class GroupPackage extends Component {
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<a href={"/"} title={''}
|
|
|
|
|
<a onClick={()=>this.DownloadOpenPdf(attachments.is_pdf,attachments.url)} title={attachments&&attachments.title}
|
|
|
|
|
className="mr12 yslahover overflowHidden1" length="58" style={{maxWidth:'480px',fontSize:"16px",}}>
|
|
|
|
|
<span>清除浏览器缓存或换个浏览器操作指南更新版本.zip</span>
|
|
|
|
|
<span>{attachments&&attachments.description}</span>
|
|
|
|
|
</a>
|
|
|
|
|
<span className="color656565 color-grey-6 font-12 mr8">{2}</span>
|
|
|
|
|
<span className="color656565 color-grey-6 font-12 mr8">{attachments&&attachments.filesize}</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|