实践课程增加二维码配置

dev_auth
杨树明 5 years ago
parent 3ad763d600
commit be0dabc7ec

@ -86,7 +86,8 @@ class PathDetailIndex extends Component{
pathtopskey:1,
dataquerys:{},
MenuItemsindex:1,
MenuItemsindextype:0
MenuItemsindextype:0,
qrcode_img:null
}
this.onDragEnd = this.onDragEnd.bind(this);
@ -250,7 +251,7 @@ class PathDetailIndex extends Component{
}
this.setState({
// detailInfoList:result.data,
qrcode_img:result.data.qrcode_img,
tags:result.data.tags,
progress:result.data.progress,
members:result.data.members,
@ -472,7 +473,7 @@ class PathDetailIndex extends Component{
progress,
members,
tags,
courses,
qrcode_img,
MenuItemsindex,
MenuItemsindextype
} = this.state
@ -538,9 +539,13 @@ class PathDetailIndex extends Component{
></DetailCards>
</div>
<div className="with35 fr pl20">
{qrcode_img===null?"":<div className="edu-back-white newmustlearn mb10">
<img src={getImageUrl(`${qrcode_img}`)} />
<div className="font-16 color181818">优惠报名扫码入群</div>
</div>}
<div className="edu-back-white mustlearn mb10">
<p className="clearfix mb30">
<span className="font-16">课程须知</span>
<span className="font-16 ">课程须知</span>
{/*{detailInfoList===undefined?"":detailInfoList.allow_statistics===true?*/}
{/*<Tooltip placement="bottom" title={"编辑"}>*/}
{/*<Link to={"/paths/"+this.props.match.params.pathId+"/edit#learning_notes"} className="fr mtf5">*/}

@ -258,4 +258,13 @@
}
.ml37{
margin-left: 37px;
}
.newmustlearn {
padding: 34px 25px;
text-align: center;
}
.color181818{
color: #181818;
}
Loading…
Cancel
Save