|
|
|
@ -404,7 +404,7 @@ class CoursesBanner extends Component {
|
|
|
|
|
exitclass=()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsType: true,
|
|
|
|
|
modalsTopval: "退出后您将不再是本课堂的成员,作品将全部被删除,",
|
|
|
|
|
modalsTopval: "退出后您将不再是本课题的成员,作品将全部被删除,",
|
|
|
|
|
modalsBottomval:"确定要退出该课堂吗?",
|
|
|
|
|
metype:6
|
|
|
|
|
})
|
|
|
|
@ -606,28 +606,28 @@ class CoursesBanner extends Component {
|
|
|
|
|
<div className="clearfix ">
|
|
|
|
|
<div className="fl fl mr40 mb20" >
|
|
|
|
|
<div>
|
|
|
|
|
<a href={"/users/" + coursedata.teacher_login} className="fl">
|
|
|
|
|
<img alt="头像" className="radius fl mt3 bannerimgname"
|
|
|
|
|
src={getImageUrl(`images/` + coursedata.teacher_img)}/>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div className="fl mt13">
|
|
|
|
|
<p className="color-white">
|
|
|
|
|
<a href={"/users/" + coursedata.teacher_login}
|
|
|
|
|
className="color-white bannnerusername">{coursedata.teacher_name}</a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="fl mt13">
|
|
|
|
|
<p className="color-white bannnerusernames">{coursedata.teacher_school}</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<a href={"/users/" + coursedata.teacher_login} className="fl">
|
|
|
|
|
<img alt="头像" className="radius fl mt3 bannerimgname"
|
|
|
|
|
src={getImageUrl(`images/` + coursedata.teacher_img)}/>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div className="fl mt13">
|
|
|
|
|
<p className="color-white">
|
|
|
|
|
<a href={"/users/" + coursedata.teacher_login}
|
|
|
|
|
className="color-white bannnerusername">{coursedata.teacher_name}</a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="fl mt13">
|
|
|
|
|
<p className="color-white bannnerusernames">{coursedata.teacher_school}</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{/* <div className="task-hide" style={{height:25,marginBottom:10,marginLeft:60}}>
|
|
|
|
|
{coursedata.teacher_users.length===0?'':
|
|
|
|
|
<span className="color-white" >协作老师:
|
|
|
|
|
{coursedata.teacher_users.map((iem,idx)=>{
|
|
|
|
|
return(
|
|
|
|
|
<span className="task-hide" style={{width:50,marginLeft:5}}>{idx<3?iem:''} {coursedata.teacher_users.length>3&&idx===2?'...':''} </span>
|
|
|
|
|
<span className="task-hide" style={{width:50,marginLeft:5}}>{idx<3?iem:''} {coursedata.teacher_users.length>3&&idx===2?'...':''} </span>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -636,7 +636,7 @@ class CoursesBanner extends Component {
|
|
|
|
|
</div> */}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/*{excellent===false?*/}
|
|
|
|
|
{/* :*/}
|
|
|
|
@ -766,12 +766,12 @@ background:rgba(204,204,204,0.2) !important;
|
|
|
|
|
placement="topLeft"
|
|
|
|
|
title={<pre className="antsoancss">
|
|
|
|
|
{coursedata.teacher_applies_count===undefined?"":coursedata.teacher_applies_count>0?
|
|
|
|
|
<span>新收到{coursedata.teacher_applies_count}条加入课堂的申请
|
|
|
|
|
<a className={"daishenp ml5"} onClick={excellent === true && this.props.isAdminOrStudent() === false ?"":()=>this.setHistoryFun("/classrooms/"+this.props.match.params.coursesId+"/teachers?tab=2")}>
|
|
|
|
|
<span >您有{coursedata.teacher_applies_count}条新的加入申请
|
|
|
|
|
<a className={"daishenp"} onClick={excellent === true && this.props.isAdminOrStudent() === false ?"":()=>this.setHistoryFun("/classrooms/"+this.props.match.params.coursesId+"/teachers?tab=2")}>
|
|
|
|
|
<span style={{
|
|
|
|
|
color:"#FFA804"
|
|
|
|
|
}}>
|
|
|
|
|
去审批
|
|
|
|
|
待审批
|
|
|
|
|
</span></a></span>:""}</pre>}>
|
|
|
|
|
<span className="color-grey-c font-16" onClick={excellent === true && this.props.isAdminOrStudent() === false ?"":()=>this.setHistoryFun("/classrooms/"+this.props.match.params.coursesId+"/teachers")}>
|
|
|
|
|
<span className={"mr10"}>教师</span>
|
|
|
|
|