|
|
@ -7,7 +7,8 @@ import UploadComponent from '../Upload/Index';
|
|
|
|
import { getImageUrl } from 'educoder';
|
|
|
|
import { getImageUrl } from 'educoder';
|
|
|
|
import {Modal, Col, Form, Input, Tooltip, Popconfirm, Pagination , Spin} from 'antd'
|
|
|
|
import {Modal, Col, Form, Input, Tooltip, Popconfirm, Pagination , Spin} from 'antd'
|
|
|
|
import NoneData from '../../modules/courses/coursesPublic/NoneData';
|
|
|
|
import NoneData from '../../modules/courses/coursesPublic/NoneData';
|
|
|
|
import Attachments from '../Upload/attachment'
|
|
|
|
import Attachments from '../Upload/attachment';
|
|
|
|
|
|
|
|
import QuillForEditor from '../quillForEditor';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const TextArea = Input.TextArea;
|
|
|
|
const TextArea = Input.TextArea;
|
|
|
@ -441,7 +442,20 @@ class Detail extends Component{
|
|
|
|
required: true, message: '请输入内容'
|
|
|
|
required: true, message: '请输入内容'
|
|
|
|
}],
|
|
|
|
}],
|
|
|
|
})(
|
|
|
|
})(
|
|
|
|
<TextArea placeholder="添加评论..." style={{height: "200px"}}/>
|
|
|
|
<QuillForEditor
|
|
|
|
|
|
|
|
imgAttrs={{ width: '60px', height: '30px' }}
|
|
|
|
|
|
|
|
wrapStyle={{
|
|
|
|
|
|
|
|
height: '200px',
|
|
|
|
|
|
|
|
opacity:1,
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
autoFocus={true}
|
|
|
|
|
|
|
|
style={{ height: '150px' }}
|
|
|
|
|
|
|
|
placeholder="添加评论..."
|
|
|
|
|
|
|
|
// options={options}
|
|
|
|
|
|
|
|
value={'ctx'}
|
|
|
|
|
|
|
|
// showUploadImage={handleShowImage}
|
|
|
|
|
|
|
|
// onContentChange={handleContentChange}
|
|
|
|
|
|
|
|
/>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<UploadComponent load={this.UploadFunc} isComplete={showFiles} changeIsComplete={this.changeIsComplete}></UploadComponent>
|
|
|
|
<UploadComponent load={this.UploadFunc} isComplete={showFiles} changeIsComplete={this.changeIsComplete}></UploadComponent>
|
|
|
|