|
@@ -6,27 +6,27 @@
|
|
v-if="cur"
|
|
v-if="cur"
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
- class="NNPE-title"
|
|
|
|
v-if="
|
|
v-if="
|
|
cur.detailList &&
|
|
cur.detailList &&
|
|
- cur.detailList.length > 0 &&
|
|
|
|
- cur.detailList[0].sentence
|
|
|
|
|
|
+ cur.detailList.length > 0 &&
|
|
|
|
+ cur.detailList[0].sentence
|
|
"
|
|
"
|
|
|
|
+ class="NNPE-title"
|
|
>
|
|
>
|
|
<!-- 页眉 -->
|
|
<!-- 页眉 -->
|
|
<div class="NNPE-title-left">
|
|
<div class="NNPE-title-left">
|
|
<div
|
|
<div
|
|
- class="NNPE-title-item"
|
|
|
|
v-for="(item, index) in cur.detailList"
|
|
v-for="(item, index) in cur.detailList"
|
|
:key="index"
|
|
:key="index"
|
|
|
|
+ class="NNPE-title-item"
|
|
>
|
|
>
|
|
<template v-if="item.wordsList.length == 0">
|
|
<template v-if="item.wordsList.length == 0">
|
|
<p
|
|
<p
|
|
|
|
+ v-if="item.sentence"
|
|
:class="[
|
|
:class="[
|
|
'content-con',
|
|
'content-con',
|
|
/^[\u4e00-\u9fa5]/.test(item.sentence) ? 'hasCn' : '',
|
|
/^[\u4e00-\u9fa5]/.test(item.sentence) ? 'hasCn' : '',
|
|
]"
|
|
]"
|
|
- v-if="item.sentence"
|
|
|
|
>
|
|
>
|
|
{{ item.sentence }}
|
|
{{ item.sentence }}
|
|
</p>
|
|
</p>
|
|
@@ -34,16 +34,16 @@
|
|
<template v-else>
|
|
<template v-else>
|
|
<div class="con-box">
|
|
<div class="con-box">
|
|
<div
|
|
<div
|
|
- :class="['con-item', indexCon === 0 ? 'con-item-0' : '']"
|
|
|
|
v-for="(itemCon, indexCon) in item.resArr"
|
|
v-for="(itemCon, indexCon) in item.resArr"
|
|
- :key="indexCon"
|
|
|
|
v-show="itemCon.isShow"
|
|
v-show="itemCon.isShow"
|
|
|
|
+ :key="indexCon"
|
|
|
|
+ :class="['con-item', indexCon === 0 ? 'con-item-0' : '']"
|
|
>
|
|
>
|
|
<template
|
|
<template
|
|
v-if="
|
|
v-if="
|
|
item.wordsList[indexCon + 1] &&
|
|
item.wordsList[indexCon + 1] &&
|
|
- item.wordsList[indexCon + 1].chs &&
|
|
|
|
- chsFhList.indexOf(item.wordsList[indexCon + 1].chs) > -1
|
|
|
|
|
|
+ item.wordsList[indexCon + 1].chs &&
|
|
|
|
+ chsFhList.indexOf(item.wordsList[indexCon + 1].chs) > -1
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<div class="synthesis-box">
|
|
<div class="synthesis-box">
|
|
@@ -76,10 +76,10 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
- class="classTopic-box"
|
|
|
|
v-if="
|
|
v-if="
|
|
cur.classTopic && cur.classTopic.length > 0 && cur.classTopic[0].con
|
|
cur.classTopic && cur.classTopic.length > 0 && cur.classTopic[0].con
|
|
"
|
|
"
|
|
|
|
+ class="classTopic-box"
|
|
>
|
|
>
|
|
<span
|
|
<span
|
|
v-for="(item, index) in cur.classTopic"
|
|
v-for="(item, index) in cur.classTopic"
|
|
@@ -117,25 +117,25 @@
|
|
>
|
|
>
|
|
<template v-if="itemss.data">
|
|
<template v-if="itemss.data">
|
|
<template v-if="itemss.type == 'ligature_chs'">
|
|
<template v-if="itemss.type == 'ligature_chs'">
|
|
- <Ligature :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <Ligature :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.data.type == 'image'">
|
|
<template v-if="itemss.data.type == 'image'">
|
|
- <Picture :cur-que="itemss.data" :child-type="itemss.type" :themeColor="themeColor" />
|
|
|
|
|
|
+ <Picture :cur-que="itemss.data" :child-type="itemss.type" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'record_chs'">
|
|
<template v-if="itemss.type == 'record_chs'">
|
|
- <Record :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <Record :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'phrase_chs'">
|
|
<template v-if="itemss.type == 'phrase_chs'">
|
|
- <WordPhrase :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <WordPhrase :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'NewWord_chs'">
|
|
<template v-if="itemss.type == 'NewWord_chs'">
|
|
- <WordPhrase :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <WordPhrase :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'annotation_chs'">
|
|
<template v-if="itemss.type == 'annotation_chs'">
|
|
- <WordPhrase :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <WordPhrase :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'notes_chs'">
|
|
<template v-if="itemss.type == 'notes_chs'">
|
|
- <Notes :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <Notes :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'article_chs'">
|
|
<template v-if="itemss.type == 'article_chs'">
|
|
<ArticleTemChs
|
|
<ArticleTemChs
|
|
@@ -143,11 +143,11 @@
|
|
:n-n-p-e-new-word-list="NNPENewWordList"
|
|
:n-n-p-e-new-word-list="NNPENewWordList"
|
|
:n-n-p-e-new-phrase-list="NNPENewPhraseList"
|
|
:n-n-p-e-new-phrase-list="NNPENewPhraseList"
|
|
:n-n-p-e-annotation-list="NNPEAnnotationList"
|
|
:n-n-p-e-annotation-list="NNPEAnnotationList"
|
|
- :themeColor="themeColor"
|
|
|
|
|
|
+ :theme-color="themeColor"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'sentence_segword_chs'">
|
|
<template v-if="itemss.type == 'sentence_segword_chs'">
|
|
- <SentenceSegWordViewChs :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <SentenceSegWordViewChs :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'dialogue_article_chs'">
|
|
<template v-if="itemss.type == 'dialogue_article_chs'">
|
|
<DialogueArticleViewChs
|
|
<DialogueArticleViewChs
|
|
@@ -155,103 +155,103 @@
|
|
:n-n-p-e-new-word-list="NNPENewWordList"
|
|
:n-n-p-e-new-word-list="NNPENewWordList"
|
|
:n-n-p-e-new-phrase-list="NNPENewPhraseList"
|
|
:n-n-p-e-new-phrase-list="NNPENewPhraseList"
|
|
:n-n-p-e-annotation-list="NNPEAnnotationList"
|
|
:n-n-p-e-annotation-list="NNPEAnnotationList"
|
|
- :colorBox="colorBox"
|
|
|
|
- :themeColor="themeColor"
|
|
|
|
|
|
+ :color-box="colorBox"
|
|
|
|
+ :theme-color="themeColor"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'dialogue_answer_chs'">
|
|
<template v-if="itemss.type == 'dialogue_answer_chs'">
|
|
<DialogueAnswerViewChs
|
|
<DialogueAnswerViewChs
|
|
:cur-que="itemss.data"
|
|
:cur-que="itemss.data"
|
|
- :colorBox="colorBox"
|
|
|
|
- :themeColor="themeColor"
|
|
|
|
|
|
+ :color-box="colorBox"
|
|
|
|
+ :theme-color="themeColor"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'input_record_chs'">
|
|
<template v-if="itemss.type == 'input_record_chs'">
|
|
- <InputHasRecord :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <InputHasRecord :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'recordHZ_inputPY_chs'">
|
|
<template v-if="itemss.type == 'recordHZ_inputPY_chs'">
|
|
- <TextInputRecord :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <TextInputRecord :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template
|
|
<template
|
|
v-if="
|
|
v-if="
|
|
itemss.type == 'inputItem_chs' ||
|
|
itemss.type == 'inputItem_chs' ||
|
|
- itemss.type == 'sentence_input_chs' ||
|
|
|
|
- itemss.type == 'sentence_judge_chs' ||
|
|
|
|
- itemss.type == 'sentence_record_chs' ||
|
|
|
|
- itemss.type == 'sentence_input_record_chs'
|
|
|
|
|
|
+ itemss.type == 'sentence_input_chs' ||
|
|
|
|
+ itemss.type == 'sentence_judge_chs' ||
|
|
|
|
+ itemss.type == 'sentence_record_chs' ||
|
|
|
|
+ itemss.type == 'sentence_input_record_chs'
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- <SentenceInput :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <SentenceInput :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'NumberCombination_chs'">
|
|
<template v-if="itemss.type == 'NumberCombination_chs'">
|
|
- <NumberSelectHasRecord :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <NumberSelectHasRecord :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type === 'voice_matrix'">
|
|
<template v-if="itemss.type === 'voice_matrix'">
|
|
- <voice-matrix :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <voice-matrix :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'toneSelect_chs'">
|
|
<template v-if="itemss.type == 'toneSelect_chs'">
|
|
- <SelectTone :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <SelectTone :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'sudoku_chs'">
|
|
<template v-if="itemss.type == 'sudoku_chs'">
|
|
- <Soduko :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <Soduko :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'single_chs'">
|
|
<template v-if="itemss.type == 'single_chs'">
|
|
- <Single :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <Single :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'text_problem_chs'">
|
|
<template v-if="itemss.type == 'text_problem_chs'">
|
|
- <TextProblem :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <TextProblem :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'newWord_preview_chs'">
|
|
<template v-if="itemss.type == 'newWord_preview_chs'">
|
|
- <NewWordShow :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <NewWordShow :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template
|
|
<template
|
|
v-if="itemss.type == 'listen_record_single_syllable_chs'"
|
|
v-if="itemss.type == 'listen_record_single_syllable_chs'"
|
|
>
|
|
>
|
|
- <SelectYinjie :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <SelectYinjie :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'sentence_listen_read_chs'">
|
|
<template v-if="itemss.type == 'sentence_listen_read_chs'">
|
|
- <SentenceListenRead :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <SentenceListenRead :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'sort_chs'">
|
|
<template v-if="itemss.type == 'sort_chs'">
|
|
- <SentenceSortQP :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <SentenceSortQP :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'checkbox_self_assessment_chs'">
|
|
<template v-if="itemss.type == 'checkbox_self_assessment_chs'">
|
|
- <Checkbox :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <Checkbox :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template
|
|
<template
|
|
v-if="
|
|
v-if="
|
|
itemss.type == 'record_control_mini' ||
|
|
itemss.type == 'record_control_mini' ||
|
|
- itemss.type == 'record_control_normal' ||
|
|
|
|
- itemss.type == 'record_control_pro' ||
|
|
|
|
- itemss.type == 'record_control_promax'
|
|
|
|
|
|
+ itemss.type == 'record_control_normal' ||
|
|
|
|
+ itemss.type == 'record_control_pro' ||
|
|
|
|
+ itemss.type == 'record_control_promax'
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- <RecordModule :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <RecordModule :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template
|
|
<template
|
|
v-if="
|
|
v-if="
|
|
itemss.type == 'upload_control_chs' ||
|
|
itemss.type == 'upload_control_chs' ||
|
|
- itemss.type == 'upload_control_preview_chs'
|
|
|
|
|
|
+ itemss.type == 'upload_control_preview_chs'
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<UploadControlView
|
|
<UploadControlView
|
|
:cur-que="itemss.data"
|
|
:cur-que="itemss.data"
|
|
:type="itemss.type"
|
|
:type="itemss.type"
|
|
- :themeColor="themeColor"
|
|
|
|
|
|
+ :theme-color="themeColor"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'CourseStart_chs'">
|
|
<template v-if="itemss.type == 'CourseStart_chs'">
|
|
<CourseStart
|
|
<CourseStart
|
|
:cur-que="itemss.data"
|
|
:cur-que="itemss.data"
|
|
- :handleNNPEnext="handleNNPEnext"
|
|
|
|
- :themeColor="themeColor"
|
|
|
|
|
|
+ :handle-n-n-p-enext="handleNNPEnext"
|
|
|
|
+ :theme-color="themeColor"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'tinydemo_chs'">
|
|
<template v-if="itemss.type == 'tinydemo_chs'">
|
|
- <Tinydemo :cur-que="itemss.data" :themeColor="themeColor" />
|
|
|
|
|
|
+ <Tinydemo :cur-que="itemss.data" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
<template v-if="itemss.type == 'video_chs'">
|
|
<template v-if="itemss.type == 'video_chs'">
|
|
- <VideoControl :cur-que="itemss.data" :type="itemss.type" :themeColor="themeColor" />
|
|
|
|
|
|
+ <VideoControl :cur-que="itemss.data" :type="itemss.type" :theme-color="themeColor" />
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -287,7 +287,7 @@ import SentenceSortQP from "./preview/SentenceSortQP.vue"; // 句子拖拽排序
|
|
import Checkbox from "./preview/CheckBoxModule.vue"; // 问卷调查-多选题
|
|
import Checkbox from "./preview/CheckBoxModule.vue"; // 问卷调查-多选题
|
|
import VoiceMatrix from "./preview/VoiceMatrix.vue"; // 语音矩阵
|
|
import VoiceMatrix from "./preview/VoiceMatrix.vue"; // 语音矩阵
|
|
import RecordModule from "./preview/RecordModule.vue"; // 录音组件
|
|
import RecordModule from "./preview/RecordModule.vue"; // 录音组件
|
|
-import UploadControlView from "./preview/UploadControlView.vue"; //预览控件
|
|
|
|
|
|
+import UploadControlView from "./preview/UploadControlView.vue"; // 预览控件
|
|
import DialogueAnswerViewChs from "./preview/DialogueArticleViewChs/DialogueAnswerViewChs.vue"; // 文章模板
|
|
import DialogueAnswerViewChs from "./preview/DialogueArticleViewChs/DialogueAnswerViewChs.vue"; // 文章模板
|
|
import CourseStart from "./preview/CourseStart.vue"; // 封面
|
|
import CourseStart from "./preview/CourseStart.vue"; // 封面
|
|
import Tinydemo from "./preview/TinyModule.vue"; // 富文本
|
|
import Tinydemo from "./preview/TinyModule.vue"; // 富文本
|
|
@@ -452,9 +452,9 @@ export default {
|
|
// });
|
|
// });
|
|
// }
|
|
// }
|
|
_this.cur = _this.contextData;
|
|
_this.cur = _this.contextData;
|
|
- _this.cur.cur_fn_data.forEach((item) => {
|
|
|
|
- item.table_list.forEach((items) => {
|
|
|
|
- items.forEach((itemss) => {
|
|
|
|
|
|
+ _this.cur.cur_fn_data.forEach(item => {
|
|
|
|
+ item.table_list.forEach(items => {
|
|
|
|
+ items.forEach(itemss => {
|
|
if (itemss.data && itemss.data.type == "NewWord_chs") {
|
|
if (itemss.data && itemss.data.type == "NewWord_chs") {
|
|
_this.NNPENewWordList = _this.NNPENewWordList.concat(
|
|
_this.NNPENewWordList = _this.NNPENewWordList.concat(
|
|
itemss.data.option
|
|
itemss.data.option
|