Commit 72d219a1 authored by Chen Jiping's avatar Chen Jiping

fix:样式调整

parent c93756b0
......@@ -547,8 +547,8 @@ body {
.score .medal{
position: absolute;
top: 6%;
left: 45.5%;
width: 9%;
left: 45%;
width: 10%;
}
.score .val{
......
......@@ -131,7 +131,10 @@
<div id="result">
<div class="score">
<img src="../lib/images/excellent.png" class="medal">
<div class="medal">
<img id="medal" src="../lib/images/excellent.png" style="width: 100%;">
</div>
<div style="position: absolute;left: 40%;top: 23%;width: 20%;text-align: center;">
<span id="score" class="val">90</span>
</div>
......
......@@ -860,7 +860,7 @@ function drawResult(data, text) {
}
$(".tips").empty().append(tips).addClass(fontColor);
$(".medal").attr('src', imgSrc);
$("#medal").attr('src', imgSrc);
$("#score").empty().append(score);
$("#recorder-text").empty().append(text);
$("#evaluation").empty().append(temp.evaluate);
......
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