commit
All checks were successful
Deploy to Server / deploy (push) Successful in 26s

This commit is contained in:
jeremygan2021
2026-03-11 22:56:03 +08:00
parent dbd752b833
commit 8b11d0aab1
3 changed files with 40 additions and 8 deletions

View File

@@ -235,15 +235,42 @@
.comment-header {
display: flex;
justify-content: space-between;
margin-bottom: 16px;
align-items: center;
margin-bottom: 12px;
.judge-name {
font-size: 18px;
font-weight: bold;
color: #00b96b;
.judge-info {
display: flex;
align-items: baseline;
.judge-name {
font-size: 16px;
font-weight: bold;
color: #00b96b;
margin-right: 8px;
}
.judge-score-box {
display: flex;
align-items: baseline;
.score-num {
font-size: 24px;
font-weight: bold;
color: #fff;
line-height: 1;
margin-right: 2px;
}
.score-unit {
font-size: 14px;
color: #999;
font-weight: normal;
}
}
}
.comment-time {
font-size: 16px;
font-size: 12px;
color: #666;
}
}

View File

@@ -143,7 +143,12 @@ export default function ProjectDetail() {
<View className='comment-header'>
<View className='judge-info'>
<Text className='judge-name'>{c.judge_name || '评委'}</Text>
{c.score && <Text className='judge-score'>{c.score}</Text>}
{c.score && (
<View className='judge-score-box'>
<Text className='score-num'>{c.score}</Text>
<Text className='score-unit'></Text>
</View>
)}
</View>
<Text className='comment-time'>{c.created_at?.substring(0, 16)}</Text>
</View>