|
|
@ -96,7 +96,7 @@ class CommentItemMDEditor extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|
const { match, history, item, user } = this.props
|
|
|
|
const { match, history, item, user, buttonText } = this.props
|
|
|
|
if (!item) {
|
|
|
|
if (!item) {
|
|
|
|
return <div></div>
|
|
|
|
return <div></div>
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -111,7 +111,7 @@ class CommentItemMDEditor extends Component {
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id={`reply_message_${item.id}`} className="reply_to_message commentItemMDEditor"
|
|
|
|
<div id={`reply_message_${item.id}`} className="reply_to_message commentItemMDEditor"
|
|
|
|
style={{ paddingTop: '0px', paddingBottom: '20px', marginTop: '36px' }}
|
|
|
|
style={{ paddingTop: '0px', paddingBottom: '0px', marginTop: '36px' }}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div id={`reply_message_editorMd_${item.id}`} className="editorMD" style={{ marginBottom: '0px'}}>
|
|
|
|
<div id={`reply_message_editorMd_${item.id}`} className="editorMD" style={{ marginBottom: '0px'}}>
|
|
|
|
<textarea style={{'display': 'none'}}>
|
|
|
|
<textarea style={{'display': 'none'}}>
|
|
|
@ -119,11 +119,14 @@ class CommentItemMDEditor extends Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="editor__resize" href="javascript:void(0);" style={{display: ''}}>调整高度</div>
|
|
|
|
<div className="editor__resize" href="javascript:void(0);" style={{display: ''}}>调整高度</div>
|
|
|
|
|
|
|
|
|
|
|
|
<a id={`commitBtn_${item.id}`} href="javascript:void(0)"
|
|
|
|
<div class="clearfix">
|
|
|
|
onClick={this.onCommit} style={{ marginRight: '44px' }}
|
|
|
|
<a id={`commitBtn_${item.id}`} href="javascript:void(0)"
|
|
|
|
className="commentsbtn task-btn task-btn-blue fr " style={{display: ''}}>
|
|
|
|
onClick={this.onCommit} style={{ marginRight: '44px' }}
|
|
|
|
发送
|
|
|
|
className="commentsbtn task-btn task-btn-blue fr " style={{display: ''}}>
|
|
|
|
</a>
|
|
|
|
{ buttonText || '发送'}
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|