|
|
|
@ -293,7 +293,7 @@ class CompetitionCommon extends Component{
|
|
|
|
|
{data.competition_status==="ended"?
|
|
|
|
|
<Button type="primary" block className={"Competitionfontsize22"} disabled={true}>
|
|
|
|
|
已结束
|
|
|
|
|
</Button>:data.enroll_end_time
|
|
|
|
|
</Button>:
|
|
|
|
|
data.competition_status==="progressing"?<Button type="primary" block className={"Competitionfontsize22"}>
|
|
|
|
|
{data.mode===2?<a onClick={()=>this.gotocourse()}>立即报名</a>:<a onClick={()=>this.gotocourse(`/newcompetitions/${this.props.match.params.identifier}/enroll`)}>立即报名</a>}
|
|
|
|
|
</Button>:""}
|
|
|
|
|