Commit 85284206 authored by Chen Jiping's avatar Chen Jiping

feat:修改徽章判断条件

parent a6f01a66
...@@ -845,12 +845,12 @@ function drawResult(data, text) { ...@@ -845,12 +845,12 @@ function drawResult(data, text) {
let tips = ""; let tips = "";
let fontColor = ''; let fontColor = '';
if (score >= 80) { if (score >= 90) {
imgSrc = "../lib/images/excellent.png"; imgSrc = "../lib/images/excellent.png";
tips = 'Excellent!' tips = 'Excellent!'
fontColor = 'excellent'; fontColor = 'excellent';
} }
else if (score >= 60) { else if (score >= 76) {
imgSrc = "../lib/images/great.png"; imgSrc = "../lib/images/great.png";
tips = 'Great!' tips = 'Great!'
fontColor = 'great'; fontColor = 'great';
......
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