调整版本库弹窗影响页面移动

dev_aliyun2
杨树明 5 years ago committed by harry
parent c376e684e2
commit 151d2171f1

@ -896,33 +896,33 @@ class NewHeader extends Component {
` `
} }
</style> </style>
<li className={`pr questionbanks`} > {/*<li className={`pr questionbanks`} >*/}
<Popover className="queyppors" id={"yslpopovers"} placement="bottom" content={contents} trigger="click" > {/* <Popover className="queyppors" id={"yslpopovers"} placement="bottom" content={contents} trigger="click" >*/}
<div className=" sortinxdirection mr10"> {/* <div className=" sortinxdirection mr10">*/}
<div style={{ {/* <div style={{*/}
color: "#fff" {/* color:"#fff"*/}
}}> {/* }}>*/}
题库 {/* 题库*/}
</div> {/* </div>*/}
</div> {/* </div>*/}
</Popover> {/* </Popover>*/}
</li> {/*</li>*/}
<li <li
style={{ display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.auth === null ? 'none' : 'block' }} style={{display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.auth === null ? 'none' : 'block'}}
><a href={this.props.Headertop === undefined ? "" : this.props.Headertop.auth}>工程认证</a></li> ><a href={this.props.Headertop === undefined ? "" : this.props.Headertop.auth}>工程认证</a></li>
<li className="fl edu-menu-panel careershover " <li className="fl edu-menu-panel careershover "
style={{ display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.career_url.length > 0 ? 'block' : 'none' }}> style={{display: this.props.Headertop === undefined ?'none' : this.props.Headertop.career_url.length > 0 ? 'block' : 'none'}}>
<a>职业路径</a> <a>职业路径</a>
<div <div
style={{ display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.career_url.length > 0 ? 'block' : 'none' }}> style={{display: this.props.Headertop === undefined ?'none' : this.props.Headertop.career_url.length > 0 ? 'block' : 'none'}}>
<ul className="edu-menu-list edu-menu-listnew " style={{ top: '60px' }}> <ul className="edu-menu-list edu-menu-listnew " style={{top:'60px'}}>
{this.props.Headertop === undefined ? "" : this.props.Headertop.career_url.map((item, key) => { {this.props.Headertop === undefined ? "" : this.props.Headertop.career_url.map((item, key) => {
return ( return(
<li key={key}><i className="iconfont icon-java left careersiconfont" <li key={key}><i className="iconfont icon-java left careersiconfont"
style={{ color: '#000 important' }} style={{color: '#000 important'}}
></i><a style={{ width: '83%' }} ></i><a style={{width: '83%'}}
href={item.url}>{item.name}</a></li> href={item.url}>{item.name}</a></li>
) )
}) })
@ -940,13 +940,13 @@ class NewHeader extends Component {
{/*<li><a href={this.props.Headertop===undefined?"":this.props.Headertop.shixun_paths_url}>实训路径</a></li>*/} {/*<li><a href={this.props.Headertop===undefined?"":this.props.Headertop.shixun_paths_url}>实训路径</a></li>*/}
<li className={`${activePaths === true ? 'pr active' : 'pr'}`}> <li className={`${activePaths === true ? 'pr active' : 'pr'}`}>
<Link to={this.props.Headertop === undefined ? "" : '/paths'}>实践课程</Link> <Link to={this.props.Headertop===undefined?"":'/paths'}>实践课程</Link>
</li> </li>
{/*<li><a href={this.props.Headertop===undefined?"":'/courses'}>课堂</a></li>*/} {/*<li><a href={this.props.Headertop===undefined?"":'/courses'}>课堂</a></li>*/}
<li className={`${coursestype === true ? 'pr active' : 'pr'}`}> <li className={`${coursestype === true ? 'pr active' : 'pr'}`}>
{/*<a href={this.props.Headertop===undefined?"":this.props.Headertop.course_url}>课堂</a>*/} {/*<a href={this.props.Headertop===undefined?"":this.props.Headertop.course_url}>课堂</a>*/}
<Link to={this.props.Headertop === undefined ? "" : '/courses'}>翻转课堂</Link> <Link to={this.props.Headertop===undefined?"":'/courses'}>教学课堂</Link>
</li> </li>
<li className={`${activeShixuns === true ? 'pr active' : 'pr'}`}> <li className={`${activeShixuns === true ? 'pr active' : 'pr'}`}>
<Link to="/shixuns">实训项目</Link> <Link to="/shixuns">实训项目</Link>
@ -955,16 +955,16 @@ class NewHeader extends Component {
</li> </li>
<li className="fl edu-menu-panel careershover " <li className="fl edu-menu-panel careershover "
style={{ display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.career_url.length > 0 ? 'block' : 'none' }}> style={{display: this.props.Headertop === undefined ?'none' : this.props.Headertop.career_url.length > 0 ? 'block' : 'none'}}>
<a>职业路径</a> <a>职业路径</a>
<div <div
style={{ display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.career_url.length > 0 ? 'block' : 'none' }}> style={{display: this.props.Headertop === undefined ?'none' : this.props.Headertop.career_url.length > 0 ? 'block' : 'none'}}>
<ul className="edu-menu-list edu-menu-listnew " style={{ top: '60px' }}> <ul className="edu-menu-list edu-menu-listnew " style={{top:'60px'}}>
{this.props.Headertop === undefined ? "" : this.props.Headertop.career_url.map((item, key) => { {this.props.Headertop === undefined ? "" : this.props.Headertop.career_url.map((item, key) => {
return ( return(
<li key={key}><i className="iconfont icon-java left careersiconfont" <li key={key}><i className="iconfont icon-java left careersiconfont"
style={{ color: '#000 important' }} style={{color: '#000 important'}}
></i><a style={{ width: '83%' }} ></i><a style={{width: '83%'}}
href={item.url}>{item.name}</a></li> href={item.url}>{item.name}</a></li>
) )
}) })
@ -975,7 +975,7 @@ class NewHeader extends Component {
{/*<li className=""><a href={"/libraries"}>教学案例</a></li>*/} {/*<li className=""><a href={"/libraries"}>教学案例</a></li>*/}
<li className={`${activeCompetitions === true ? 'pr active' : 'pr'}`}> <li className={`${activeCompetitions === true ? 'pr active' : 'pr'}`}>
<a href={this.props.Headertop === undefined ? "" : this.props.Headertop.competitions_url}>在线竞赛</a> <a href={this.props.Headertop===undefined?"":this.props.Headertop.competitions_url}>在线竞赛</a>
{/*<img className="roundedRectangles"*/} {/*<img className="roundedRectangles"*/}
{/* src={require('./roundedRectangle.png')}*/} {/* src={require('./roundedRectangle.png')}*/}
{/*/>*/} {/*/>*/}
@ -984,10 +984,10 @@ class NewHeader extends Component {
{/*<li className={`${activePackages === true ? 'pr active' : 'pr'}`}>*/} {/*<li className={`${activePackages === true ? 'pr active' : 'pr'}`}>*/}
{/*<Link to={'/crowdsourcing'}>众包创新</Link>*/} {/*<Link to={'/crowdsourcing'}>众包创新</Link>*/}
{/*</li>*/} {/*</li>*/}
<li className={`${activeForums === true ? 'active' : ''}`}> <Link to={this.props.Headertop === undefined ? "" : this.props.Headertop.topic_url}>交流问答</Link></li> <li className={`${activeForums === true ? 'active' : ''}`}> <Link to={this.props.Headertop===undefined?"":this.props.Headertop.topic_url}>交流问答</Link></li>
<li <li
style={{ display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.auth === null ? 'none' : 'block' }} style={{display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.auth===null? 'none' : 'block'}}
><a href={this.props.Headertop === undefined ? "" : this.props.Headertop.auth}>工程认证</a></li> ><a href={this.props.Headertop===undefined?"":this.props.Headertop.auth}>工程认证</a></li>
</ul> </ul>
</div> </div>
} }

@ -209,6 +209,9 @@ class Repositoryfile extends Component{
padding-left: 0px; padding-left: 0px;
margin-top:5px; margin-top:5px;
} }
body{
width: calc(100%) !important;
}
` `
} }
</style> </style>

Loading…
Cancel
Save