dev_oauth
杨树明 5 years ago
parent 1c5e734200
commit a367dba020

@ -83,9 +83,9 @@ export function initAxiosInterceptors(props) {
} }
config.url = `${proxy}${url}`; config.url = `${proxy}${url}`;
if (config.url.indexOf('?') == -1) { if (config.url.indexOf('?') == -1) {
config.url = `${config.url}?debug=${debugType}` config.url = `${config.url}?debug=${'student'}`
} else { } else {
config.url = `${config.url}&debug=${debugType}` config.url = `${config.url}&debug=${'student'}`
} }
} else { } else {
// 加api前缀 // 加api前缀

@ -346,24 +346,24 @@ class GraduationTaskssettingapp extends Component{
let {endtimetype}=this.state; let {endtimetype}=this.state;
if(types===1){ if(types===1){
this.setState({ this.setState({
latetime:newlatetime, // latetime:newlatetime,
crosscomment:true, crosscomment:true,
commenttime:newcommenttime, commenttime:newlatetime,
commenttimeone:newcommenttime, commenttimeone:newlatetime,
}) })
}else{ }else{
if(endtimetype===true){ if(endtimetype===true){
this.setState({ this.setState({
crosscomment:true, crosscomment:true,
commenttime:newcommenttime, commenttime:newlatetime,
commenttimeone:newcommenttime, commenttimeone:newlatetime,
}) })
}else{ }else{
this.setState({ this.setState({
end_time:newlatetime, // end_time:newlatetime,
crosscomment:true, crosscomment:true,
commenttime:newcommenttime, commenttime:newlatetime,
commenttimeone:newcommenttime, commenttimeone:newlatetime,
}) })
} }
} }

@ -79,3 +79,10 @@
margin-top: 43px; margin-top: 43px;
} }
.mb120{
margin-bottom: 120px !important;
}
.mb80{
margin-bottom: 80px !important;
}

@ -372,7 +372,7 @@ class DetailTop extends Component{
return( return(
<div className={this.props.courses===undefined||this.props.courses.length===0?"subhead":applypath===false?"subhead mb70":this.state.MenuItemskey===this.props.courses.length?"subhead mb100":"subhead mb70"}> <div className={this.props.courses===undefined?"subhead":this.props.courses.length===0?"subhead mb100":applypath===false?detailInfoList.name.length>40?"subhead mb100":"subhead mb70":this.state.MenuItemskey===this.props.courses.length?"subhead mb120":detailInfoList.name.length>40?"subhead mb100":"subhead mb80"}>
{AccountProfiletype===true?<AccountProfile {AccountProfiletype===true?<AccountProfile
hideAccountProfile={()=>this.hideAccountProfile()} hideAccountProfile={()=>this.hideAccountProfile()}
{...this.props} {...this.props}
@ -390,10 +390,24 @@ class DetailTop extends Component{
</Modals> </Modals>
{this.state.yslJointhe===true?<Jointheclass {...this.props} {...this.state} ysljoinmodalCancel={()=>this.ysljoinmodalCancel()} ysljoinmodalCanceltwo={()=>this.ysljoinmodalCanceltwo(this.state.MenuItemskey)}></Jointheclass>:""} {this.state.yslJointhe===true?<Jointheclass {...this.props} {...this.state} ysljoinmodalCancel={()=>this.ysljoinmodalCancel()} ysljoinmodalCanceltwo={()=>this.ysljoinmodalCanceltwo(this.state.MenuItemskey)}></Jointheclass>:""}
{this.state.OpenCourseTypes===true?<OpenCourse {...this.props} {...this.state} OpenCourseCancel={()=>this.OpenCourseCancel()}/>:""} {this.state.OpenCourseTypes===true?<OpenCourse {...this.props} {...this.state} OpenCourseCancel={()=>this.OpenCourseCancel()}/>:""}
<style>
{
`
.subhead_content{
position: relative;
}
.userNavs{
position: absolute;
width: 1200px;
}
`
}
</style>
{ {
detailInfoList && detailInfoList &&
<div className={this.props.courses===undefined?"subhead_content":this.props.courses.length===0?"subhead_content pt40":"subhead_content pt100"}> <div className={this.props.courses===undefined?"subhead_content":this.props.courses.length===0?"subhead_content pt40":"subhead_content "}>
<div className="font-28 color-white clearfix"> <div className="font-28 color-white clearfix">
{/*<Tooltip placement="bottom" title={detailInfoList.name.length>27?detailInfoList.name:""}>*/} {/*<Tooltip placement="bottom" title={detailInfoList.name.length>27?detailInfoList.name:""}>*/}

Loading…
Cancel
Save