dev_aliyun_beta
杨树明 5 years ago
parent 2fe0d756f1
commit 7314f4c527

@ -356,6 +356,7 @@ class InfosTopics extends Component{
margin-right: 20px;
display: block;
margin-bottom: 0px;
color: #666;
}
.mr38{
@ -385,7 +386,7 @@ class InfosTopics extends Component{
<div className="clearfix topicsbox">
{types==="publicly"?<div className={"topcschild"}>
<a className={types==="personal"?"topicstopfont fr topcsactive":"topicstopfont fr"}
href={`/users/${username}/topics/personal`}>个人题库</a>
href={`/users/${username}/topics/personal`}>我的题库</a>
<a className={types==="publicly"?"topicstopfont fl topcsactive":"topicstopfont fl"}
>公共题库</a>
</div>:<div className={"topcschild"}>
@ -408,9 +409,9 @@ class InfosTopics extends Component{
</div>
<div className={"shaiContent"}>
<div className={data===undefined?"":data.course_list===undefined||data.course_list.length===0?"shaiContent mb45":"shaiContent"}>
<li className={course_list_id===undefined?"shaiItem shixun_repertoire active fl":"shaiItem shixun_repertoire fl"} onClick={()=>this.searchCourselistid(undefined)}>全部</li>
<div className="fl pr topicsItem pagetype mb20">
<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>

@ -306,6 +306,7 @@
font-weight: 400;
cursor: pointer;
line-height: 55px;
color: #666;
}
.alltopisc{
@ -401,3 +402,7 @@
max-height: 115px;
overflow-y: auto;
}
.mb45{
margin-bottom: 45px!important;
}
Loading…
Cancel
Save