dev_cs
杨树林 6 years ago
parent c910e9962c
commit 72169ff247

@ -28,6 +28,7 @@ class Elearning extends Component{
isSpins:false,
userlogin:"",
isRender:false,
subject_id:0,
}
}
@ -53,6 +54,7 @@ class Elearning extends Component{
learned:response.data.learned,
last_shixun:response.data.last_shixun,
stages:response.data.stages,
subject_id:response.data.subject_id,
});
}

@ -225,7 +225,7 @@ class YslDetailCards extends Component{
editeditbuttomtypecanle=()=>{
this.setState({
editbuttomtype:true,
editbuttomtypeadd:false
editbuttomtypeadd:true
})
}
@ -319,7 +319,7 @@ class YslDetailCards extends Component{
render(){
let{showparagraph,showparagraphkey,showparagraphindex,hidestartshixunsreplacevalue,idsum,pathCardsedittype,pathid,Modalstype,Modalstopval,Modalsbottomval,delecttype,pathlistedit,editbuttomtypeadd,editbuttomtype} =this.state;
let { stages }=this.props;
let { stages ,subject_id}=this.props;
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
// console.log("pathCardsedittype");
// console.log(pathCardsedittype);
@ -525,7 +525,7 @@ class YslDetailCards extends Component{
<DetailCardsEditAndAdd
{...this.props}
sum={stages && stages.length+1}
pathid={pathid}
pathid={this.props.subject_id}
detailInfoList={this.props.detailInfoList}
getPathCardsLists={this.updatapathCardsedit}
editeditbuttomtypes={this.editeditbuttomtypecanle}

@ -411,7 +411,7 @@ class DetailCardsEditAndAdd extends Component{
{ editPanel &&
<div className="lesson-edit-content mb10">
<div className="clearfix edu-back-white pt30">
<div className="clearfix edu-back-white pt30 pb30">
<p className="clearfix mb30 font-18 font-bd pl25 pr25">
<a className="fl ring-blue mr10 mt2">
<img src={getImageUrl("images/educoder/icon/charpter-white.svg")} className="fl ml3 mt3"/>

Loading…
Cancel
Save