|
|
|
@ -6,7 +6,7 @@ import '../style.css'
|
|
|
|
|
import axios from "axios";
|
|
|
|
|
import GraduateTopicReply from './GraduateTopicReply'
|
|
|
|
|
|
|
|
|
|
import { ConditionToolTip,MarkdownToHtml } from 'educoder'
|
|
|
|
|
import { ConditionToolTip , MarkdownToHtml , AttachmentList } from 'educoder'
|
|
|
|
|
|
|
|
|
|
const $=window.$;
|
|
|
|
|
const type={1: "设计",2: "论文", 3: "创作"}
|
|
|
|
@ -60,9 +60,10 @@ class GraduateTopicDetailTable extends Component{
|
|
|
|
|
{
|
|
|
|
|
topicInfo && topicInfo.attachment_list.length>0 &&
|
|
|
|
|
<p className="mt30">
|
|
|
|
|
{
|
|
|
|
|
{/* {
|
|
|
|
|
topicInfo.attachment_list.map((item,key)=>{
|
|
|
|
|
return(
|
|
|
|
|
|
|
|
|
|
<li className="clearfix mb8" key={key}>
|
|
|
|
|
<i className="iconfont icon-fujian color-green font-16 mr8 fl"></i>
|
|
|
|
|
<ConditionToolTip title={item.title} condition={item.title && item.title.length > 30 }>
|
|
|
|
@ -72,7 +73,8 @@ class GraduateTopicDetailTable extends Component{
|
|
|
|
|
</li>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
} */}
|
|
|
|
|
<AttachmentList {...this.props} {...this.state} attachments = {topicInfo.attachment_list}></AttachmentList>
|
|
|
|
|
</p>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|