|
|
|
@ -175,6 +175,9 @@ class ListPageIndex extends Component{
|
|
|
|
|
isexcellent:excellent
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
updatabanners=()=>{
|
|
|
|
|
this.refs.CoursesBanner.updatabanner()
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
let {yslGuideone} =this.state;
|
|
|
|
|
// console.log("98");
|
|
|
|
@ -187,7 +190,7 @@ class ListPageIndex extends Component{
|
|
|
|
|
<div>
|
|
|
|
|
<div className="newMain clearfix">
|
|
|
|
|
{/*头部banner*/}
|
|
|
|
|
<CoursesBanner {...this.props} ispostexcellenttype={(excellent)=>this.ispostexcellenttype(excellent)}></CoursesBanner>
|
|
|
|
|
<CoursesBanner ref={"CoursesBanner"} {...this.props} ispostexcellenttype={(excellent)=>this.ispostexcellenttype(excellent)}></CoursesBanner>
|
|
|
|
|
{/*下面是指引哦*/}
|
|
|
|
|
{/*{yslGuideone!==undefined?*/}
|
|
|
|
|
{/*(*/}
|
|
|
|
@ -249,7 +252,7 @@ class ListPageIndex extends Component{
|
|
|
|
|
></Route>
|
|
|
|
|
<Route path="/courses/:coursesId/teachers"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<TeacherList {...this.props} {...props} {...this.state} />)
|
|
|
|
|
(props) => (<TeacherList updatabanners={()=>this.updatabanners()} {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/* 学生列表*/}
|
|
|
|
|