@ -324,16 +324,17 @@ class DetailTop extends Component{
border : 1 px solid rgba ( 255 , 255 , 255 , 1 ) ;
color : # 970084 ! important ;
font - size : 15 px ! important ;
line - height : 37 px ! important ;
line - height : 36 px ! important ;
}
. kkbths {
width : 103 px ;
height : 38 px ;
border - radius : 4 px ;
line - height : 36 px ! important ;
border : 1 px solid rgba ( 255 , 255 , 255 , 1 ) ;
}
. maxwinth 7 00{
max- width : 7 00px ;
. maxwinth 6 00{
width: 6 00px ;
}
`
}
@ -361,49 +362,46 @@ class DetailTop extends Component{
{ detailInfoList . member _count != 0 ? < li > < span > 学习人数 < / s p a n > < s p a n > { d e t a i l I n f o L i s t . m e m b e r _ c o u n t } < / s p a n > < / l i > : " " }
< / u l >
}
< div className = "fr pr maxwinth 7 00">
< div className = "fr pr maxwinth 6 00">
{ detailInfoList === undefined ? "" : detailInfoList . allow _statistics === true ?
< Link to = { "/paths/" + this . props . match . params . pathId + "/edit" } className = "fl font-18 color-white kaike mr20 kkbths" >
编辑
< / L i n k >
: ""
}
{ detailInfoList === undefined ? "" : detailInfoList . allow _delete === true ? < a
className = { "fl font-18 color-white kaike mr20 kkbths" }
onClick = { this . allow _deletepath }
> 删除 < / a > : " " }
{
detailInfoList . publish _status === 0 && detailInfoList . allow _add _member === true ?
< a className = "fl font-18 color-white kaike mr20 kkbths" onClick = { this . applyissuePath } > 申请发布 < / a > : " "
}
< Link to = { "/paths/" + this . props . match . params . pathId + "/statistics" } className = "user_default_btn fr font-18 xxtjbtn" >
学习统计
< / L i n k > : " "
}
{
detailInfoList . publish _status === 1 && detailInfoList . allow _statistics === true ?
< a className = "fl font-18 color-white kaike mr20 kkbths" onClick = { this . cancelissuePath } > 撤销申请 < / a > : " "
}
{ detailInfoList . allow _send === true ? this . props . courses === undefined ?
< SendPanel { ... this . props } { ... this . state } > < / S e n d P a n e l > : " " : " "
}
{
detailInfoList . publish _status === 2 && detailInfoList . allow _statistics === true ?
< a className = "fl font-18 color-white kaike mr20 kkbths" onClick = { this . reovkissuePath } > 撤销发布 < / a > : " "
}
{ this . props . courses === undefined ? "" : detailInfoList . is _creator === true ? < a className = { "fr font-18 color-white kaike mr20 kkbths" } onClick = { ( ) => this . OpenCoursefun ( ) } > 开课 < / a > : " " }
{
detailInfoList . publish _status === 2 && detailInfoList . allow _statistics === true ?
< a className = "fr font-18 color-white kaike mr20 kkbths" onClick = { this . reovkissuePath } > 撤销发布 < / a > : " "
}
{ this . props . courses === undefined ? "" : detailInfoList . is _creator === true ? < a className = { "fl font-18 color-white kaike mr20 kkbths" } onClick = { ( ) => this . OpenCoursefun ( ) } > 开课 < / a > : " " }
{
detailInfoList . publish _status === 1 && detailInfoList . allow _statistics === true ?
< a className = "fr font-18 color-white kaike mr20 kkbths" onClick = { this . cancelissuePath } > 撤销申请 < / a > : " "
}
{ detailInfoList . allow _send === true ? this . props . courses === undefined ?
< SendPanel { ... this . props } { ... this . state } > < / S e n d P a n e l > : " " : " "
{
detailInfoList . publish _status === 0 && detailInfoList . allow _add _member === true ?
< a className = "fr font-18 color-white kaike mr20 kkbths" onClick = { this . applyissuePath } > 申请发布 < / a > : " "
}
{ detailInfoList === undefined ? "" : detailInfoList . allow _statistics === true ?
< Link to = { "/paths/" + this . props . match . params . pathId + "/statistics" } className = "user_default_btn fr font-18 xxtjbtn" >
学习统计
< / L i n k > : " "
}
{ detailInfoList === undefined ? "" : detailInfoList . allow _delete === true ? < a
className = { "fr font-18 color-white kaike mr20 kkbths" }
onClick = { this . allow _deletepath }
> 删除 < / a > : " " }
{ detailInfoList === undefined ? "" : detailInfoList . allow _statistics === true ?
< Link to = { "/paths/" + this . props . match . params . pathId + "/edit" } className = "fr font-18 color-white kaike mr20 kkbths" >
编辑
< / L i n k >
: ""
}
< / d i v >