|
|
|
@ -691,13 +691,15 @@ class MemoDetail extends Component {
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<div id="forum_list" className="forum_table mh650">
|
|
|
|
|
<div className="padding40-30 bor-bottom-greyE">
|
|
|
|
|
<div className="font-16 mb5 cdefault clearfix pr pr35">
|
|
|
|
|
<div className="font-16 mb5 cdefault clearfix pr pr35" style={{display: 'flex', alignItems: 'center'}}>
|
|
|
|
|
<span className="noteDetailTitle">{memo.subject}</span>
|
|
|
|
|
{ memo.sticky && <span className="btn-cir btn-cir-red ml10 mt10">置顶</span>}
|
|
|
|
|
{ memo.sticky && <span className="btn-cir btn-cir-red ml10 " style={{ height: '20px' }}>置顶</span>}
|
|
|
|
|
{ !!memo.reward && <span className="color-orange font-14 ml15"
|
|
|
|
|
data-tip-down={`获得平台奖励金币:${memo.reward}`} >
|
|
|
|
|
<i className="iconfont icon-gift mr5"></i>{memo.reward}
|
|
|
|
|
</span> }
|
|
|
|
|
|
|
|
|
|
<div style={{ flex: 1 }}>
|
|
|
|
|
{ _current_user && (_current_user.admin === true || _current_user.user_id === author_info.user_id) &&
|
|
|
|
|
<div className="edu-position-hidebox" style={{position: 'absolute', right: '12px',top:'4px'}}>
|
|
|
|
|
<a href="javascript:void(0);"><i className="fa fa-bars font-16"></i></a>
|
|
|
|
@ -725,6 +727,7 @@ class MemoDetail extends Component {
|
|
|
|
|
返回
|
|
|
|
|
</Link>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="color-grey-9 clearfix">
|
|
|
|
|
<span className="fl">{moment(memo.time).fromNow()} 发布</span>
|
|
|
|
|
<div className="fr detailIcons">
|
|
|
|
@ -804,7 +807,7 @@ class MemoDetail extends Component {
|
|
|
|
|
|
|
|
|
|
></Comments>
|
|
|
|
|
{ hasMoreComments ?
|
|
|
|
|
<div className="memoMore">
|
|
|
|
|
<div className="memoMore" style={{ cursor: 'default' }}>
|
|
|
|
|
<a onClick={this.moreMemos}>查看更多评论</a>
|
|
|
|
|
<div className="writeCommentBtn" onClick={this.showCommentInput}>写评论</div>
|
|
|
|
|
</div>
|
|
|
|
|