|
|
|
@ -518,7 +518,32 @@ class CoursesBanner extends Component {
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{excellent===false?
|
|
|
|
|
{/*{excellent===false?*/}
|
|
|
|
|
{/* :*/}
|
|
|
|
|
{/* <div>*/}
|
|
|
|
|
{/* <style>*/}
|
|
|
|
|
{/* {*/}
|
|
|
|
|
{/* `*/}
|
|
|
|
|
{/* .user_white_btn{border: 1px solid #ffffff;color: #ffffff!important;}*/}
|
|
|
|
|
{/* */}
|
|
|
|
|
{/* `*/}
|
|
|
|
|
{/* }*/}
|
|
|
|
|
{/* </style>*/}
|
|
|
|
|
{/* /!*coursedata.course_identity === 6 是非课堂成员*!/*/}
|
|
|
|
|
{/* {coursedata.course_identity === 6&&coursedata.educoder_teacher===false?*/}
|
|
|
|
|
{/* <a className="fr user_default_btn user_white_btn mr20 font-18" style={{width:"130px"}}*/}
|
|
|
|
|
{/* onClick={() => this.myyslgradin()}>加入课堂</a>: ""}*/}
|
|
|
|
|
|
|
|
|
|
{/* {coursedata.course_identity === 6&&coursedata.educoder_teacher===true?*/}
|
|
|
|
|
{/* <a className="fr user_default_btn user_white_btn mr20 font-18" style={{width:"130px"}}*/}
|
|
|
|
|
{/* onClick={() => this.myyslgradin()}>加入课堂</a>: ""}*/}
|
|
|
|
|
|
|
|
|
|
{/* /!*{this.props.isStudent()?<a className="fr user_default_btn user_blue_btn mr20 font-18"*!/*/}
|
|
|
|
|
{/* /!* onClick={() => this.exitclass()}*!/*/}
|
|
|
|
|
{/* /!*> 退出课堂 </a>:""}*!/*/}
|
|
|
|
|
{/* </div>*/}
|
|
|
|
|
|
|
|
|
|
{/*}*/}
|
|
|
|
|
<div>
|
|
|
|
|
{coursedata.switch_to_student === true ?
|
|
|
|
|
<Tooltip placement="bottom" title={
|
|
|
|
@ -566,31 +591,7 @@ class CoursesBanner extends Component {
|
|
|
|
|
> 退出课堂 </a>:""}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
<div>
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.user_white_btn{border: 1px solid #ffffff;color: #ffffff!important;}
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{/*coursedata.course_identity === 6 是非课堂成员*/}
|
|
|
|
|
{coursedata.course_identity === 6&&coursedata.educoder_teacher===false?
|
|
|
|
|
<a className="fr user_default_btn user_white_btn mr20 font-18" style={{width:"130px"}}
|
|
|
|
|
onClick={() => this.myyslgradin()}>加入课堂</a>: ""}
|
|
|
|
|
|
|
|
|
|
{coursedata.course_identity === 6&&coursedata.educoder_teacher===true?
|
|
|
|
|
<a className="fr user_default_btn user_white_btn mr20 font-18" style={{width:"130px"}}
|
|
|
|
|
onClick={() => this.myyslgradin()}>加入课堂</a>: ""}
|
|
|
|
|
|
|
|
|
|
{/*{this.props.isStudent()?<a className="fr user_default_btn user_blue_btn mr20 font-18"*/}
|
|
|
|
|
{/* onClick={() => this.exitclass()}*/}
|
|
|
|
|
{/*> 退出课堂 </a>:""}*/}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|