|
|
|
@ -9,6 +9,11 @@ import {
|
|
|
|
|
Pagination,
|
|
|
|
|
} from "antd";
|
|
|
|
|
import './../questioncss/questioncom.css';
|
|
|
|
|
const tagArray = [
|
|
|
|
|
'A.', 'B.', 'C.', 'D.', 'E.', 'F.', 'G.', 'H.', 'I.',
|
|
|
|
|
'J.', 'K.', 'L.', 'M.', 'N.', 'O.', 'P.', 'Q.', 'R.',
|
|
|
|
|
'S.', 'T.', 'U.', 'V.', 'W.', 'X.', 'Y.', 'Z.'
|
|
|
|
|
]
|
|
|
|
|
class Listjihe extends Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props);
|
|
|
|
@ -40,7 +45,7 @@ class Listjihe extends Component {
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let {page,name,nd,chakanjiexibool}=this.state;
|
|
|
|
|
let {defaultActiveKey}=this.props;
|
|
|
|
|
let {defaultActiveKey,items}=this.props;
|
|
|
|
|
|
|
|
|
|
//console.log("Listjihe");
|
|
|
|
|
//console.log(this.props);
|
|
|
|
@ -49,25 +54,36 @@ class Listjihe extends Component {
|
|
|
|
|
{/*顶部*/}
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<div className="w70s listjihetixingstit">
|
|
|
|
|
1___________的意思?
|
|
|
|
|
{
|
|
|
|
|
items&&items.name
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
<div className="w30s xaxisreverseorder">
|
|
|
|
|
<p className="listjihetixing">难度:<span className="listjihetixings">{nd}</span></p>
|
|
|
|
|
<p className="mr30 listjihetixing">题型:<span className="listjihetixings">{name}</span></p>
|
|
|
|
|
<p className="listjihetixing">难度:<span className="listjihetixings">{items.difficulty===1?"简单":items.difficulty===2?"适中":items.difficulty===3?"困难":""}</span></p>
|
|
|
|
|
<p className="mr30 listjihetixing">题型:<span className="listjihetixings">{items.item_type==="SINGLE"?"单选题":""}</span></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{/*内容*/}
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<p className="w100s listjihetixingstits">
|
|
|
|
|
A.网页 B.万维网 D.超文本传输协议
|
|
|
|
|
</p>
|
|
|
|
|
<p className="w100s listjihetixingstits sortinxdirection">
|
|
|
|
|
{items === undefined ||items === null? "" : items.choices.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<p className="sortinxdirection ml10">
|
|
|
|
|
{tagArray[index]}
|
|
|
|
|
{
|
|
|
|
|
object.choice_text
|
|
|
|
|
}
|
|
|
|
|
</p>
|
|
|
|
|
)
|
|
|
|
|
})}
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/*更新时间*/}
|
|
|
|
|
<div className="w100s sortinxdirection mt22">
|
|
|
|
|
<div className="w50s listjihetixingstit sortinxdirection">
|
|
|
|
|
<p className="updatetimes lh30">更新时间:2019-12-09</p>
|
|
|
|
|
<p className="updatetimes lh30">创建者:王老师</p>
|
|
|
|
|
<p className="updatetimes lh30">更新时间:{items.update_time}</p>
|
|
|
|
|
<p className="updatetimes lh30 ml45">创建者:{items.author.name}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="w50s xaxisreverseorder">
|
|
|
|
|
<p className="selection xiaoshou">
|
|
|
|
@ -106,7 +122,10 @@ class Listjihe extends Component {
|
|
|
|
|
<p className="analysis mt22">解析:</p>
|
|
|
|
|
|
|
|
|
|
<p className="mt15 testfondex">
|
|
|
|
|
万维网WWW是World Wide Web的简称,也称为Web、3W等。WWW是基于客户机/服务器方式的信息发现技术和超文本技术的综合。WWW服务器通过超文本标记语言(HTML)把信息组织成为图文并茂的超文本,利用链接从一个站点跳到另个站点。这样一来彻底摆脱了以前查询工具只能按特定路径一步步地查找信息的限制
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
items.analysis
|
|
|
|
|
}
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
</div>:""
|
|
|
|
|