Browse Source

学生端选择评测模式:移动端相关练习统计页面未展示评测报告

liushengqiang 1 year ago
parent
commit
13ebf507c0
2 changed files with 46 additions and 1 deletions
  1. 45 0
      colexiu-report.html
  2. 1 1
      src/page-orchestra/evaluat-model/index.tsx

+ 45 - 0
colexiu-report.html

@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+  <meta charset="UTF-8" />
+  <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
+  <meta name="viewport"
+    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
+  <title>管乐团云教练</title>
+  <!-- <link rel="icon" href="/favicon.ico" /> -->
+  <script src="/flexible.js" charset="UTF-8"></script>
+  <script src="/helpers/lottie.min.js" charset="UTF-8"></script>
+  <style>
+    #loading {
+      position: fixed;
+      z-index: 100;
+      top: 50%;
+      left: 50%;
+      width: 100Px;
+      height: 100Px;
+      transform: translate(-50%, -50%);
+      pointer-events: none;
+      transition: opacity .3s;
+    }
+  </style>
+</head>
+
+<body>
+  <div id="app"></div>
+  <div id="loading"></div>
+  <script>
+    lottie.loadAnimation({
+      container: document.getElementById('loading'),
+      renderer: 'svg',
+      width: '30px',
+      height: '30px',
+      loop: true,
+      autoplay: true,
+      path: './loading.json'
+    });
+  </script>
+  <script type="module" src="/src/report-share/orchestra-share/main.ts"></script>
+</body>
+
+</html>

+ 1 - 1
src/page-orchestra/evaluat-model/index.tsx

@@ -153,7 +153,7 @@ export default defineComponent({
 				heardLevel: state.setting.evaluationDifficulty,
 				beatLength: Math.round((state.fixtime * 1000) / rate),
 				practiceSource: query.unitId ? "UNIT_TEST" : "PRACTICE",
-				feature: "PRACTICE",
+				feature: 'EVALUATION',
 				// evaluationCriteria: getEvaluationCriteria(),
 			};
 			await connectWebsocket(content);