问卷预览

dev_forum
caishi 5 years ago
parent d634c7258c
commit 25d4279c1d

@ -90,7 +90,7 @@ class PollDetailTabThird extends Component{
return( return(
<li className="df"> <li className="df">
<Radio className="fl" value={index.answer_id}></Radio> <Radio className="fl" value={index.answer_id}></Radio>
<span className={index.answer_text=="其他"?"break_word":"break_word flex1"}>{index.answer_text}</span> <span className={index.answer_text=="其他"?"break-word":"break-word flex1"}>{index.answer_text}</span>
{ {
index.answer_text=="其他" ? <p className="textLine"></p>:"" index.answer_text=="其他" ? <p className="textLine"></p>:""
} }
@ -110,7 +110,7 @@ class PollDetailTabThird extends Component{
return( return(
<li className="df"> <li className="df">
<Checkbox className="fl mr8" value={index.answer_id}></Checkbox> <Checkbox className="fl mr8" value={index.answer_id}></Checkbox>
<span className={index.answer_text=="其他"?"break_word":"break_word flex1"}>{index.answer_text}</span> <span className={index.answer_text=="其他"?"break-word":"break-word flex1"}>{index.answer_text}</span>
{ {
index.answer_text=="其他" ? <p className="textLine"></p>:"" index.answer_text=="其他" ? <p className="textLine"></p>:""
} }

Loading…
Cancel
Save