Skip to content

Commit b65046b

Browse files
committed
feat: 挑战列表页面标题旁显示挑战总数
1 parent 860814a commit b65046b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/ChallengeListPage/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,9 @@ const ChallengeListPage = () => {
386386
<Col span={24}>
387387
<h1 style={{ fontSize: isMobile ? '1.5rem' : '2rem', marginBottom: '1rem' }}>
388388
{t('challenges.title')}
389+
<span style={{ fontWeight: 'normal', fontSize: isMobile ? '1.2rem' : '1.6rem', marginLeft: '8px' }}>
390+
({filteredChallenges.length})
391+
</span>
389392
</h1>
390393

391394
{/* 移动端搜索和过滤器 */}

0 commit comments

Comments
 (0)