|
|
|
@ -117,7 +117,7 @@ class MemoDetailMDEditor extends Component {
|
|
|
|
|
this.initMDEditor()
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
const { match, history, memo, placeholder } = this.props
|
|
|
|
|
const { match, history, memo, placeholder, className } = this.props
|
|
|
|
|
const { isInited, errorMsg } = this.state
|
|
|
|
|
if (!memo) {
|
|
|
|
|
return <div></div>
|
|
|
|
@ -154,7 +154,7 @@ class MemoDetailMDEditor extends Component {
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
<div style={{ display: isInited ? 'none' : '', borderBottom: `${this.props.commentsLength == 0 ? 'none' : '1px solid #EEEEEE'}`}}
|
|
|
|
|
className="mockInputWrapper commentInput" >
|
|
|
|
|
className={`mockInputWrapper commentInput ${className}`} >
|
|
|
|
|
<input onClick={this.onMockInputClick} placeholder={placeholder || '我要回复'}></input>
|
|
|
|
|
<a href="javascript:void(0)"
|
|
|
|
|
onClick={this.onMockInputClick} className="commentsbtn task-btn task-btn-blue">
|
|
|
|
@ -172,7 +172,7 @@ class MemoDetailMDEditor extends Component {
|
|
|
|
|
`
|
|
|
|
|
} */}
|
|
|
|
|
</style>
|
|
|
|
|
<div nhname={`new_message_${memo.id}`} className="commentInput commentInputs"
|
|
|
|
|
<div nhname={`new_message_${memo.id}`} className={`commentInput commentInputs ${className}`}
|
|
|
|
|
style={{ padding: '30px',boxSizing:"border-box", display: isInited ? '' : 'none', paddingBottom: '40px' }} >
|
|
|
|
|
<div id="memo_comment_editorMd" className="editorMD" style={{ marginBottom: '0px'
|
|
|
|
|
, border: errorMsg ? '1px solid red' : '1px solid #ddd'}}>
|
|
|
|
|