Browse Source

句子模板 pyposition

natasha 2 years ago
parent
commit
75da8f33d1

+ 2 - 2
src/components/Adult/preview/components/OneSentenceTemp.vue

@@ -152,7 +152,7 @@
               "
             >
               <span
-                v-if="pyNumber > 0 && curQue.pyPosition == 'top'"
+                v-if="pyNumber > 0 && pyPosition == 'top'"
                 :class="[
                   'NPC-pinyin',
                   noFont.indexOf(detail.wordsList[pIndex + 2].pinyin) > -1
@@ -179,7 +179,7 @@
                 >{{ detail.wordsList[pIndex + 2].chs }}</span
               >
               <span
-                v-if="pyNumber > 0 && curQue.pyPosition == 'bottom'"
+                v-if="pyNumber > 0 && pyPosition == 'bottom'"
                 :class="[
                   'NPC-pinyin',
                   noFont.indexOf(detail.wordsList[pIndex + 2].pinyin) > -1

+ 2 - 2
src/views/courseView.vue

@@ -56,7 +56,7 @@
           :is-show-title="true"
           :book-answer-content="bookAnswerContent"
           :task-model="TaskModel"
-          :is-show-save="true"
+          :is-show-save="false"
           @finishTaskMaterial="finishTaskMaterial"
         />
       </div>
@@ -109,7 +109,7 @@ export default {
           ],
         },
       ],
-      bookAnswerContent: `[{"table_list":[[{"data":{"Bookanswer":{"userAnswerJudge":"[JUDGE##T##JUDGE]","data":[{"source":"left_00_0_0_002-20221214-11-BLEVKSO9G9Isexample","target":"right_00_0_0_002-20221214-11-BLEVKSO9G9","index":0,"answer":0},{"answer":1,"index":1,"source":"left_10_0_0_002-20221214-11-BLEVKSO9G9","target":"right_10_0_0_002-20221214-11-BLEVKSO9G9"},{"answer":2,"index":2,"source":"left_20_0_0_002-20221214-11-BLEVKSO9G9","target":"right_20_0_0_002-20221214-11-BLEVKSO9G9"},{"answer":3,"index":3,"source":"left_30_0_0_002-20221214-11-BLEVKSO9G9","target":"right_30_0_0_002-20221214-11-BLEVKSO9G9"}]}}}]]}]`,
+      bookAnswerContent: '',
       TaskModel: "", // TEST 考试模式; PRACTICE 练习模式; ANSWER 查看答案模式; 空 预览模式
       category: "",
       FatherTreeData: null,