|
|
|
@ -255,7 +255,7 @@ class DetailTop extends Component{
|
|
|
|
|
</Menu>
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
console.log(this.props.courses)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
|
|
|
|
@ -277,7 +277,7 @@ class DetailTop extends Component{
|
|
|
|
|
<div className={this.props.courses===undefined||this.props.courses.length===0?"subhead_content":"subhead_content pt100"}>
|
|
|
|
|
<div className="font-28 color-white clearfix">
|
|
|
|
|
<Tooltip placement="bottom" title={detailInfoList.name.length>27?detailInfoList.name:""}>
|
|
|
|
|
<span className="fl lineh-40 bannername">
|
|
|
|
|
<span className="fl lineh-40 bannername780">
|
|
|
|
|
{detailInfoList.name}
|
|
|
|
|
</span>
|
|
|
|
|
</Tooltip>
|
|
|
|
@ -395,12 +395,25 @@ class DetailTop extends Component{
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{this.props.courses===undefined?"":detailInfoList.is_creator===false?this.state.courseslist.map((item,key)=>{
|
|
|
|
|
return(
|
|
|
|
|
<Tooltip placement="bottom" title={"编辑课堂"} key={key}>
|
|
|
|
|
<a href={`/courses/${item.course_id}/newgolds/settings`} target={"_blank"}>
|
|
|
|
|
<i className="iconfont icon-bianji1 newbianji1"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
)}):""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Dropdown
|
|
|
|
|
overlay={menu}
|
|
|
|
|
onVisibleChange={this.onVisibleChanges}
|
|
|
|
|
>
|
|
|
|
|
<a className={"alist"}>
|
|
|
|
|
<i className="iconfont icon-bianji1 newbianji1"></i>第<span className={"color-orange"}>{this.state.MenuItemskey}</span>次开课 <Icon className="aIcons" type={!this.state.onVisibleChangestype?"down":"up"} />
|
|
|
|
|
第<span className={"color-orange"}>{this.state.MenuItemskey}</span>次开课 <Icon className="aIcons" type={!this.state.onVisibleChangestype?"down":"up"} />
|
|
|
|
|
</a>
|
|
|
|
|
</Dropdown>
|
|
|
|
|
</li>
|
|
|
|
|