|
|
|
@ -277,6 +277,12 @@ class Comments extends Component {
|
|
|
|
|
</a>
|
|
|
|
|
<span className="t_area fl">{item.time}</span>
|
|
|
|
|
{ item.position && <span className="fl color-light-green font-14 ml15">[第{item.position}关]</span> }
|
|
|
|
|
{ item.game_url ?
|
|
|
|
|
<Tooltip title={ `点击查看TA的代码页面` } disableFocusListener={true}>
|
|
|
|
|
<a href={item.game_url} target="_blank" className="fl font-14 ml15"
|
|
|
|
|
style={{ color: "#4CACFF", cursor: "pointer" }}
|
|
|
|
|
>查看</a>
|
|
|
|
|
</Tooltip> : ""}
|
|
|
|
|
{
|
|
|
|
|
item.reward ?
|
|
|
|
|
<Tooltip title={ `已奖励金币${item.reward}` } disableFocusListener={true}>
|
|
|
|
@ -303,7 +309,7 @@ class Comments extends Component {
|
|
|
|
|
|
|
|
|
|
<div className="comment_content clearfix" id={`reply_content_${item.id}`}>
|
|
|
|
|
<div className="color-grey-3 break_word_comments" id={`reply_content_${item.id}`}>
|
|
|
|
|
{ item.hidden && item.admin === false && item.manager === false
|
|
|
|
|
{ item.hidden && item.admin === false && (item.manager === false || item.manager == undefined)
|
|
|
|
|
? <p className="color-orange font-16">违规评论已被屏蔽!</p>
|
|
|
|
|
: <div dangerouslySetInnerHTML={{__html: _content}}></div>
|
|
|
|
|
}
|
|
|
|
|