Commit f9af6d0a by zhanghaozhe

智能选课

parent d62ba07f
...@@ -229,12 +229,12 @@ class Scores extends Component { ...@@ -229,12 +229,12 @@ class Scores extends Component {
</tr> </tr>
: <tr> : <tr>
{ {
userScore.score === '-' ? '-' : userScore.score === '-' ? <td>'-'</td> :
<td>{userScore.score} <Link to={`/ai-test/analysis/${userScore.r_id}`}>解析</Link></td> <td>{userScore.score} <Link to={`/ai-test/analysis/${userScore.r_id}`}>解析</Link></td>
} }
<td>{userScore.cost_time}</td> <td>{userScore.cost_time}</td>
{ {
userScore.rank === '-' ? '-' : <td>{userScore.rank}</td> userScore.rank === '-' ? <td>'-'</td> : <td>{userScore.rank}名</td>
} }
</tr> </tr>
} }
......
...@@ -355,9 +355,9 @@ ...@@ -355,9 +355,9 @@
.rule { .rule {
position: absolute; position: absolute;
top: 19.7%; top: 50%;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translate(-50%, -50%);
width: 300px; width: 300px;
padding: 18px 25px 10px; padding: 18px 25px 10px;
background-color: #fff; background-color: #fff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment