|
|
|
@ -9,7 +9,7 @@ import moment from 'moment';
|
|
|
|
|
import {SnackbarHOC, WordsBtn} from 'educoder';
|
|
|
|
|
import {TPMIndexHOC} from '../tpm/TPMIndexHOC';
|
|
|
|
|
import competition from './comcss/competition.css';
|
|
|
|
|
import {Button} from 'antd';
|
|
|
|
|
import {Button, Pagination,} from 'antd';
|
|
|
|
|
import Registrationitem from './Registrationitem';
|
|
|
|
|
import RegisNodata from './RegisNodata';
|
|
|
|
|
import CompetitionMaxImg from './CompetitionMaxImg';
|
|
|
|
@ -20,12 +20,27 @@ import RegisListviewdata from './RegisListviewdata';
|
|
|
|
|
class Registration extends React.Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props)
|
|
|
|
|
this.state = {
|
|
|
|
|
persons: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
paginationonChangestwo = (pageNumber) => {
|
|
|
|
|
this.setState({
|
|
|
|
|
page: pageNumber,
|
|
|
|
|
loadingstate: true,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
const {persons, page, limit} = this.state;
|
|
|
|
|
const listItems = persons.map((item, index) =>
|
|
|
|
|
<RegisListviewdata></RegisListviewdata>
|
|
|
|
|
);
|
|
|
|
|
return (
|
|
|
|
|
<div className="newMain clearfix ">
|
|
|
|
|
<div className={"educontent mb20"} style={{width: "1200px", marginTop: "26px"}}>
|
|
|
|
@ -48,9 +63,18 @@ class Registration extends React.Component {
|
|
|
|
|
<Registrationitem></Registrationitem>
|
|
|
|
|
<RegistrationSearch></RegistrationSearch>
|
|
|
|
|
<RegisListview></RegisListview>
|
|
|
|
|
<RegisListviewdata></RegisListviewdata>
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
listItems
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{/*<RegisListviewdata></RegisListviewdata>*/}
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|