试卷样式

dev_new_shixunsrepository
杨树林 5 years ago
parent bf3b01fb54
commit b5d951ab07

@ -98,7 +98,10 @@ class SingleDisplay extends Component{
// }
if (question_type == 0) { // 单选
return (
<div className="mb10 clearfix" key={optionIndex}>
<div className="mb10 clearfix " style={{
display: "flex",
flexDirection:"row",
}} key={optionIndex}>
<Radio disabled className="fl lineh-25" checked={item.standard_boolean}>{prefix}</Radio>
<MarkdownToHtml content={item.choice_text} selector={'single_' + (index + 1) + '' + (optionIndex + 1)} style={{ float: 'left', display: 'inline-block' }}
@ -109,7 +112,10 @@ class SingleDisplay extends Component{
} else {
return (
<div className="mb10 clearfix" key={optionIndex}>
<div className="mb10 clearfix" style={{
display: "flex",
flexDirection:"row",
}} key={optionIndex}>
<Checkbox disabled className="fl lineh-25 mr8" checked={item.standard_boolean}>{prefix}</Checkbox>
<MarkdownToHtml content={item.choice_text} selector={'single_' + (index + 1)+ '' + (optionIndex + 1)} style={{ float: 'left', display: 'inline-block' }}

Loading…
Cancel
Save