|
|
|
@ -25,7 +25,7 @@ class Registration extends React.Component {
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
|
|
|
|
|
type: 5,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ class Registration extends React.Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
const {persons, page, limit} = this.state;
|
|
|
|
|
const {persons, page, limit, type} = this.state;
|
|
|
|
|
const listItems = persons.map((item, index) =>
|
|
|
|
|
<RegisListviewdata></RegisListviewdata>
|
|
|
|
|
);
|
|
|
|
@ -55,26 +55,42 @@ class Registration extends React.Component {
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
{/*大图*/}
|
|
|
|
|
<CompetitionMaxImg type={3}></CompetitionMaxImg>
|
|
|
|
|
<CompetitionMaxImg type={type}></CompetitionMaxImg>
|
|
|
|
|
{/*大图结尾*/}
|
|
|
|
|
{/*没数据*/}
|
|
|
|
|
{/*<RegisNodata></RegisNodata>*/}
|
|
|
|
|
|
|
|
|
|
<Registrationitem></Registrationitem>
|
|
|
|
|
<RegistrationSearch></RegistrationSearch>
|
|
|
|
|
<RegisListview></RegisListview>
|
|
|
|
|
|
|
|
|
|
<Registrationitem type={type}></Registrationitem>
|
|
|
|
|
{
|
|
|
|
|
type === 4 || type === 5 ?
|
|
|
|
|
<RegistrationSearch></RegistrationSearch>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type === 4 || type === 5 ?
|
|
|
|
|
<RegisListview></RegisListview>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{type === 4 || type === 5 ?
|
|
|
|
|
listItems
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{/*<RegisListviewdata></RegisListviewdata>*/}
|
|
|
|
|
{
|
|
|
|
|
type === 5 ?
|
|
|
|
|
<div className="edu-txt-center ysyslxh mt56 " style={{marginBottom: "192px",}}>
|
|
|
|
|
<Pagination showQuickJumper current={page}
|
|
|
|
|
onChange={this.paginationonChangestwo} pageSize={limit}
|
|
|
|
|
total={30}></Pagination>
|
|
|
|
|
</div>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<div className="edu-txt-center ysyslxh mt56 " style={{marginBottom: "192px",}}>
|
|
|
|
|
<Pagination showQuickJumper current={page}
|
|
|
|
|
onChange={this.paginationonChangestwo} pageSize={limit}
|
|
|
|
|
total={30}></Pagination>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|