forked from Gitlink/forgeplus-react
Merge branch 'gitlink_competitions' of https://git.trustie.net/Gitlink/forgeplus-react into gitlink_competitions
This commit is contained in:
commit
684f6a803d
|
@ -555,7 +555,7 @@ async function JoinTeams(name: any) {
|
|||
<p style={{ display: 'flex', justifyContent: 'space-between', marginRight: 18 }}>
|
||||
{ <span style={{ display: 'flex', flexDirection:'column', alignItems:'center' }}><span>奖金</span>{!!HeaderDetail?.bonus ?<span style={{ fontSize: '24px' }}>¥{parseInt(HeaderDetail && HeaderDetail.bonus).toLocaleString()}</span>:<span style={{ fontSize: '24px' }}>暂无</span>}</span>}
|
||||
<span style={{ display: 'flex', flexDirection:'column', alignItems:'center' }}><span>浏览</span><span style={{ fontSize: '24px' }}>{parseInt(HeaderDetail && HeaderDetail.visits_count).toLocaleString()}</span></span>
|
||||
<span style={{ display: 'flex', flexDirection:'column', alignItems:'center' }}><span>报名战队</span><span style={{ fontSize: '24px' }}>{parseInt(HeaderDetail && HeaderDetail.member_count).toLocaleString()}</span></span>
|
||||
<span style={{ display: 'flex', flexDirection:'column', alignItems:'center' }}><span>报名</span><span style={{ fontSize: '24px' }}>{parseInt(HeaderDetail && HeaderDetail.member_count).toLocaleString()}</span></span>
|
||||
</p>
|
||||
<p className={styles.timesize} style={{marginTop:30}}><span style={{ color: '#9b9b9b',marginTop:'30px' }}>竞赛时间:</span>{HeaderDetail.start_time}~{HeaderDetail.end_time}</p>
|
||||
<p className={styles.timesize}><span style={{ color: '#9b9b9b' }}>报名截止:</span>{HeaderDetail.enroll_end_time}</p>
|
||||
|
|
|
@ -547,7 +547,7 @@ const competitionsIndexPage: FC<PageProps> = ({
|
|||
{parseInt(item.bonus).toLocaleString()}
|
||||
</div>
|
||||
{item.member_count ? <div className={styles.applyInfo}>
|
||||
报名战队:
|
||||
已报名:
|
||||
{item.competition_status === 'nearly_published'
|
||||
? '0'
|
||||
: item.member_count}
|
||||
|
|
Loading…
Reference in New Issue