|
|
|
@ -66,6 +66,9 @@ class Paperreview_single extends Component {
|
|
|
|
|
let {questions,totalscore,total,items} = this.state;
|
|
|
|
|
let {objectsingle} =this.props;
|
|
|
|
|
// //console.log(params);
|
|
|
|
|
|
|
|
|
|
const objectsingleid=objectsingle.id;
|
|
|
|
|
const objectsinglescore=`(${objectsingle.score}分)`;
|
|
|
|
|
return (
|
|
|
|
|
<div className="w100s borderwdswuh mt25 mb20 pd20 " style={{
|
|
|
|
|
minHeight: "114px",
|
|
|
|
@ -74,9 +77,9 @@ class Paperreview_single extends Component {
|
|
|
|
|
|
|
|
|
|
{/*顶部*/}
|
|
|
|
|
<div className="w100s sortinxdirection ">
|
|
|
|
|
<div className=" sortinxdirection ">
|
|
|
|
|
<p className="cretitlecolrlis lh28">{objectsingle.id}</p>、<p className="cretitlecolrlisobj lh28">({objectsingle.score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
{/*<div className=" sortinxdirection ">*/}
|
|
|
|
|
{/* <p className="cretitlecolrlis lh28">{objectsingleid}</p>、<p className="cretitlecolrlisobj lh28">({objectsinglescore}分)</p>*/}
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
@ -95,38 +98,57 @@ class Paperreview_single extends Component {
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<div className=" lh28 listjihetixingstit markdown-body cretitlecolrlist" style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(objectsingle&&objectsingle.name).replace(/▁/g, "▁▁▁")}}>
|
|
|
|
|
<div className=" lh28 listjihetixingstit markdown-body cretitlecolrlist" style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(objectsingleid+objectsinglescore+objectsingle.name).replace(/▁/g, "▁▁▁")}}>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{/*内容*/}
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
|
|
|
|
|
<p className="w100s listjihetixingstits sortinxdirection ">
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
objectsingle.item_type==="JUDGMENT"?
|
|
|
|
|
objectsingle === undefined ||objectsingle === null? "" : objectsingle.choices.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<p className={index===1? "sortinxdirection ml10":"sortinxdirection " } >
|
|
|
|
|
<Radio checked={object.is_answer}>
|
|
|
|
|
{object.choice_text}
|
|
|
|
|
</Radio>
|
|
|
|
|
</p>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
<p className="w100s listjihetixingstits sortinxdirection ">
|
|
|
|
|
{
|
|
|
|
|
objectsingle === undefined ||objectsingle === null? "" : objectsingle.choices.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<p className={index===1? "sortinxdirection ml10":"sortinxdirection " } >
|
|
|
|
|
<Radio checked={object.is_answer}>
|
|
|
|
|
{object.choice_text}
|
|
|
|
|
</Radio>
|
|
|
|
|
</p>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
</p>
|
|
|
|
|
:
|
|
|
|
|
objectsingle === undefined ||objectsingle === null? "" : objectsingle.choices.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<p className="sortinxdirection " >
|
|
|
|
|
{tagArray[index]}
|
|
|
|
|
<p style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(object.choice_text).replace(/▁/g, "▁▁▁")}}></p>
|
|
|
|
|
objectsingle.item_type==="PROGRAM"?
|
|
|
|
|
<p className="w100s listjihetixingstitssy sortinxdirection ">
|
|
|
|
|
<p className={"sortinxdirection mt15"} >
|
|
|
|
|
<p style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(objectsingle.program_attr.description).replace(/▁/g, "▁▁▁")}}></p>
|
|
|
|
|
</p>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
</p>
|
|
|
|
|
:
|
|
|
|
|
<p className="w100s listjihetixingstits verticallayout ">
|
|
|
|
|
{
|
|
|
|
|
objectsingle === undefined ||objectsingle === null? "" : objectsingle.choices.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<p className={index===0?"sortinxdirection":"sortinxdirection mt15"} >
|
|
|
|
|
{tagArray[index]}
|
|
|
|
|
<p style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(object.choice_text).replace(/▁/g, "▁▁▁")}}></p>
|
|
|
|
|
</p>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
</p>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|