|
|
|
@ -10,7 +10,7 @@ import { Spin } from 'antd';
|
|
|
|
|
|
|
|
|
|
import { TPMIndexHOC } from '../TPMIndexHOC';
|
|
|
|
|
|
|
|
|
|
import { SnackbarHOC } from 'educoder';
|
|
|
|
|
import { SnackbarHOC,getImageUrl} from 'educoder';
|
|
|
|
|
|
|
|
|
|
import ShixunCardList from './ShixunCardList';
|
|
|
|
|
|
|
|
|
@ -389,6 +389,35 @@ class ShixunsIndex extends Component {
|
|
|
|
|
{this.state.updata===undefined?"":<UpgradeModals
|
|
|
|
|
{...this.state}
|
|
|
|
|
/>}
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
` ::-webkit-scrollbar {
|
|
|
|
|
width: 0px !important;
|
|
|
|
|
}
|
|
|
|
|
.courses-head{
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 300px;
|
|
|
|
|
background-image: url(${getImageUrl(this.props.mygetHelmetapi && this.props.mygetHelmetapi.shixun_banner_url === null ?`images/educoder/courses/courses.jpg`:this.props.mygetHelmetapi&&this.props.mygetHelmetapi.shixun_banner_url)});
|
|
|
|
|
background-color: #081C4B;
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{
|
|
|
|
|
this.props.mygetHelmetapi&&this.props.mygetHelmetapi.shixun_banner_url?
|
|
|
|
|
<div className="courses-head pr" >
|
|
|
|
|
<div className="edu-txt-center pathNavLine">
|
|
|
|
|
<div className="inline path-nav">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{/*<Spin spinning={typepvisible} size="large" style={{marginTop:'15%'}}>*/}
|
|
|
|
|
<ShixunSearchBar
|
|
|
|
|
Updatasearchlist={this.Updatasearchlist.bind(this)}
|
|
|
|
|