|
|
|
@ -64,8 +64,13 @@ class Listjihe extends Component {
|
|
|
|
|
let {page,name,nd,chakanjiexibool}=this.state;
|
|
|
|
|
let {defaultActiveKey,items}=this.props;
|
|
|
|
|
|
|
|
|
|
////console.log("Listjihe");
|
|
|
|
|
////console.log(this.props);
|
|
|
|
|
const names= items&&items.name&&items.name;
|
|
|
|
|
const question_counts=items&&items.question_count&&items.question_count;
|
|
|
|
|
const total_scores =items&&items.total_score&&items.total_score;
|
|
|
|
|
const difficultys=items&&items.difficulty&&items.difficulty===1?"简单":items&&items.difficulty&&items.difficulty===2?"适中":items&&items.difficulty&&items.difficulty===3?"困难":""
|
|
|
|
|
const update_times=items&&items.update_time&&items.update_time;
|
|
|
|
|
const quotess =items&&items.quotes&&items.quotes;
|
|
|
|
|
const authors=items&&items.author&&items.author.name;
|
|
|
|
|
return (
|
|
|
|
|
<div className={chakanjiexibool===true?"w100s borderwds283 pd20 mb20":"w100s borderwds pd20 mb20 intermediatecenter"}>
|
|
|
|
|
<div className="sortinxdirection w100s">
|
|
|
|
@ -74,27 +79,27 @@ class Listjihe extends Component {
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div className="w100s verticallayout ml37" >
|
|
|
|
|
<div className="w100s"> <p className="sjtitle">前端开发评测试题1</p></div>
|
|
|
|
|
<div className="w100s"> <p className="sjtitle">{names}</p></div>
|
|
|
|
|
<div className="w100s sortinxdirection mt9">
|
|
|
|
|
<p className="sjtitles">试题数:<span >35</span></p>
|
|
|
|
|
<p className="sjtitles ml48">总分:<span >100</span></p>
|
|
|
|
|
<p className="sjtitles ml48">难度:<span >适中</span></p>
|
|
|
|
|
<p className="sjtitles">试题数:<span >{question_counts}</span></p>
|
|
|
|
|
<p className="sjtitles ml48">总分:<span >{total_scores}</span></p>
|
|
|
|
|
<p className="sjtitles ml48">难度:<span >{difficultys}</span></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="w100s sortinxdirection mt11">
|
|
|
|
|
<div className="w50s sortinxdirection">
|
|
|
|
|
<div className="w60s sortinxdirection">
|
|
|
|
|
<p className='sjtitlesysl'>
|
|
|
|
|
更新时间:<span>2019-12-09</span>
|
|
|
|
|
更新时间:<span>{update_times}</span>
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
<p className='sjtitlesysl'>
|
|
|
|
|
使用次数:<span>1245</span>
|
|
|
|
|
<p className='sjtitlesysl ml30'>
|
|
|
|
|
使用次数:<span>{quotess}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p className='sjtitlesysl'>
|
|
|
|
|
创建者:<span>王老师</span>
|
|
|
|
|
<p className='sjtitlesysl ml30'>
|
|
|
|
|
创建者:<span>{authors}</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div className="w50s xaxisreverseorder">
|
|
|
|
|
<div className="w40s xaxisreverseorder">
|
|
|
|
|
<p className="viewparsings xiaoshou mr25">
|
|
|
|
|
<i className="iconfont icon-shanchu1 font-17 lg ml7 lh30 icontianjiadaohangcolors mr5"></i>
|
|
|
|
|
<span>删除</span>
|
|
|
|
|