|
|
@ -77,7 +77,7 @@ class Challengesjupyter extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
if(boxoffsetHeigh>=300){
|
|
|
|
if(boxoffsetHeigh>=300){
|
|
|
|
if(this.props&&this.props.is_jupyter===true&&this.props&&this.props.user.user_identity==="学生"){
|
|
|
|
if(this.state.enlarge===false){
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
opentitletype:false,
|
|
|
|
opentitletype:false,
|
|
|
|
isopentitletype:"greater",
|
|
|
|
isopentitletype:"greater",
|
|
|
@ -284,7 +284,7 @@ class Challengesjupyter extends Component {
|
|
|
|
.then((result) => {
|
|
|
|
.then((result) => {
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
// this.props.showNotification(`应用成功`);
|
|
|
|
// this.props.showNotification(`应用成功`);
|
|
|
|
console.log("应用成功了");
|
|
|
|
// console.log("应用成功了");
|
|
|
|
this.props.showNotification('保存成功!');
|
|
|
|
this.props.showNotification('保存成功!');
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
@ -646,7 +646,7 @@ class Challengesjupyter extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
{this.props&&this.props.is_jupyter===true&&this.props&&this.props.user.user_identity==="学生"?"":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>
|
|
|
|
<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>
|
|
|
@ -725,10 +725,11 @@ class Challengesjupyter extends Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
:""
|
|
|
|
: ""
|
|
|
|
:
|
|
|
|
:
|
|
|
|
(
|
|
|
|
(
|
|
|
|
admin===true||business===true||mysidentity===true?
|
|
|
|
admin===true||business===true||mysidentity===true?
|
|
|
|
|
|
|
|
|
|
|
|
<div style={{
|
|
|
|
<div style={{
|
|
|
|
height: '63px',
|
|
|
|
height: '63px',
|
|
|
|
}} className={enlarge?"shixunjianjiecballenges edu-back-white intermediatecenter fangdaone":"shixunjianjiecballenges edu-back-white mt20"}>
|
|
|
|
}} className={enlarge?"shixunjianjiecballenges edu-back-white intermediatecenter fangdaone":"shixunjianjiecballenges edu-back-white mt20"}>
|
|
|
|