Ver Fonte

1. 语音矩阵录音跟读功能 2.纯文本切换提示 3. 排序题占位符修改与提示

dsy há 1 semana atrás
pai
commit
51e64c7cfd

+ 1 - 1
packages/package.json

@@ -1,6 +1,6 @@
 {
   "name": "eep-ui",
-  "version": "0.0.41",
+  "version": "0.0.42",
   "main": "eep/eep-ui.umd.js",
   "style": "eep/eep-ui.css",
   "exports": {

+ 2 - 1
src/views/book/courseware/create/components/question/sort/Sort.vue

@@ -5,9 +5,10 @@
         <el-input
           v-model="data.content"
           type="textarea"
-          placeholder="你 喜欢 喝 茶 还是 咖啡 ?"
+          placeholder="茶 喜欢 咖啡 还是 你 喝 ?"
           :autosize="{ minRows: 2, maxRows: 6 }"
           resize="none"
+          title="请根据显示顺序输入"
           @change="handleContentChange"
         />
 

+ 1 - 0
src/views/book/courseware/create/components/question/voice_matrix/VoiceMatrix.vue

@@ -49,6 +49,7 @@
               <span
                 class="toggle-pill"
                 :class="{ 'is-active': li.is_only_text }"
+                title="按钮为纯文本模式,开启后仅显示内容,不执行音频打点、播放"
                 @click="toggleOnlyText(li, !li.is_only_text)"
               >
                 <span class="toggle-dot"></span>

+ 2 - 1
src/views/book/courseware/preview/components/voice_matrix/VoiceMatrixPreview.vue

@@ -38,7 +38,7 @@
       <!-- 语音矩阵 -->
       <div
         class="voice-matrix-container"
-        :style="{ height: isEnable(data.property.is_enable_record) ? 'calc(100% - 135px)' : 'auto' }"
+        :style="{ height: isEnable(data.property.is_enable_record) ? 'calc(100% - 115px)' : 'auto' }"
       >
         <div
           v-if="data.option_list.length > 0"
@@ -185,6 +185,7 @@
           type="promax"
           class="luyin-box"
           :answer-record-list="data.record_list"
+          :select-data="selectData"
           :attrib="data.unified_attrib"
           @getWavblob="getWavblob"
           @getSelectData="getSelectData"