Commit 8e3ad886 authored by Chen Jiping's avatar Chen Jiping

fix:样式调整

parent 2340a2f2
...@@ -547,7 +547,7 @@ body { ...@@ -547,7 +547,7 @@ body {
.score .medal{ .score .medal{
position: absolute; position: absolute;
top: 6%; top: 6%;
left: 9.8rem; left: 45.4%;
height: 45%; height: 45%;
} }
...@@ -563,7 +563,7 @@ body { ...@@ -563,7 +563,7 @@ body {
text-align: center; text-align: center;
color: #ffffff; color: #ffffff;
position: absolute; position: absolute;
left: 10.15rem; left: 47.2%;
top: 0.9rem; top: 0.9rem;
} }
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<div class="score"> <div class="score">
<img src="../lib/images/excellent.png" class="medal"> <img src="../lib/images/excellent.png" class="medal">
<span id="score" class="val">90</span> <span id="score" class="val">90</span>
<h1 style="position: absolute; top: 2.0rem;left: 9.6rem;"><span class="tips">Great!</span></h1> <h1 style="position: absolute; top: 1.8rem;left: 44%;"><span class="tips">Great!</span></h1>
<div class='sub-score'> <div class='sub-score'>
<table style="width: 100%; height: 100%; position: relative;"> <table style="width: 100%; height: 100%; position: relative;">
<tr class="thead"> <tr class="thead">
......
...@@ -521,7 +521,7 @@ function bindRecorderBtn() { ...@@ -521,7 +521,7 @@ function bindRecorderBtn() {
if (started) { if (started) {
clearInterval(started); clearInterval(started);
} }
// return;
cw.stopRecord(0, function (data) { cw.stopRecord(0, function (data) {
//录完后,显示撤销按钮 //录完后,显示撤销按钮
if (stuUserAspect.firstClickCancel) { if (stuUserAspect.firstClickCancel) {
...@@ -859,7 +859,7 @@ function drawResult(data, text) { ...@@ -859,7 +859,7 @@ function drawResult(data, text) {
fontColor = 'nicetry'; fontColor = 'nicetry';
} }
$(".tips").empty().addClass(fontColor); $(".tips").empty().append(tips).addClass(fontColor);
$(".medal").attr('src', imgSrc); $(".medal").attr('src', imgSrc);
$("#score").empty().append(score); $("#score").empty().append(score);
$("#recorder-text").empty().append(text); $("#recorder-text").empty().append(text);
......
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