文案修改

This commit is contained in:
黄心宇 2023-06-13 17:27:02 +08:00
parent 34fdfaff6e
commit 05127ef97f
3 changed files with 22 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -70,20 +70,20 @@ function Rank({ isLocal, match }) {
dataIndex: 'leader',
},
{
title: '得分F1',
title: 'F1',
dataIndex: 'f1',
className: 'textCenter',
defaultSortOrder: 'descend',
sorter: (a, b) => a.f1 - b.f1
},
{
title: '得分P',
title: 'P',
dataIndex: 'precision',
className: 'textCenter',
sorter: (a, b) => a.precision - b.precision
},
{
title: '得分R',
title: 'R',
dataIndex: 'recall',
className: 'textCenter',
sorter: (a, b) => a.recall - b.recall
@ -123,7 +123,8 @@ function Rank({ isLocal, match }) {
</div>
<div className="rank-list">
<img className="ccks_start" src={rank_start} />
{ competitionId === 'zstp2023' ? <span className="ccks-round">{ Date.now() < 1689350400000 ? '训练验证阶段' : '测试排榜阶段'}</span> : <img className="ccks_start" src={rank_start} /> }
<div className="rank-search">
<Search
placeholder='参赛单位/参赛队长姓名'

View File

@ -135,6 +135,23 @@
left: -19px;
}
.ccks-round {
position: absolute;
width: 187px;
height: 70px;
color: #e37f27;
font-size: 20px;
font-weight: bold;
padding-left: 25px;
line-height: 65px;
top: -10px;
left: -19px;
background-image: url('../image/rank-title-bg.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
.ranking-num {
text-align: center;
}