Browse Source

'评分修改'

Rorschach 4 years ago
parent
commit
2613730d3e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      pages/reading/reading.js

+ 3 - 1
pages/reading/reading.js

@@ -401,7 +401,9 @@ Page({
         const accuracy = result.overall; // 准确度 发音分
         const fluency = result.fluency.overall; //流利度 
         let starArray = [];
-        let score = overall / 20;
+        let myOverall = integrity * 0.5 + accuracy * 0.5 + fluency * 0.1 + tone * 0.1;
+        // let score = overall / 20;
+        let score = myOverall / 20;
         if (score <= 0) {
             starArray = [0, 0, 0, 0, 0]
         } else {