diff --git a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js index 9a23f66c1..1f582ce79 100644 --- a/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js +++ b/public/react/src/modules/competitions/Competitimain/CompetitionsIndex.js @@ -144,7 +144,8 @@ class CompetitionsIndex extends Component{ 报名截止时间:{item.enroll_end_time}, ]} extra={ -
+
+
奖金
diff --git a/public/react/src/modules/competitions/Competitimain/Competitionsindex.css b/public/react/src/modules/competitions/Competitimain/Competitionsindex.css index aa2c347f3..6aa2fd641 100644 --- a/public/react/src/modules/competitions/Competitimain/Competitionsindex.css +++ b/public/react/src/modules/competitions/Competitimain/Competitionsindex.css @@ -88,7 +88,8 @@ } .CompetitionsIndex .gutter-row{ - margin-right:20px; + /*margin-right:20px;*/ + width: 33%; } .pt50{ diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js index eb8e661a4..4ccd8fb6f 100755 --- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js +++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js @@ -373,7 +373,15 @@ class CompetitionCommon extends Component{ className={"color000"}>{data && data.start_time}~{data && data.end_time} {/**/} - + diff --git a/public/react/src/modules/osshackathon/Osshackathon.js b/public/react/src/modules/osshackathon/Osshackathon.js index 3b2d16178..eeaff6a2f 100644 --- a/public/react/src/modules/osshackathon/Osshackathon.js +++ b/public/react/src/modules/osshackathon/Osshackathon.js @@ -11,13 +11,34 @@ class Osshackathon extends Component { constructor(props) { super(props) this.state = { - + page:1, + limit:10, + search:undefined } } componentDidMount() { + this.getosshackathon(); } + getosshackathon=()=>{ + let {page,limit,search}=this.state; + let url=`/osshackathon.json`; + axios.get(url,{params:{ + page:page, + limit:limit, + search:search, + }}).then((result)=>{ + if(result.status==200){ + console.log(result) + this.setState({ + + }) + } + }).catch((error)=>{ + console.log(error); + }) + } componentDidUpdate = (prevProps) => {