dev_tj
杨树明 5 years ago
parent 6448436f8d
commit 31d1f268e8

@ -77,20 +77,20 @@ class Challengesjupyter extends Component {
}else{
if(boxoffsetHeigh>=300){
if(this.state.enlarge===false){
this.setState({
opentitletype:false,
isopentitletype:"greater",
boxoffsetHeigh:boxoffsetHeigh
})
}else{
this.setState({
opentitletype:true,
isopentitletype:"greater",
boxoffsetHeigh:boxoffsetHeigh
})
}
// if(this.state.enlarge===false){
// this.setState({
// opentitletype:false,
// isopentitletype:"greater",
// boxoffsetHeigh:boxoffsetHeigh
// })
// }else{
//
// }
this.setState({
opentitletype:true,
isopentitletype:"greater",
boxoffsetHeigh:boxoffsetHeigh
})
}else{
this.setState({
isopentitletype:"Less",
@ -645,8 +645,8 @@ class Challengesjupyter extends Component {
`
}
</style>
{this.state.enlarge===false?"":this.state.isopentitletype==="Less"?"":this.state.opentitletype===true?<Divider dashed={true} onClick={()=>this.opentitle()} className={"pointer Breadcrumbfont color-grey-9 "}>
{/*this.state.enlarge===false?"":*/}
{this.state.isopentitletype==="Less"?"":this.state.opentitletype===true?<Divider dashed={true} onClick={()=>this.opentitle()} className={"pointer Breadcrumbfont color-grey-9 "}>
<a className={"font-14 color-grey-9"}>阅读全文 <i className={"iconfont icon-jiantou9 font-14"}></i></a>
</Divider>:<Divider dashed={true} onClick={()=>this.opentitle()} className={"pointer Breadcrumbfont color-grey-9 "}>
<a className={"font-14 color-grey-9"}>收起全文 <i className={"iconfont icon-changyongtubiao-xianxingdaochu-zhuanqu- font-14"}></i></a>

Loading…
Cancel
Save