Merge pull request '公告优化' (#25) from durian/forgeplus-react:hotfix-hot-xiesi into dev_military_notice

This commit is contained in:
tongChong 2021-09-17 14:14:46 +08:00
commit b5e145b4b5
2 changed files with 13 additions and 10 deletions

View File

@ -276,13 +276,13 @@ class Index extends Component {
<div className="ProjectListIndex">
<div className="list-left">
<ul className="list-l-Menu">
<li className="MenuTitle" onClick={() => {this.getType();this.getListData(1,this.state.search, this.state.sort,this.state.category_id);}}>
<li className="MenuTitle" onClick={() => {this.getType();this.changeType(undefined, this.state.typeList);}}>
<span><i className="iconfont icon-bianchengyuyan color-grey-9 font-15 mr5"></i>
语言</span></li>
<div className="list-affix">{typeList}</div>
</ul>
<ul className="list-l-Menu">
<li className="MenuTitle" onClick={() => {this.getCategory();this.getListData(1,this.state.search, this.state.sort,undefined , this.state.languageId)}}>
<li className="MenuTitle" onClick={() => {this.getCategory();this.changeCategory(undefined, this.state.categoryList);}}>
<span><i className="iconfont icon-xiangmuleibie color-grey-9 font-15 mr5"></i></span></li>
<div className="list-affix">{categoryList}</div>
</ul>

View File

@ -165,14 +165,17 @@
background: #fafafa;
}
.active::before{
position: absolute;
left: 0px;
top: 15px;
width: 6px;
content: '';
height: 30px;
background: #1484EF;
.active{
background-color: #fafafa;
& ::before{
position: absolute;
left: 0px;
top: 15px;
width: 6px;
content: '';
height: 30px;
background: #1484EF;
}
}
& i{