|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Github:
|
|
|
|
|
* @Date: 2019-12-17 17:35:17
|
|
|
|
|
* @LastEditors : tangjiang
|
|
|
|
|
* @LastEditTime : 2019-12-26 20:00:56
|
|
|
|
|
* @LastEditTime : 2019-12-27 11:05:17
|
|
|
|
|
*/
|
|
|
|
|
import './index.scss';
|
|
|
|
|
import 'quill/dist/quill.core.css'; // 核心样式
|
|
|
|
@ -88,7 +88,7 @@ function CommentItem ({
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const handleShowUploadImage = (url) => {
|
|
|
|
|
console.log('==============>>>>>>>>>>>>',url);
|
|
|
|
|
// console.log('==============>>>>>>>>>>>>',url);
|
|
|
|
|
setUrl(url);
|
|
|
|
|
}
|
|
|
|
|
// 评论内容
|
|
|
|
@ -245,7 +245,9 @@ function CommentItem ({
|
|
|
|
|
{/* 显示上传的图片信息 */}
|
|
|
|
|
<div className="show_upload_image" style={{ display: url ? 'block' : 'none'}}>
|
|
|
|
|
<Icon type="close" className="image_close" onClick={handleClose}/>
|
|
|
|
|
<img className="image_info" src={url} alt=""/>
|
|
|
|
|
<div className="image_info">
|
|
|
|
|
<img className="image" src={url} alt=""/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|