|
@@ -54,7 +54,7 @@
|
|
|
<tr v-for="(row, i) in curQue.tableData.body" :key="`tr-${i}`">
|
|
|
<template v-for="(col, j) in row.content">
|
|
|
<td
|
|
|
- v-if="tdIsShow(i, j)"
|
|
|
+ v-if="col.is_show_cell"
|
|
|
:key="`td-${i}-${j}`"
|
|
|
:colspan="col.colspan"
|
|
|
:rowspan="col.rowspan"
|
|
@@ -72,7 +72,13 @@
|
|
|
]"
|
|
|
:style="{ 'background-color': `${col.background}` }"
|
|
|
>
|
|
|
- <div class="cell-wrap" :class="[col.isCross?'cell-wrap-between':'','cell-wrap-'+curQue.textAlign]">
|
|
|
+ <div
|
|
|
+ class="cell-wrap"
|
|
|
+ :class="[
|
|
|
+ col.isCross ? 'cell-wrap-between' : '',
|
|
|
+ 'cell-wrap-' + curQue.textAlign,
|
|
|
+ ]"
|
|
|
+ >
|
|
|
<template v-if="col.type === 'content'">
|
|
|
<span v-if="col.text.length > 0" class="content">
|
|
|
{{ col.text }}
|
|
@@ -80,7 +86,7 @@
|
|
|
<template v-else>
|
|
|
<el-input
|
|
|
v-model="
|
|
|
- judgeAnswer == 'standardAnswer'
|
|
|
+ judgeAnswer === 'standardAnswer'
|
|
|
? col.answer
|
|
|
: curQue.Bookanswer[i].content[j].answer
|
|
|
"
|
|
@@ -108,7 +114,7 @@
|
|
|
<template v-else>
|
|
|
<el-input
|
|
|
v-model="
|
|
|
- judgeAnswer == 'standardAnswer'
|
|
|
+ judgeAnswer === 'standardAnswer'
|
|
|
? col.answer
|
|
|
: curQue.Bookanswer[i].content[j].answer
|
|
|
"
|
|
@@ -230,61 +236,59 @@
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- <div class="stem-content" v-else-if="col.type === 'mulText'">
|
|
|
- <div
|
|
|
- :class="[
|
|
|
- 'sent-main',
|
|
|
- ]"
|
|
|
- v-for="(sdItem, sdIndex) in col.mulText.detail"
|
|
|
- :key="'sent-option-items' + j + sdIndex"
|
|
|
+
|
|
|
+ <div v-else-if="col.type === 'mulText'" class="stem-content">
|
|
|
+ <div
|
|
|
+ v-for="(sdItem, sdIndex) in col.mulText.detail"
|
|
|
+ :key="'sent-option-items' + j + sdIndex"
|
|
|
+ :class="['sent-main']"
|
|
|
+ >
|
|
|
+ <div class="sent-que-box">
|
|
|
+ <div
|
|
|
+ v-for="(sddItem, sddIndex) in sdItem.detail"
|
|
|
+ :key="'sent-option-items' + j + sdIndex + sddIndex"
|
|
|
+ class="sent-que"
|
|
|
+ :style="{
|
|
|
+ paddingLeft:
|
|
|
+ sddItem.config.wordPadding.indexOf('left') > -1
|
|
|
+ ? '4px'
|
|
|
+ : '0px',
|
|
|
+ paddingRight:
|
|
|
+ sddItem.config.wordPadding.indexOf('right') > -1
|
|
|
+ ? '4px'
|
|
|
+ : '0px',
|
|
|
+ }"
|
|
|
+ >
|
|
|
+ <!-- 补全句子 -->
|
|
|
+ <OneSentenceTemp
|
|
|
+ :detail="sddItem"
|
|
|
+ :py-position="curQue.pinyinPosition"
|
|
|
+ :task-model="TaskModel"
|
|
|
+ :bookanswer="curQue.Bookanswer[i].content[j]"
|
|
|
+ :judge-answer="judgeAnswer"
|
|
|
+ :correct-answer="col.mulText.correct.complateArr"
|
|
|
+ :is-input="true"
|
|
|
+ :fn_check_list="[]"
|
|
|
+ :py-number="col.pyNumber && col.pyNumber[sdIndex]"
|
|
|
+ :heng-leg="sdItem.hengLeg"
|
|
|
+ :max-fontsize="sdItem.maxFontsize"
|
|
|
+ />
|
|
|
+ <template
|
|
|
+ v-if="
|
|
|
+ sddItem.img_list &&
|
|
|
+ sddItem.img_list.length > 0 &&
|
|
|
+ sddItem.img_list[0].id
|
|
|
+ "
|
|
|
>
|
|
|
- <div class="sent-que-box">
|
|
|
- <div
|
|
|
- class="sent-que"
|
|
|
- v-for="(sddItem, sddIndex) in sdItem.detail"
|
|
|
- :key="'sent-option-items' + j + 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.pinyinPosition"
|
|
|
- :TaskModel="TaskModel"
|
|
|
- :Bookanswer="curQue.Bookanswer[i].content[j]"
|
|
|
- :judgeAnswer="judgeAnswer"
|
|
|
- :correctAnswer="col.mulText.correct.complateArr"
|
|
|
- :isInput="true"
|
|
|
- :fn_check_list="[]"
|
|
|
- :pyNumber="col.pyNumber && col.pyNumber[sdIndex]"
|
|
|
- :hengLeg="sdItem.hengLeg"
|
|
|
- :maxFontsize="sdItem.maxFontsize"
|
|
|
- />
|
|
|
- <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>
|
|
|
- </div>
|
|
|
+ <img
|
|
|
+ :src="sddItem.img_list[0].id"
|
|
|
+ class="sddItem_img_list"
|
|
|
+ :style="[imgStyle(sddItem)]"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<CrossTick
|
|
|
v-if="col.isCross"
|
|
@@ -328,16 +332,16 @@ export default {
|
|
|
},
|
|
|
TaskModel: {
|
|
|
type: String,
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
isAnswerMode: false,
|
|
|
userError: false,
|
|
|
userAnswer: {
|
|
|
- completeInput: []
|
|
|
+ completeInput: [],
|
|
|
},
|
|
|
- userBookanswer:[],
|
|
|
+ userBookanswer: [],
|
|
|
chsFhList: [",", "。", "”", ":", "》", "?", "!", ";"],
|
|
|
};
|
|
|
},
|
|
@@ -375,15 +379,15 @@ export default {
|
|
|
}
|
|
|
if (!this.curQue.Bookanswer) {
|
|
|
let arr = [];
|
|
|
- let flag = false // 是否含有多个句子类型
|
|
|
+ let flag = false; // 是否含有多个句子类型
|
|
|
this.curQue.tableData.body.forEach((item, i) => {
|
|
|
arr.push({
|
|
|
content: [],
|
|
|
});
|
|
|
item.content.forEach((items) => {
|
|
|
- if(items.type === 'mulText'){
|
|
|
- flag = true
|
|
|
- }
|
|
|
+ if (items.type === "mulText") {
|
|
|
+ flag = true;
|
|
|
+ }
|
|
|
arr[i].content.push({
|
|
|
answer: "",
|
|
|
CrossAnswer: "",
|
|
@@ -392,26 +396,27 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
});
|
|
|
- if(!flag){
|
|
|
+ if (!flag) {
|
|
|
this.$set(this.curQue, "Bookanswer", arr);
|
|
|
}
|
|
|
} else {
|
|
|
this.curQue.Bookanswer.forEach((item) => {
|
|
|
item.content.forEach((item) => {
|
|
|
- if (item.userAnswerJudge == "[JUDGE##F##JUDGE]") {
|
|
|
+ if (item.userAnswerJudge === "[JUDGE##F##JUDGE]") {
|
|
|
this.userError = true;
|
|
|
return;
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
+ this.computedTableCellShow();
|
|
|
},
|
|
|
mounted() {
|
|
|
this.handleData();
|
|
|
},
|
|
|
methods: {
|
|
|
enterAnswer(i, j, type) {
|
|
|
- if (type == "input") {
|
|
|
+ if (type === "input") {
|
|
|
this.$forceUpdate();
|
|
|
if (
|
|
|
this.curQue.Bookanswer[i].content[j].answer.trim() ==
|
|
@@ -489,34 +494,37 @@ export default {
|
|
|
});
|
|
|
return colIndex === -1 && rowIndex === -1;
|
|
|
},
|
|
|
- // rowspan colspan 控制td是否生成
|
|
|
- tdIsShow(i, j) {
|
|
|
- let body = this.curQue.tableData.body;
|
|
|
- let col = 1;
|
|
|
- let colIndex = body[i].content.findIndex(({ colspan }, index) => {
|
|
|
- if (index > j) return false;
|
|
|
- let num = colspan === undefined ? 1 : Number(colspan);
|
|
|
- if (num > 1) {
|
|
|
- col = num;
|
|
|
- return false;
|
|
|
- }
|
|
|
- if (index === j && col > 1) return true;
|
|
|
- if (col > 0) col -= 1;
|
|
|
- return false;
|
|
|
- });
|
|
|
- let row = 1;
|
|
|
- let rowIndex = body.findIndex((item, index) => {
|
|
|
- let rowspan = item.content[j].rowspan;
|
|
|
- let num = rowspan === undefined ? 1 : Number(rowspan);
|
|
|
- if (num > 1) {
|
|
|
- row = num;
|
|
|
- return false;
|
|
|
- }
|
|
|
- if (index === i && row > 1) return true;
|
|
|
- if (row > 0) row -= 1;
|
|
|
- return false;
|
|
|
+ // 计算单元格是否显示
|
|
|
+ computedTableCellShow() {
|
|
|
+ this.curQue.tableData.body.forEach(({ content }, i, arr) => {
|
|
|
+ content.forEach(({ colspan, rowspan, is_show_cell }, j, arr2) => {
|
|
|
+ let col = colspan === undefined ? 1 : Number(colspan);
|
|
|
+ let row = rowspan === undefined ? 1 : Number(rowspan);
|
|
|
+
|
|
|
+ if (col > 1 && row === 1) {
|
|
|
+ for (let k = 1; k < col; k++) {
|
|
|
+ this.$set(arr[i].content[j + k], "is_show_cell", false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (row > 1 && col === 1) {
|
|
|
+ for (let k = 1; k < row; k++) {
|
|
|
+ this.$set(arr[i + k].content[j], "is_show_cell", false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (row > 1 && col > 1) {
|
|
|
+ for (let k = 1; k < row; k++) {
|
|
|
+ this.$set(arr[i + k].content[j], "is_show_cell", false);
|
|
|
+ for (let l = 1; l < col; l++) {
|
|
|
+ this.$set(arr[i + k].content[j + l], "is_show_cell", false);
|
|
|
+ this.$set(arr[i].content[j + l], "is_show_cell", false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (is_show_cell === undefined) {
|
|
|
+ arr2[j].is_show_cell = true;
|
|
|
+ }
|
|
|
+ });
|
|
|
});
|
|
|
- return colIndex === -1 && rowIndex === -1;
|
|
|
},
|
|
|
handleData() {
|
|
|
let Bookanswer = [];
|
|
@@ -525,105 +533,103 @@ export default {
|
|
|
let option = JSON.parse(JSON.stringify(this.curQue.tableData.body));
|
|
|
let completeImage = [];
|
|
|
option.forEach((item, index) => {
|
|
|
- Bookanswer.push({content: []});
|
|
|
+ Bookanswer.push({ content: [] });
|
|
|
completeImage = [];
|
|
|
itemLeg = item.length > itemLeg ? item.length : itemLeg;
|
|
|
item.content.forEach((items, indexs) => {
|
|
|
- if(items.mulText){
|
|
|
- let userAnswer = JSON.parse(JSON.stringify(this.userAnswer));
|
|
|
- let correct = JSON.parse(JSON.stringify(items.mulText.correct));
|
|
|
- let complateArr = correct.completeInput.split("\n");
|
|
|
- complateArr.forEach((itemI, indexI) => {
|
|
|
- if (itemI == "??" || itemI == "??") {
|
|
|
- complateArr[indexI] = "";
|
|
|
+ if (items.mulText) {
|
|
|
+ let userAnswer = JSON.parse(JSON.stringify(this.userAnswer));
|
|
|
+ let correct = JSON.parse(JSON.stringify(items.mulText.correct));
|
|
|
+ let complateArr = correct.completeInput.split("\n");
|
|
|
+ complateArr.forEach((itemI, indexI) => {
|
|
|
+ if (itemI == "??" || itemI == "??") {
|
|
|
+ complateArr[indexI] = "";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ items.mulText.correct.complateArr = complateArr;
|
|
|
+ this.curQue.tableData.body[index].content[
|
|
|
+ indexs
|
|
|
+ ].mulText.correct.complateArr = complateArr;
|
|
|
+ Bookanswer[index].content.push(userAnswer);
|
|
|
+ let hengIndex = 0;
|
|
|
+ items.pyNumber = [];
|
|
|
+
|
|
|
+ items.mulText.detail.forEach((sdItem, sdIndex) => {
|
|
|
+ let isHasPY = 0;
|
|
|
+ let maxFontsize = 0;
|
|
|
+ sdItem.detail.forEach((sddItem) => {
|
|
|
+ if (sddItem.wordsList.length > 0) {
|
|
|
+ sddItem.wordsList.forEach((sItem, sIndex) => {
|
|
|
+ let reg = /_{2,}/g;
|
|
|
+ if (reg.test(sItem.chs)) {
|
|
|
+ sItem.index = sIndex;
|
|
|
+ sItem.isHeng = true;
|
|
|
+ sItem.hengIndex = hengIndex;
|
|
|
+ hengIndex++;
|
|
|
}
|
|
|
- });
|
|
|
- items.mulText.correct.complateArr = complateArr;
|
|
|
- this.curQue.tableData.body[index].content[indexs].mulText.correct.complateArr = complateArr;
|
|
|
- Bookanswer[index].content.push(userAnswer);
|
|
|
- let hengIndex = 0;
|
|
|
- items.pyNumber = [];
|
|
|
-
|
|
|
- items.mulText.detail.forEach((sdItem, sdIndex) => {
|
|
|
- let isHasPY = 0;
|
|
|
- let maxFontsize = 0;
|
|
|
- sdItem.detail.forEach((sddItem) => {
|
|
|
- if (sddItem.wordsList.length > 0) {
|
|
|
- sddItem.wordsList.forEach((sItem, sIndex) => {
|
|
|
- let reg = /_{2,}/g;
|
|
|
- if (reg.test(sItem.chs)) {
|
|
|
- sItem.index = sIndex;
|
|
|
- sItem.isHeng = true;
|
|
|
- sItem.hengIndex = hengIndex;
|
|
|
- hengIndex++;
|
|
|
+ // 补全句子
|
|
|
+ if (!this.curQue.Bookanswer) {
|
|
|
+ let reg = /_{2,}/g;
|
|
|
+ if (reg.test(sItem.chs)) {
|
|
|
+ let bool = false;
|
|
|
+ if (sddItem.hasOwnProperty("input_Isexample")) {
|
|
|
+ bool = sddItem.input_Isexample;
|
|
|
+ } else {
|
|
|
+ bool = items.Isexample;
|
|
|
}
|
|
|
- //补全句子
|
|
|
- if (
|
|
|
- !this.curQue.Bookanswer
|
|
|
- ) {
|
|
|
- let reg = /_{2,}/g;
|
|
|
- if (reg.test(sItem.chs)) {
|
|
|
- let bool = false;
|
|
|
- if (sddItem.hasOwnProperty("input_Isexample")) {
|
|
|
- bool = sddItem.input_Isexample;
|
|
|
- } else {
|
|
|
- bool = items.Isexample;
|
|
|
- }
|
|
|
- let obj = null;
|
|
|
- if (!sddItem.input_tian) {
|
|
|
- obj = {
|
|
|
- answer:
|
|
|
- bool && complateArr[sItem.hengIndex]
|
|
|
- ? complateArr[sItem.hengIndex]
|
|
|
- : "",
|
|
|
- userAnswerJudge:
|
|
|
- bool || !complateArr[sItem.hengIndex]
|
|
|
- ? ""
|
|
|
- : "[JUDGE##F##JUDGE]",
|
|
|
- input_Isexample: bool ? true : false,
|
|
|
- };
|
|
|
- Bookanswer[index].content[indexs].completeInput.push(
|
|
|
- JSON.parse(JSON.stringify(obj))
|
|
|
- );
|
|
|
- } else {
|
|
|
- if (sddItem.hengLeg == "-1") {
|
|
|
- completeImage.push(obj);
|
|
|
- } else {
|
|
|
- for (let i = 0; i < Number(sddItem.hengLeg); i++) {
|
|
|
- completeImage.push(obj);
|
|
|
- }
|
|
|
- }
|
|
|
- Bookanswer[index].content[indexs].completeInput.push(
|
|
|
- JSON.parse(JSON.stringify(completeImage))
|
|
|
- );
|
|
|
- }
|
|
|
+ let obj = null;
|
|
|
+ if (!sddItem.input_tian) {
|
|
|
+ obj = {
|
|
|
+ answer:
|
|
|
+ bool && complateArr[sItem.hengIndex]
|
|
|
+ ? complateArr[sItem.hengIndex]
|
|
|
+ : "",
|
|
|
+ userAnswerJudge:
|
|
|
+ bool || !complateArr[sItem.hengIndex]
|
|
|
+ ? ""
|
|
|
+ : "[JUDGE##F##JUDGE]",
|
|
|
+ input_Isexample: Boolean(bool),
|
|
|
+ };
|
|
|
+ Bookanswer[index].content[indexs].completeInput.push(
|
|
|
+ JSON.parse(JSON.stringify(obj))
|
|
|
+ );
|
|
|
+ } else {
|
|
|
+ if (sddItem.hengLeg == "-1") {
|
|
|
+ completeImage.push(obj);
|
|
|
+ } else {
|
|
|
+ for (let i = 0; i < Number(sddItem.hengLeg); i++) {
|
|
|
+ completeImage.push(obj);
|
|
|
}
|
|
|
+ }
|
|
|
+ Bookanswer[index].content[indexs].completeInput.push(
|
|
|
+ JSON.parse(JSON.stringify(completeImage))
|
|
|
+ );
|
|
|
}
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- this.mergeWordSymbol(sItem);
|
|
|
- if (sItem.pinyin) {
|
|
|
- isHasPY++;
|
|
|
- this.totalHasPy = true;
|
|
|
- }
|
|
|
- let fontSize = JSON.parse(JSON.stringify(sItem.fontSize));
|
|
|
- fontSize = Number(fontSize.replace("px", ""));
|
|
|
- maxFontsize = fontSize > maxFontsize ? fontSize : maxFontsize;
|
|
|
- });
|
|
|
- } else {
|
|
|
- if (sddItem.sentence) {
|
|
|
- let fontSize = JSON.parse(
|
|
|
- JSON.stringify(sddItem.config.fontSize)
|
|
|
- );
|
|
|
- fontSize = Number(fontSize.replace("px", ""));
|
|
|
- maxFontsize = fontSize > maxFontsize ? fontSize : maxFontsize;
|
|
|
- }
|
|
|
+ this.mergeWordSymbol(sItem);
|
|
|
+ if (sItem.pinyin) {
|
|
|
+ isHasPY++;
|
|
|
+ this.totalHasPy = true;
|
|
|
}
|
|
|
- });
|
|
|
- sdItem.maxFontsize = maxFontsize;
|
|
|
- items.pyNumber.push(isHasPY);
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
+ let fontSize = JSON.parse(JSON.stringify(sItem.fontSize));
|
|
|
+ fontSize = Number(fontSize.replace("px", ""));
|
|
|
+ maxFontsize =
|
|
|
+ fontSize > maxFontsize ? fontSize : maxFontsize;
|
|
|
+ });
|
|
|
+ } else if (sddItem.sentence) {
|
|
|
+ let fontSize = JSON.parse(
|
|
|
+ JSON.stringify(sddItem.config.fontSize)
|
|
|
+ );
|
|
|
+ fontSize = Number(fontSize.replace("px", ""));
|
|
|
+ maxFontsize = fontSize > maxFontsize ? fontSize : maxFontsize;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ sdItem.maxFontsize = maxFontsize;
|
|
|
+ items.pyNumber.push(isHasPY);
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
});
|
|
|
if (!this.curQue.Bookanswer) {
|
|
@@ -646,44 +652,44 @@ export default {
|
|
|
if (this.curQue.img_list && this.curQue.img_list.length > 0) {
|
|
|
contentWidth = 780 - this.curQue.img_size;
|
|
|
}
|
|
|
- if(itemLeg==1){
|
|
|
- this.itemsWidth = 780
|
|
|
- }else{
|
|
|
+ if (itemLeg === 1) {
|
|
|
+ this.itemsWidth = 780;
|
|
|
+ } else {
|
|
|
this.itemsWidth = Math.floor(contentWidth / itemLeg) - 16;
|
|
|
}
|
|
|
-
|
|
|
|
|
|
// 把答错的挑出来
|
|
|
if (this.judgeAnswer == "standardAnswer") {
|
|
|
this.userErrorList = [];
|
|
|
this.userBookanswer = [];
|
|
|
this.curQue.tableData.body.forEach((item, index) => {
|
|
|
- item.content.forEach((items, indexs) => {
|
|
|
- if(items.mulText){
|
|
|
- let flag = false;
|
|
|
- // 句子填空
|
|
|
- items.mulText.correct.complateArr.forEach((itemI, indexI) => {
|
|
|
+ item.content.forEach((items, indexs) => {
|
|
|
+ if (items.mulText) {
|
|
|
+ let flag = false;
|
|
|
+ // 句子填空
|
|
|
+ items.mulText.correct.complateArr.forEach((itemI, indexI) => {
|
|
|
if (
|
|
|
- itemI &&
|
|
|
- itemI !=
|
|
|
- this.curQue.Bookanswer[index].content[indexs].completeInput[indexI]
|
|
|
+ itemI &&
|
|
|
+ itemI !==
|
|
|
+ this.curQue.Bookanswer[index].content[indexs].completeInput[
|
|
|
+ indexI
|
|
|
+ ]
|
|
|
) {
|
|
|
- flag = true;
|
|
|
+ flag = true;
|
|
|
}
|
|
|
- });
|
|
|
+ });
|
|
|
|
|
|
- if (flag) {
|
|
|
- this.userErrorList.push(items);
|
|
|
- this.userBookanswer.push(this.curQue.Bookanswer[index][indexs]);
|
|
|
- this.userError = true;
|
|
|
- }
|
|
|
+ if (flag) {
|
|
|
+ this.userErrorList.push(items);
|
|
|
+ this.userBookanswer.push(this.curQue.Bookanswer[index][indexs]);
|
|
|
+ this.userError = true;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
- //词和标点合一起
|
|
|
+ // 词和标点合一起
|
|
|
mergeWordSymbol(sItem) {
|
|
|
if (this.chsFhList.indexOf(sItem.chs) > -1) {
|
|
|
sItem.isShow = false;
|
|
@@ -747,14 +753,14 @@ export default {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
column-gap: 4px;
|
|
|
- &-center{
|
|
|
- justify-content: center;
|
|
|
+ &-center {
|
|
|
+ justify-content: center;
|
|
|
}
|
|
|
- &-right{
|
|
|
- justify-content: flex-end;
|
|
|
+ &-right {
|
|
|
+ justify-content: flex-end;
|
|
|
}
|
|
|
- &-between{
|
|
|
- justify-content: space-between;
|
|
|
+ &-between {
|
|
|
+ justify-content: space-between;
|
|
|
}
|
|
|
.content {
|
|
|
width: 100%;
|
|
@@ -817,9 +823,9 @@ export default {
|
|
|
display: grid;
|
|
|
}
|
|
|
}
|
|
|
- // .stem-content {
|
|
|
- // flex: 1;
|
|
|
- // }
|
|
|
+ // .stem-content {
|
|
|
+ // flex: 1;
|
|
|
+ // }
|
|
|
.number-box {
|
|
|
// &-hasPY {
|
|
|
// margin-top: 19px;
|