Explorar el Código

拼音选择声调时默认高亮第一个拼音

natasha hace 2 días
padre
commit
5803e79132

+ 2 - 2
src/views/book/courseware/preview/components/pinyin_base/PinyinBasePreview.vue

@@ -387,7 +387,7 @@ export default {
         ['m̄', 'ḿ', 'm', 'm̀', 'm'],
       ],
       final_con: '',
-      active_index_str: '', // 高亮索引的字符串
+      active_index_str: '0-0', // 高亮索引的字符串
       active_index_str_right: '', // 查看答案时高亮索引
       active_letter: '', // 选中字母的值
       active_letter_index: 0, // 选择字母索引
@@ -938,7 +938,7 @@ export default {
     }
 
     &.active {
-      color: #2f6fec;
+      color: #2f6fec !important;
     }
   }