natasha před 3 týdny
rodič
revize
e07a4e71d5

+ 8 - 5
src/views/book/courseware/preview/common/RecordScoreSingleDetail.vue

@@ -13,9 +13,9 @@
     <div class="progress-box">
       <div class="progress-left">
         <el-progress
-          width="92"
+          :width="92"
           type="circle"
-          stroke-width="11"
+          :stroke-width="11"
           define-back-color="#e9edf2"
           stroke-linecap="butt"
           :color="customColor"
@@ -34,7 +34,7 @@
         <div class="progress-right-item">
           <span>准确度</span>
           <el-progress
-            stroke-width="6"
+            :stroke-width="6"
             define-back-color="#e9edf2"
             :color="customColor"
             :percentage="recordScoreDetail.accuracy"
@@ -48,7 +48,7 @@
         <div class="progress-right-item">
           <span>流利度</span>
           <el-progress
-            stroke-width="6"
+            :stroke-width="6"
             define-back-color="#e9edf2"
             :color="customColor"
             :percentage="recordScoreDetail.fluency"
@@ -62,7 +62,7 @@
         <div class="progress-right-item">
           <span>完整度</span>
           <el-progress
-            stroke-width="6"
+            :stroke-width="6"
             define-back-color="#e9edf2"
             :color="customColor"
             :percentage="recordScoreDetail.integrity"
@@ -176,6 +176,9 @@ export default {
       ed: null,
       type: '',
       curTime: 0,
+      oldSrc: '',
+      playtime: 0, // 播放时间
+      timer: null, // 计时器
     };
   },
   computed: {},

+ 5 - 5
src/views/book/courseware/preview/common/RecordScoreWholeDetail.vue

@@ -12,9 +12,9 @@
     <div class="progress-box">
       <div class="progress-left">
         <el-progress
-          width="92"
+          :width="92"
           type="circle"
-          stroke-width="11"
+          :stroke-width="11"
           define-back-color="#e9edf2"
           stroke-linecap="butt"
           :color="customColor"
@@ -33,7 +33,7 @@
         <div class="progress-right-item">
           <span>准确度</span>
           <el-progress
-            stroke-width="6"
+            :stroke-width="6"
             define-back-color="#e9edf2"
             :color="customColor"
             :percentage="accuracy"
@@ -47,7 +47,7 @@
         <div class="progress-right-item">
           <span>流利度</span>
           <el-progress
-            stroke-width="6"
+            :stroke-width="6"
             define-back-color="#e9edf2"
             :color="customColor"
             :percentage="fluency"
@@ -61,7 +61,7 @@
         <div class="progress-right-item">
           <span>完整度</span>
           <el-progress
-            stroke-width="6"
+            :stroke-width="6"
             define-back-color="#e9edf2"
             :color="customColor"
             :percentage="integrity"