|
|
|
@ -39,14 +39,14 @@ class NullChildEditor extends Component{
|
|
|
|
|
let { question_title, question_score, question_type, question_choices, standard_answers } = this.state;
|
|
|
|
|
let { question_id, index, onAnswerChange, addChildAnswer, toMDMode, exerciseIsPublish,
|
|
|
|
|
answers } = this.props;
|
|
|
|
|
|
|
|
|
|
// marginTop: '18px'
|
|
|
|
|
return(
|
|
|
|
|
<div className="df" style={{ marginTop: '18px'}}>
|
|
|
|
|
<div className="df" style={{ }}>
|
|
|
|
|
<div className="color-grey-6 mb5 mt6" style={{ flex: '0 0 90px'}}>答案(填空{index + 1}):</div>
|
|
|
|
|
<div className="df flex1" style={{flexDirection: 'column'}}>
|
|
|
|
|
{
|
|
|
|
|
answers.map((item, itemIndex) => {
|
|
|
|
|
return <div className="df mb20 flex1" >
|
|
|
|
|
return <div className="df flex1" >
|
|
|
|
|
<div className="flex1" style={{ flex: '0 0 1000px'}}>
|
|
|
|
|
<DMDEditor
|
|
|
|
|
className={'nullChildEditor'}
|
|
|
|
|