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

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

Loading…
Cancel
Save