parent
a904ff0acf
commit
c9fea71eed
@ -0,0 +1,44 @@
|
|||||||
|
import React, { Component } from 'react';
|
||||||
|
import {getImageUrl} from 'educoder';
|
||||||
|
import { Modal,Icon} from 'antd';
|
||||||
|
import axios from 'axios';
|
||||||
|
import './../questioncss/questioncom.css'
|
||||||
|
import './../../../common/components/comment/index.scss';
|
||||||
|
|
||||||
|
//立即申请试用
|
||||||
|
class QuestionModalys extends Component {
|
||||||
|
|
||||||
|
constructor(props) {
|
||||||
|
super(props);
|
||||||
|
this.state={
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
render() {
|
||||||
|
|
||||||
|
return(
|
||||||
|
<Modal
|
||||||
|
keyboard={false}
|
||||||
|
closable={false}
|
||||||
|
footer={null}
|
||||||
|
destroyOnClose={true}
|
||||||
|
title=""
|
||||||
|
centered={true}
|
||||||
|
visible={this.props.url?true:false}
|
||||||
|
width="442px"
|
||||||
|
>
|
||||||
|
{/* 显示上传的图片信息 */}
|
||||||
|
<div className="show_upload_image" style={{ display: this.props.url ? 'block' : 'none'}}>
|
||||||
|
<Icon type="close" className="image_close" onClick={this.props.handleClose}/>
|
||||||
|
<div className="image_info">
|
||||||
|
<img className="image" src={ this.props.url} alt=""/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Modal>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default QuestionModalys;
|
Loading…
Reference in new issue