Rorschach 4 anni fa
parent
commit
2613730d3e
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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 {