dev_home
杨树明 5 years ago
parent dcba8c1e2e
commit b3dda3cde2

@ -590,7 +590,7 @@ class LoginDialog extends Component {
if (isRender === undefined) {
isRender = false
}
// console.log(this.props)
return (
<Dialog open={true} id="DialogID"
className="zindextest"
@ -604,7 +604,19 @@ class LoginDialog extends Component {
setNotcompleteds={()=>{this.setNotcompleteds()}}
/>
{this.state.isphone===false||this.props.user&&this.props.user.main_site===false?<style>
{/*{this.state.isphone===false||this.props.user&&this.props.user.main_site===false?<style>*/}
{/*{*/}
{/*`*/}
{/*#DialogID .dialogBox {*/}
{/*width: 405px !important;*/}
{/*}*/}
{/*.dialogBox {*/}
{/*height: 290px !important;*/}
{/*}*/}
{/*`*/}
{/*}*/}
{/*</style>:""}*/}
<style>
{
`
#DialogID .dialogBox {
@ -615,7 +627,7 @@ class LoginDialog extends Component {
}
`
}
</style>:""}
</style>
{isRender===true?
<div className={dialogBox}>
<div id="closeIcon" className={"logincloseIcon"} onClick={()=>{this.handleDialogClose()}}>

@ -1284,7 +1284,7 @@ submittojoinclass=(value)=>{
<div className="edu-menu-list" style={{top: '60px',width:"240px"}}>
<div className="overPart"></div>
<ul className={coursestypes===true&&this.props.user&&this.props.user.main_site===false?"fl headwith100b edu-txt-center pr ul-leftline":"fl with50 edu-txt-center pr ul-leftline"}>
{this.props.current_user&&this.props.current_user.user_identity==="学生"?"":coursestypes===true?"":<li><a onClick={(url)=>this.getUser("/courses/new")}>{this.props.user&&this.props.user.main_site===false?"新建课堂":"翻转课堂"}</a></li>}
{this.props.current_user&&this.props.current_user.user_identity==="学生"?"":coursestypes===true?"":<li><a onClick={(url)=>this.getUser("/courses/new")}>{this.props.user&&this.props.user.main_site===false?"新建课堂":"新建翻转课堂"}</a></li>}
{shixuntype===true?"":<li><a onClick={(url)=>this.getUser("/shixuns/new")}>新建实训项目</a></li>}
{this.props.Headertop===undefined?"":
pathstype===true?"":this.props.user&&this.props.user.main_site===true||this.props.user&&this.props.user.admin===true?<li><a onClick={(url)=>this.getUser("/paths/new")} >新建实践课程</a></li>:""

Loading…
Cancel
Save