众包完善

dev_admin
杨树明 6 years ago
parent 9f1b84bb14
commit fd0402c67c

@ -124,9 +124,9 @@ class InfosPackage extends Component{
} = this.state; } = this.state;
let is_current=this.props.is_current; let is_current=this.props.is_current;
console.log(data) // console.log(data)
return( return(
<div className="educontent"> <div className="educontent mb50">
<Spin size="large" spinning={isSpin}> <Spin size="large" spinning={isSpin}>
<div className="white-panel edu-back-white pt25 pb25 clearfix "> <div className="white-panel edu-back-white pt25 pb25 clearfix ">
<li className={category ? "" : "active"}><a onClick={()=>this.changeCategory()}>全部</a></li> <li className={category ? "" : "active"}><a onClick={()=>this.changeCategory()}>全部</a></li>
@ -209,7 +209,12 @@ class InfosPackage extends Component{
</div> </div>
)})} )})}
{
totalCount >20 &&
<div className="mt30 mb50 edu-txt-center">
<Pagination showQuickJumper total={totalCount} onChange={this.changePage} pageSize={20} current={page}/>
</div>
}
</Spin> </Spin>
</div> </div>

Loading…
Cancel
Save