调整题库

dev_aliyun_beta
杨树明 5 years ago
parent 123e816f07
commit d08a2d0a07

@ -353,20 +353,16 @@ class InfosTopics extends Component{
}
.shaiContent li.shaiItem {
padding: 0px 15px;
padding: 0px 9px;
float: left;
border-radius: 4px;
cursor: pointer;
margin-right: 20px;
margin-right: 10px;
display: block;
margin-bottom: 0px;
color: #666;
}
.mr38{
margin-right:38px;
}
.maxwidth900{
max-width: 900px;
overflow:hidden;
@ -381,7 +377,9 @@ class InfosTopics extends Component{
.homepagePostSettingbox{
width:139px !important;
}
.marright0{
margin-right: 0px !important;
}
`
}
</style>
@ -407,7 +405,7 @@ class InfosTopics extends Component{
<div className={"topcsmid"}>
{categorylist.map((item,key)=>{
return(
<span key={key} className={category===item.type?"topicsmidfont fl mr38 topcsactive":"topicsmidfont fl mr38"} onClick={()=>this.searchCategory(item.type)}>{item.val}</span>
<span key={key} className={category===item.type?"topicsmidfont fl mr30 topcsactive":"topicsmidfont fl mr30"} onClick={()=>this.searchCategory(item.type)}>{item.val}</span>
)
})}
@ -418,7 +416,7 @@ class InfosTopics extends Component{
<div className="fl pr topicsItem mb20">
{data===undefined?"":data.course_list===undefined||data.course_list.length===0?"":data.course_list.map((item,key)=>{
return(
<li key={key} className={course_list_id===item.id?"shaiItem shixun_repertoire active":"shaiItem shixun_repertoire"} onClick={()=>this.searchCourselistid(item.id)}>{item.name}</li>
<li key={key} className={course_list_id===item.id?"shaiItem shixun_repertoire active marright0":"shaiItem shixun_repertoire marright0"} onClick={()=>this.searchCourselistid(item.id)}>{item.name}</li>
)
})}
</div>
@ -442,15 +440,15 @@ class InfosTopics extends Component{
</div>
{isshowprofes===false?<div className="clearfix font-12 mt20">
<p className="font-12 alltopisc ml25 fl">
<span className="fl color-grey-9"> <span className={"color-orange"}>{data&&data.count===undefined?0:data&&data.count}</span> </span>
<p className="font-12 ml25 fl">
<span className="fl color-grey-9 mr20"> <span className={"color-orange"}>{data&&data.count===undefined?0:data&&data.count}</span> </span>
<span className="fr color-grey-9">已选择 <span className={"color-orange"}>{checkBoxValues.length}</span> ()</span>
</p>
<p className="font-12 alltopiscright ml25 fr">
<Dropdown overlay={menu}>
<span className="fr color-grey-9 mr10 pointer">
{sort_by==="updated_at"?'最近更新':sort_by==="name"?'题目更新':sort_by==="contributor"?"贡献者":""}
<sapn className="relativef ml20">
<span>{sort_by==="updated_at"?'最近更新':sort_by==="name"?'题目更新':sort_by==="contributor"?"贡献者":""}</span>
<sapn className="relativef ml10" onClick={()=>this.updatedlist(sort_by)}>
<i className={sort_direction==="asc"?
"iconfont icon-sanjiaoxing-up font-12 topsj color-blue" :"iconfont icon-sanjiaoxing-up font-12 topsj"}></i>
<i className={sort_direction==="desc"?
@ -488,7 +486,7 @@ class InfosTopics extends Component{
{item.name}
</a>
{item.is_public===true?<span className="edu-filter-btn ml15 fl typestyle mt3 topiscfilterbtn">公开</span>:""}
{item.is_public===true?<span className="edu-filter-btn edu-filter-btn-4CACFF ml15 fl typestyle mt3">公开</span>:""}

@ -398,7 +398,7 @@
}
.topicsItem{
max-width: 1050px;
max-width: 1073px;
max-height: 115px;
overflow-y: auto;
}

Loading…
Cancel
Save