Merge branch 'gitlink_competitions' of https://git.trustie.net/Gitlink/forgeplus-react into gitlink_competitions

This commit is contained in:
caishi 2023-06-07 15:30:54 +08:00
commit 684f6a803d
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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}