|
@@ -113,7 +113,7 @@
|
|
|
:themeColor="themeColor"
|
|
|
/>
|
|
|
</div>
|
|
|
- <div :class="['sent-stem', bgClassName]">
|
|
|
+ <div :class="['sent-stem', bgClassName]" :style="[widthCss]">
|
|
|
<div
|
|
|
v-if="curQue.isShowNumber"
|
|
|
:class="[
|
|
@@ -148,7 +148,11 @@
|
|
|
/>
|
|
|
</div>
|
|
|
<!-- 题干 -->
|
|
|
- <div class="stem-content">
|
|
|
+ <div
|
|
|
+ class="stem-content"
|
|
|
+ v-if="items && items.detail"
|
|
|
+ :style="[widthCss1]"
|
|
|
+ >
|
|
|
<!-- items.fn_check_list.judge_check || sdItem.fn_check_list.record_check.indexOf('normal') > -1
|
|
|
? 'sent-main-138'
|
|
|
: '', -->
|
|
@@ -450,70 +454,37 @@
|
|
|
curQue.sortType == 'row' ? 'sent-option-row' : 'li-flex',
|
|
|
itemsWidth == 780 ? 'hasPadding' : ''
|
|
|
]"
|
|
|
- v-for="(item, index) in rowOption"
|
|
|
:key="'sent-option' + index"
|
|
|
+ v-for="(item, index) in rowOption"
|
|
|
>
|
|
|
- <div
|
|
|
- :class="[
|
|
|
- 'sent-option-items',
|
|
|
- itemsWidth == 780 ? 'sent-option-items-0' : 'sent-option-items-8'
|
|
|
- ]"
|
|
|
- v-for="(items, indexs) in item"
|
|
|
- :key="'sent-option-items' + index + indexs"
|
|
|
- :style="{}"
|
|
|
- >
|
|
|
+ <template v-for="(items, indexs) in item">
|
|
|
<div
|
|
|
:class="[
|
|
|
- 'horn-24',
|
|
|
- items.pyNumber &&
|
|
|
- items.pyNumber[0] > 0 &&
|
|
|
- curQue.pyPosition == 'top'
|
|
|
- ? 'horn-hasPY'
|
|
|
- : ''
|
|
|
+ 'sent-option-items',
|
|
|
+ itemsWidth == 780
|
|
|
+ ? 'sent-option-items-0'
|
|
|
+ : 'sent-option-items-8'
|
|
|
]"
|
|
|
- v-if="
|
|
|
- curQue.mp3_list &&
|
|
|
- curQue.mp3_list.length > 0 &&
|
|
|
- curQue.mp3_list[0].id &&
|
|
|
- items.bg &&
|
|
|
- items.ed
|
|
|
- "
|
|
|
- :style="{
|
|
|
- height:
|
|
|
- items.detail &&
|
|
|
- items.detail.length > 0 &&
|
|
|
- items.detail[0].maxFontsize
|
|
|
- ? (items.detail[0].maxFontsize * 3) / 2 + 'px'
|
|
|
- : '40px',
|
|
|
- marginTop:
|
|
|
- items.detail &&
|
|
|
- items.detail.length > 0 &&
|
|
|
- items.detail[0].maxFontsize
|
|
|
- ? ''
|
|
|
- : '0px'
|
|
|
- }"
|
|
|
+ :key="'sent-option-items' + index + indexs"
|
|
|
+ :style="{}"
|
|
|
+ v-if="items"
|
|
|
>
|
|
|
- <AudioItem
|
|
|
- :itemBg="items.bg"
|
|
|
- :itemEd="items.ed"
|
|
|
- :curTime="curTime"
|
|
|
- :handleChangeTime="handleChangeTime"
|
|
|
- :stopAudioS="stopAudioS"
|
|
|
- :themeColor="themeColor"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div :class="['sent-stem', bgClassName]">
|
|
|
<div
|
|
|
- v-if="curQue.isShowNumber"
|
|
|
:class="[
|
|
|
- 'number-box number-box-hasmp3',
|
|
|
+ 'horn-24',
|
|
|
items.pyNumber &&
|
|
|
items.pyNumber[0] > 0 &&
|
|
|
curQue.pyPosition == 'top'
|
|
|
- ? 'number-box-hasPY'
|
|
|
- : '',
|
|
|
- curQue.numberBg ? '' : 'number-box-nobg'
|
|
|
+ ? 'horn-hasPY'
|
|
|
+ : ''
|
|
|
]"
|
|
|
+ v-if="
|
|
|
+ curQue.mp3_list &&
|
|
|
+ curQue.mp3_list.length > 0 &&
|
|
|
+ curQue.mp3_list[0].id &&
|
|
|
+ items.bg &&
|
|
|
+ items.ed
|
|
|
+ "
|
|
|
:style="{
|
|
|
height:
|
|
|
items.detail &&
|
|
@@ -529,98 +500,138 @@
|
|
|
: '0px'
|
|
|
}"
|
|
|
>
|
|
|
- <NumberStyle
|
|
|
- :className="curQue.numberBg ? 'number01' : 'number-nobg'"
|
|
|
- :numberBg="curQue.numberBg"
|
|
|
- :numberStyle="curQue.numberStyle"
|
|
|
- :numberIndex="items.index"
|
|
|
+ <AudioItem
|
|
|
+ :itemBg="items.bg"
|
|
|
+ :itemEd="items.ed"
|
|
|
+ :curTime="curTime"
|
|
|
+ :handleChangeTime="handleChangeTime"
|
|
|
+ :stopAudioS="stopAudioS"
|
|
|
+ :themeColor="themeColor"
|
|
|
/>
|
|
|
</div>
|
|
|
- <!-- 题干 -->
|
|
|
- <div class="stem-content">
|
|
|
- <!-- items.fn_check_list.judge_check || sdItem.fn_check_list.record_check.indexOf('normal') > -1
|
|
|
- ? 'sent-main-138'
|
|
|
- : '', -->
|
|
|
+ <div :class="['sent-stem', bgClassName]" :style="[widthCss]">
|
|
|
<div
|
|
|
+ v-if="curQue.isShowNumber"
|
|
|
:class="[
|
|
|
- 'sent-main',
|
|
|
- items.fn_check_list.judge_check.indexOf('col') > -1 ||
|
|
|
- items.fn_check_list.short_check ||
|
|
|
- sdItem.fn_check_list.record_check.indexOf('normal') > -1
|
|
|
- ? 'sent-que-flex'
|
|
|
+ 'number-box number-box-hasmp3',
|
|
|
+ items.pyNumber &&
|
|
|
+ items.pyNumber[0] > 0 &&
|
|
|
+ curQue.pyPosition == 'top'
|
|
|
+ ? 'number-box-hasPY'
|
|
|
: '',
|
|
|
- items.fn_check_list.radio_check.indexOf('row') > -1 ||
|
|
|
- items.fn_check_list.checkbox_check.indexOf('row') > -1
|
|
|
- ? 'sent-main-bottom'
|
|
|
- : ''
|
|
|
+ curQue.numberBg ? '' : 'number-box-nobg'
|
|
|
]"
|
|
|
- v-for="(sdItem, sdIndex) in items.detail"
|
|
|
- :key="'sent-option-items' + index + indexs + sdIndex"
|
|
|
+ :style="{
|
|
|
+ height:
|
|
|
+ items.detail &&
|
|
|
+ items.detail.length > 0 &&
|
|
|
+ items.detail[0].maxFontsize
|
|
|
+ ? (items.detail[0].maxFontsize * 3) / 2 + 'px'
|
|
|
+ : '40px',
|
|
|
+ marginTop:
|
|
|
+ items.detail &&
|
|
|
+ items.detail.length > 0 &&
|
|
|
+ items.detail[0].maxFontsize
|
|
|
+ ? ''
|
|
|
+ : '0px'
|
|
|
+ }"
|
|
|
>
|
|
|
- <div class="sent-que-box">
|
|
|
- <div
|
|
|
- class="sent-que"
|
|
|
- v-for="(sddItem, sddIndex) in sdItem.detail"
|
|
|
- :key="
|
|
|
- 'sent-option-items' +
|
|
|
- index +
|
|
|
- indexs +
|
|
|
- sdIndex +
|
|
|
- sddIndex
|
|
|
- "
|
|
|
- :style="{
|
|
|
- paddingLeft:
|
|
|
- sddItem.config.wordPadding.indexOf('left') > -1
|
|
|
- ? '4px'
|
|
|
- : '0px',
|
|
|
- paddingRight:
|
|
|
- sddItem.config.wordPadding.indexOf('right') > -1
|
|
|
- ? '4px'
|
|
|
- : '0px'
|
|
|
- }"
|
|
|
- >
|
|
|
- <!-- 补全句子 -->
|
|
|
- <OneSentenceTemp
|
|
|
- :detail="sddItem"
|
|
|
- :pyPosition="curQue.pyPosition"
|
|
|
- :TaskModel="TaskModel"
|
|
|
- :pyColor="curQue.pyColor"
|
|
|
- :Bookanswer="
|
|
|
- curQue.sortType == 'row'
|
|
|
- ? curQue.Bookanswer[index][indexs]
|
|
|
- : curQue.Bookanswer[indexs][index]
|
|
|
- "
|
|
|
- :judgeAnswer="judgeAnswer"
|
|
|
- :correctAnswer="items.correct.complateArr"
|
|
|
- :isInput="
|
|
|
- items.fn_check_list.sent_check ==
|
|
|
- 'sentence_complete_input_chs' ||
|
|
|
- items.fn_check_list.sent_check ==
|
|
|
- 'sentence_long_input_chs'
|
|
|
- "
|
|
|
- :fn_check_list="items.fn_check_list"
|
|
|
- :bgColor="curQue.bgColor"
|
|
|
- :pyNumber="items.pyNumber && items.pyNumber[sdIndex]"
|
|
|
- :record_check="sdItem.fn_check_list.record_check"
|
|
|
- :hengLeg="sdItem.hengLeg"
|
|
|
- :maxFontsize="baseSizePhone + 6"
|
|
|
- :textIndent="sdItem.textindent"
|
|
|
- />
|
|
|
- <template
|
|
|
- v-if="
|
|
|
- sddItem.img_list &&
|
|
|
- sddItem.img_list.length > 0 &&
|
|
|
- sddItem.img_list[0].id
|
|
|
+ <NumberStyle
|
|
|
+ :className="curQue.numberBg ? 'number01' : 'number-nobg'"
|
|
|
+ :numberBg="curQue.numberBg"
|
|
|
+ :numberStyle="curQue.numberStyle"
|
|
|
+ :numberIndex="items.index"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <!-- 题干 -->
|
|
|
+ <div
|
|
|
+ class="stem-content"
|
|
|
+ v-if="items && items.detail"
|
|
|
+ :style="[widthCss1]"
|
|
|
+ >
|
|
|
+ <!-- items.fn_check_list.judge_check || sdItem.fn_check_list.record_check.indexOf('normal') > -1
|
|
|
+ ? 'sent-main-138'
|
|
|
+ : '', -->
|
|
|
+ <div
|
|
|
+ :class="[
|
|
|
+ 'sent-main',
|
|
|
+ items.fn_check_list.judge_check.indexOf('col') > -1 ||
|
|
|
+ items.fn_check_list.short_check ||
|
|
|
+ sdItem.fn_check_list.record_check.indexOf('normal') > -1
|
|
|
+ ? 'sent-que-flex'
|
|
|
+ : '',
|
|
|
+ items.fn_check_list.radio_check.indexOf('row') > -1 ||
|
|
|
+ items.fn_check_list.checkbox_check.indexOf('row') > -1
|
|
|
+ ? 'sent-main-bottom'
|
|
|
+ : ''
|
|
|
+ ]"
|
|
|
+ v-for="(sdItem, sdIndex) in items.detail"
|
|
|
+ :key="'sent-option-items' + index + indexs + sdIndex"
|
|
|
+ >
|
|
|
+ <div class="sent-que-box">
|
|
|
+ <div
|
|
|
+ class="sent-que"
|
|
|
+ v-for="(sddItem, sddIndex) in sdItem.detail"
|
|
|
+ :key="
|
|
|
+ 'sent-option-items' +
|
|
|
+ index +
|
|
|
+ indexs +
|
|
|
+ sdIndex +
|
|
|
+ sddIndex
|
|
|
"
|
|
|
+ :style="{
|
|
|
+ paddingLeft:
|
|
|
+ sddItem.config.wordPadding.indexOf('left') > -1
|
|
|
+ ? '4px'
|
|
|
+ : '0px',
|
|
|
+ paddingRight:
|
|
|
+ sddItem.config.wordPadding.indexOf('right') > -1
|
|
|
+ ? '4px'
|
|
|
+ : '0px'
|
|
|
+ }"
|
|
|
>
|
|
|
- <img
|
|
|
- :src="sddItem.img_list[0].id"
|
|
|
- class="sddItem_img_list"
|
|
|
- :style="[imgStyle(sddItem)]"
|
|
|
+ <!-- 补全句子 -->
|
|
|
+ <OneSentenceTemp
|
|
|
+ :detail="sddItem"
|
|
|
+ :pyPosition="curQue.pyPosition"
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ :pyColor="curQue.pyColor"
|
|
|
+ :Bookanswer="
|
|
|
+ curQue.sortType == 'row'
|
|
|
+ ? curQue.Bookanswer[index][indexs]
|
|
|
+ : curQue.Bookanswer[indexs][index]
|
|
|
+ "
|
|
|
+ :judgeAnswer="judgeAnswer"
|
|
|
+ :correctAnswer="items.correct.complateArr"
|
|
|
+ :isInput="
|
|
|
+ items.fn_check_list.sent_check ==
|
|
|
+ 'sentence_complete_input_chs' ||
|
|
|
+ items.fn_check_list.sent_check ==
|
|
|
+ 'sentence_long_input_chs'
|
|
|
+ "
|
|
|
+ :fn_check_list="items.fn_check_list"
|
|
|
+ :bgColor="curQue.bgColor"
|
|
|
+ :pyNumber="items.pyNumber && items.pyNumber[sdIndex]"
|
|
|
+ :record_check="sdItem.fn_check_list.record_check"
|
|
|
+ :hengLeg="sdItem.hengLeg"
|
|
|
+ :maxFontsize="baseSizePhone + 6"
|
|
|
+ :textIndent="sdItem.textindent"
|
|
|
/>
|
|
|
- </template>
|
|
|
- <!-- <div class="en" v-if="sdItem.en">{{ sdItem.en }}</div> -->
|
|
|
- <!-- <div
|
|
|
+ <template
|
|
|
+ v-if="
|
|
|
+ sddItem.img_list &&
|
|
|
+ sddItem.img_list.length > 0 &&
|
|
|
+ sddItem.img_list[0].id
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ :src="sddItem.img_list[0].id"
|
|
|
+ class="sddItem_img_list"
|
|
|
+ :style="[imgStyle(sddItem)]"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ <!-- <div class="en" v-if="sdItem.en">{{ sdItem.en }}</div> -->
|
|
|
+ <!-- <div
|
|
|
class="promax-box-div"
|
|
|
v-if="
|
|
|
sdItem.fn_check_list.record_check.indexOf('promax') >
|
|
@@ -644,236 +655,241 @@
|
|
|
@handleWav="handleWav"
|
|
|
/>
|
|
|
</div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- ref="answerpart"
|
|
|
- v-if="
|
|
|
- items.fn_check_list.judge_check ||
|
|
|
- sdItem.fn_check_list.record_check ||
|
|
|
- items.fn_check_list.short_check ||
|
|
|
- items.fn_check_list.radio_check.indexOf('col') > -1 ||
|
|
|
- items.fn_check_list.checkbox_check.indexOf('col') > -1
|
|
|
- "
|
|
|
- :class="[
|
|
|
- 'answer-part',
|
|
|
- items.pyNumber && items.pyNumber[1] > 0
|
|
|
- ? 'answer-part-hasPY'
|
|
|
- : '',
|
|
|
- items.fn_check_list.judge_check ||
|
|
|
- sdItem.fn_check_list.record_check
|
|
|
- ? 'answer-part-138'
|
|
|
- : ''
|
|
|
- ]"
|
|
|
- >
|
|
|
- <!-- 短输入 -->
|
|
|
- <div
|
|
|
- :class="[
|
|
|
- 'short-part',
|
|
|
- items.pyNumber && items.pyNumber[0] > 0
|
|
|
- ? 'short-part-hasPY'
|
|
|
- : '',
|
|
|
- items.fn_check_list.is_short_auto
|
|
|
- ? 'short-part-flex'
|
|
|
- : ''
|
|
|
- ]"
|
|
|
- v-if="sdIndex == 0 && items.fn_check_list.short_check"
|
|
|
- >
|
|
|
- <ShortInputTemp
|
|
|
- :doubleInput="items.correct.doubleInput"
|
|
|
- :Bookanswer="
|
|
|
- curQue.sortType == 'row'
|
|
|
- ? curQue.Bookanswer[index][indexs]
|
|
|
- : curQue.Bookanswer[indexs][index]
|
|
|
- "
|
|
|
- :TaskModel="TaskModel"
|
|
|
- :is_short_auto="items.fn_check_list.is_short_auto"
|
|
|
- :judgeAnswer="judgeAnswer"
|
|
|
- :baseSizePhone="baseSizePhone"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <!-- 判断 -->
|
|
|
- <div
|
|
|
- :class="[
|
|
|
- 'judge-part',
|
|
|
- items.fn_check_list.judge_check.indexOf('row') > -1
|
|
|
- ? 'answer-part-padding-5'
|
|
|
- : ''
|
|
|
- ]"
|
|
|
- v-if="sdIndex == 0 && items.fn_check_list.judge_check"
|
|
|
- >
|
|
|
- <JudgeTemp
|
|
|
- :isRecord="items.fn_check_list.record_check"
|
|
|
- :Bookanswer="
|
|
|
- curQue.sortType == 'row'
|
|
|
- ? curQue.Bookanswer[index][indexs]
|
|
|
- : curQue.Bookanswer[indexs][index]
|
|
|
- "
|
|
|
- :judge_isNo="items.judge_isNo"
|
|
|
- :TaskModel="TaskModel"
|
|
|
- :Isexample="items.Isexample"
|
|
|
- :judgeCorrectAnswer="items.correct.judge"
|
|
|
- :judgeAnswer="judgeAnswer"
|
|
|
- :baseSizePhone="baseSizePhone"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <!-- 多选题 -->
|
|
|
<div
|
|
|
- :class="[
|
|
|
- 'short-part',
|
|
|
- items.pyNumber && items.pyNumber[0] > 0
|
|
|
- ? 'short-part-hasPY'
|
|
|
- : ''
|
|
|
- ]"
|
|
|
+ ref="answerpart"
|
|
|
v-if="
|
|
|
- sdIndex == 0 &&
|
|
|
+ items.fn_check_list.judge_check ||
|
|
|
+ sdItem.fn_check_list.record_check ||
|
|
|
+ items.fn_check_list.short_check ||
|
|
|
+ items.fn_check_list.radio_check.indexOf('col') > -1 ||
|
|
|
items.fn_check_list.checkbox_check.indexOf('col') > -1
|
|
|
"
|
|
|
- >
|
|
|
- <OptionTemp
|
|
|
- :option="items.checkbox_option"
|
|
|
- :row="
|
|
|
- items.fn_check_list.checkbox_check.indexOf('row') > -1
|
|
|
- "
|
|
|
- :Bookanswer="
|
|
|
- curQue.sortType == 'row'
|
|
|
- ? curQue.Bookanswer[index][indexs]
|
|
|
- : curQue.Bookanswer[indexs][index]
|
|
|
- "
|
|
|
- :TaskModel="TaskModel"
|
|
|
- type="checkbox"
|
|
|
- :curQue="curQue"
|
|
|
- :items="items"
|
|
|
- :judgeAnswer="judgeAnswer"
|
|
|
- :correctAnswer="items.correct"
|
|
|
- :baseSizePhone="baseSizePhone"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <!-- 单选题 -->
|
|
|
- <div
|
|
|
:class="[
|
|
|
- 'short-part',
|
|
|
- items.pyNumber && items.pyNumber[0] > 0
|
|
|
- ? 'short-part-hasPY'
|
|
|
+ 'answer-part',
|
|
|
+ items.pyNumber && items.pyNumber[1] > 0
|
|
|
+ ? 'answer-part-hasPY'
|
|
|
+ : '',
|
|
|
+ items.fn_check_list.judge_check ||
|
|
|
+ sdItem.fn_check_list.record_check
|
|
|
+ ? 'answer-part-138'
|
|
|
: ''
|
|
|
]"
|
|
|
- v-if="
|
|
|
- sdIndex == 0 &&
|
|
|
- items.fn_check_list.radio_check.indexOf('col') > -1
|
|
|
- "
|
|
|
>
|
|
|
- <OptionTemp
|
|
|
- :option="items.radio_option"
|
|
|
- :row="
|
|
|
- items.fn_check_list.radio_check.indexOf('row') > -1
|
|
|
- "
|
|
|
- :Bookanswer="
|
|
|
- curQue.sortType == 'row'
|
|
|
- ? curQue.Bookanswer[index][indexs]
|
|
|
- : curQue.Bookanswer[indexs][index]
|
|
|
- "
|
|
|
- :correctAnswer="items.correct"
|
|
|
- :TaskModel="TaskModel"
|
|
|
- type="radio"
|
|
|
- :curQue="curQue"
|
|
|
- :items="items"
|
|
|
- :judgeAnswer="judgeAnswer"
|
|
|
- :baseSizePhone="baseSizePhone"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <!-- 录音 -->
|
|
|
- <div
|
|
|
- class="judge-part record-part"
|
|
|
- v-if="
|
|
|
- sdItem.fn_check_list.record_check &&
|
|
|
- items.fn_check_list.sent_check !=
|
|
|
- 'sentence_long_input_chs'
|
|
|
- "
|
|
|
- >
|
|
|
- <Soundrecord
|
|
|
- :type="
|
|
|
- sdItem.fn_check_list.record_check
|
|
|
- ? typeList[sdItem.fn_check_list.record_check]
|
|
|
- : 'normal'
|
|
|
+ <!-- 短输入 -->
|
|
|
+ <div
|
|
|
+ :class="[
|
|
|
+ 'short-part',
|
|
|
+ items.pyNumber && items.pyNumber[0] > 0
|
|
|
+ ? 'short-part-hasPY'
|
|
|
+ : '',
|
|
|
+ items.fn_check_list.is_short_auto
|
|
|
+ ? 'short-part-flex'
|
|
|
+ : ''
|
|
|
+ ]"
|
|
|
+ v-if="sdIndex == 0 && items.fn_check_list.short_check"
|
|
|
+ >
|
|
|
+ <ShortInputTemp
|
|
|
+ :doubleInput="items.correct.doubleInput"
|
|
|
+ :Bookanswer="
|
|
|
+ curQue.sortType == 'row'
|
|
|
+ ? curQue.Bookanswer[index][indexs]
|
|
|
+ : curQue.Bookanswer[indexs][index]
|
|
|
+ "
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ :is_short_auto="items.fn_check_list.is_short_auto"
|
|
|
+ :judgeAnswer="judgeAnswer"
|
|
|
+ :baseSizePhone="baseSizePhone"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <!-- 判断 -->
|
|
|
+ <div
|
|
|
+ :class="[
|
|
|
+ 'judge-part',
|
|
|
+ items.fn_check_list.judge_check.indexOf('row') > -1
|
|
|
+ ? 'answer-part-padding-5'
|
|
|
+ : ''
|
|
|
+ ]"
|
|
|
+ v-if="sdIndex == 0 && items.fn_check_list.judge_check"
|
|
|
+ >
|
|
|
+ <JudgeTemp
|
|
|
+ :isRecord="items.fn_check_list.record_check"
|
|
|
+ :Bookanswer="
|
|
|
+ curQue.sortType == 'row'
|
|
|
+ ? curQue.Bookanswer[index][indexs]
|
|
|
+ : curQue.Bookanswer[indexs][index]
|
|
|
+ "
|
|
|
+ :judge_isNo="items.judge_isNo"
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ :Isexample="items.Isexample"
|
|
|
+ :judgeCorrectAnswer="items.correct.judge"
|
|
|
+ :judgeAnswer="judgeAnswer"
|
|
|
+ :baseSizePhone="baseSizePhone"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <!-- 多选题 -->
|
|
|
+ <div
|
|
|
+ :class="[
|
|
|
+ 'short-part',
|
|
|
+ items.pyNumber && items.pyNumber[0] > 0
|
|
|
+ ? 'short-part-hasPY'
|
|
|
+ : ''
|
|
|
+ ]"
|
|
|
+ v-if="
|
|
|
+ sdIndex == 0 &&
|
|
|
+ items.fn_check_list.checkbox_check.indexOf('col') >
|
|
|
+ -1
|
|
|
"
|
|
|
+ >
|
|
|
+ <OptionTemp
|
|
|
+ :option="items.checkbox_option"
|
|
|
+ :row="
|
|
|
+ items.fn_check_list.checkbox_check.indexOf('row') >
|
|
|
+ -1
|
|
|
+ "
|
|
|
+ :Bookanswer="
|
|
|
+ curQue.sortType == 'row'
|
|
|
+ ? curQue.Bookanswer[index][indexs]
|
|
|
+ : curQue.Bookanswer[indexs][index]
|
|
|
+ "
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ type="checkbox"
|
|
|
+ :curQue="curQue"
|
|
|
+ :items="items"
|
|
|
+ :judgeAnswer="judgeAnswer"
|
|
|
+ :correctAnswer="items.correct"
|
|
|
+ :baseSizePhone="baseSizePhone"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <!-- 单选题 -->
|
|
|
+ <div
|
|
|
:class="[
|
|
|
- 'record_' +
|
|
|
- typeList[sdItem.fn_check_list.record_check],
|
|
|
- 'record-common',
|
|
|
- items.fn_check_list.short_check
|
|
|
- ? 'record-common-40'
|
|
|
+ 'short-part',
|
|
|
+ items.pyNumber && items.pyNumber[0] > 0
|
|
|
+ ? 'short-part-hasPY'
|
|
|
: ''
|
|
|
]"
|
|
|
- :TaskModel="TaskModel"
|
|
|
- :tmIndex="sdIndex"
|
|
|
- :answerRecordList="
|
|
|
- curQue.sortType == 'row'
|
|
|
- ? curQue.Bookanswer[index][indexs].recordList[
|
|
|
- sdIndex
|
|
|
- ]
|
|
|
- : curQue.Bookanswer[indexs][index].recordList[
|
|
|
- sdIndex
|
|
|
- ]
|
|
|
+ v-if="
|
|
|
+ sdIndex == 0 &&
|
|
|
+ items.fn_check_list.radio_check.indexOf('col') > -1
|
|
|
"
|
|
|
- :index="index"
|
|
|
- :indexs="indexs"
|
|
|
- :modelType="curQue.type"
|
|
|
- @handleWav="handleWav"
|
|
|
- :baseSizePhone="baseSizePhone"
|
|
|
- />
|
|
|
+ >
|
|
|
+ <OptionTemp
|
|
|
+ :option="items.radio_option"
|
|
|
+ :row="
|
|
|
+ items.fn_check_list.radio_check.indexOf('row') > -1
|
|
|
+ "
|
|
|
+ :Bookanswer="
|
|
|
+ curQue.sortType == 'row'
|
|
|
+ ? curQue.Bookanswer[index][indexs]
|
|
|
+ : curQue.Bookanswer[indexs][index]
|
|
|
+ "
|
|
|
+ :correctAnswer="items.correct"
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ type="radio"
|
|
|
+ :curQue="curQue"
|
|
|
+ :items="items"
|
|
|
+ :judgeAnswer="judgeAnswer"
|
|
|
+ :baseSizePhone="baseSizePhone"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <!-- 录音 -->
|
|
|
+ <div
|
|
|
+ class="judge-part record-part"
|
|
|
+ v-if="
|
|
|
+ sdItem.fn_check_list.record_check &&
|
|
|
+ items.fn_check_list.sent_check !=
|
|
|
+ 'sentence_long_input_chs'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <Soundrecord
|
|
|
+ :type="
|
|
|
+ sdItem.fn_check_list.record_check
|
|
|
+ ? typeList[sdItem.fn_check_list.record_check]
|
|
|
+ : 'normal'
|
|
|
+ "
|
|
|
+ :class="[
|
|
|
+ 'record_' +
|
|
|
+ typeList[sdItem.fn_check_list.record_check],
|
|
|
+ 'record-common',
|
|
|
+ items.fn_check_list.short_check
|
|
|
+ ? 'record-common-40'
|
|
|
+ : ''
|
|
|
+ ]"
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ :tmIndex="sdIndex"
|
|
|
+ :answerRecordList="
|
|
|
+ curQue.sortType == 'row'
|
|
|
+ ? curQue.Bookanswer[index][indexs].recordList[
|
|
|
+ sdIndex
|
|
|
+ ]
|
|
|
+ : curQue.Bookanswer[indexs][index].recordList[
|
|
|
+ sdIndex
|
|
|
+ ]
|
|
|
+ "
|
|
|
+ :index="index"
|
|
|
+ :indexs="indexs"
|
|
|
+ :modelType="curQue.type"
|
|
|
+ @handleWav="handleWav"
|
|
|
+ :baseSizePhone="baseSizePhone"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <!-- 多选题 -->
|
|
|
- <div
|
|
|
- class="select-que"
|
|
|
- v-if="items.fn_check_list.checkbox_check.indexOf('row') > -1"
|
|
|
- >
|
|
|
- <OptionTemp
|
|
|
- :option="items.checkbox_option"
|
|
|
- :row="
|
|
|
+ <!-- 多选题 -->
|
|
|
+ <div
|
|
|
+ class="select-que"
|
|
|
+ v-if="
|
|
|
items.fn_check_list.checkbox_check.indexOf('row') > -1
|
|
|
"
|
|
|
- :Bookanswer="
|
|
|
- curQue.sortType == 'row'
|
|
|
- ? curQue.Bookanswer[index][indexs]
|
|
|
- : curQue.Bookanswer[indexs][index]
|
|
|
- "
|
|
|
- :correctAnswer="items.correct"
|
|
|
- :TaskModel="TaskModel"
|
|
|
- type="checkbox"
|
|
|
- :curQue="curQue"
|
|
|
- :items="items"
|
|
|
- :judgeAnswer="judgeAnswer"
|
|
|
- :baseSizePhone="baseSizePhone"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <!-- 单选题 -->
|
|
|
- <div
|
|
|
- class="select-que"
|
|
|
- v-if="items.fn_check_list.radio_check.indexOf('row') > -1"
|
|
|
- >
|
|
|
- <OptionTemp
|
|
|
- :option="items.radio_option"
|
|
|
- :row="items.fn_check_list.radio_check.indexOf('row') > -1"
|
|
|
- :Bookanswer="
|
|
|
- curQue.sortType == 'row'
|
|
|
- ? curQue.Bookanswer[index][indexs]
|
|
|
- : curQue.Bookanswer[indexs][index]
|
|
|
- "
|
|
|
- :correctAnswer="items.correct"
|
|
|
- :TaskModel="TaskModel"
|
|
|
- type="radio"
|
|
|
- :curQue="curQue"
|
|
|
- :items="items"
|
|
|
- :judgeAnswer="judgeAnswer"
|
|
|
- :baseSizePhone="baseSizePhone"
|
|
|
- />
|
|
|
+ >
|
|
|
+ <OptionTemp
|
|
|
+ :option="items.checkbox_option"
|
|
|
+ :row="
|
|
|
+ items.fn_check_list.checkbox_check.indexOf('row') > -1
|
|
|
+ "
|
|
|
+ :Bookanswer="
|
|
|
+ curQue.sortType == 'row'
|
|
|
+ ? curQue.Bookanswer[index][indexs]
|
|
|
+ : curQue.Bookanswer[indexs][index]
|
|
|
+ "
|
|
|
+ :correctAnswer="items.correct"
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ type="checkbox"
|
|
|
+ :curQue="curQue"
|
|
|
+ :items="items"
|
|
|
+ :judgeAnswer="judgeAnswer"
|
|
|
+ :baseSizePhone="baseSizePhone"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <!-- 单选题 -->
|
|
|
+ <div
|
|
|
+ class="select-que"
|
|
|
+ v-if="items.fn_check_list.radio_check.indexOf('row') > -1"
|
|
|
+ >
|
|
|
+ <OptionTemp
|
|
|
+ :option="items.radio_option"
|
|
|
+ :row="items.fn_check_list.radio_check.indexOf('row') > -1"
|
|
|
+ :Bookanswer="
|
|
|
+ curQue.sortType == 'row'
|
|
|
+ ? curQue.Bookanswer[index][indexs]
|
|
|
+ : curQue.Bookanswer[indexs][index]
|
|
|
+ "
|
|
|
+ :correctAnswer="items.correct"
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ type="radio"
|
|
|
+ :curQue="curQue"
|
|
|
+ :items="items"
|
|
|
+ :judgeAnswer="judgeAnswer"
|
|
|
+ :baseSizePhone="baseSizePhone"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!-- 题干 -->
|
|
|
</div>
|
|
|
- <!-- 题干 -->
|
|
|
- </div>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
@@ -990,6 +1006,37 @@ export default {
|
|
|
}
|
|
|
return styleConfig;
|
|
|
};
|
|
|
+ },
|
|
|
+ widthCss() {
|
|
|
+ let widthAll = window.innerWidth - 100 + "px";
|
|
|
+ if (
|
|
|
+ this.curQue.mp3_list &&
|
|
|
+ this.curQue.mp3_list.length > 0 &&
|
|
|
+ this.curQue.mp3_list[0].id
|
|
|
+ ) {
|
|
|
+ widthAll = window.innerWidth - 150 + "px";
|
|
|
+ }
|
|
|
+ let widthObj = {
|
|
|
+ width: widthAll
|
|
|
+ };
|
|
|
+ return widthObj;
|
|
|
+ },
|
|
|
+ widthCss1() {
|
|
|
+ let widthAll = window.innerWidth - 100;
|
|
|
+ if (
|
|
|
+ this.curQue.mp3_list &&
|
|
|
+ this.curQue.mp3_list.length > 0 &&
|
|
|
+ this.curQue.mp3_list[0].id
|
|
|
+ ) {
|
|
|
+ widthAll = widthAll - 50;
|
|
|
+ }
|
|
|
+ if (this.curQue.isShowNumber) {
|
|
|
+ widthAll = widthAll - 30;
|
|
|
+ }
|
|
|
+ let widthObj = {
|
|
|
+ width: widthAll + "px"
|
|
|
+ };
|
|
|
+ return widthObj;
|
|
|
}
|
|
|
},
|
|
|
watch: {},
|
|
@@ -1865,5 +1912,8 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .RLC-sentence {
|
|
|
+ overflow: auto !important;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|