|
@@ -99,6 +99,7 @@
|
|
|
? 'NNPE-chs-underline'
|
|
|
: '',
|
|
|
]"
|
|
|
+ :style="{ fontSize: pItem.config.fontSize }"
|
|
|
>{{ pItem.chs }}</span
|
|
|
>
|
|
|
</template>
|
|
@@ -114,6 +115,7 @@
|
|
|
class="answer-input userRight"
|
|
|
v-model="curQue.answerArr[pItem.hengIndex - 1]"
|
|
|
:canEdit="false"
|
|
|
+ :style="hengStyle(pItem.config.fontSize)"
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-else>
|
|
@@ -149,6 +151,7 @@
|
|
|
"
|
|
|
:hengIndex="pItem.hengIndex - 1"
|
|
|
@saveBlankTF="saveBlankTF"
|
|
|
+ :style="hengStyle(pItem.config.fontSize)"
|
|
|
/>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -195,6 +198,7 @@
|
|
|
? 'wordActive'
|
|
|
: '',
|
|
|
]"
|
|
|
+ :style="{ fontSize: pItem.config.fontSize }"
|
|
|
>{{ item.wordsList[pIndex + 1].chs }}</span
|
|
|
>
|
|
|
|
|
@@ -260,6 +264,7 @@
|
|
|
? 'wordActive'
|
|
|
: '',
|
|
|
]"
|
|
|
+ :style="{ fontSize: pItem.config.fontSize }"
|
|
|
>{{ item.wordsList[pIndex + 2].chs }}</span
|
|
|
>
|
|
|
<span
|
|
@@ -314,6 +319,7 @@
|
|
|
? 'NNPE-chs-underline'
|
|
|
: '',
|
|
|
]"
|
|
|
+ :style="{ fontSize: pItem.config.fontSize }"
|
|
|
>{{ pItem.chs }}</span
|
|
|
>
|
|
|
</template>
|
|
@@ -329,6 +335,7 @@
|
|
|
class="answer-input userRight"
|
|
|
v-model="curQue.answerArr[pItem.hengIndex - 1]"
|
|
|
:canEdit="false"
|
|
|
+ :style="hengStyle(pItem.config.fontSize)"
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-else>
|
|
@@ -364,6 +371,7 @@
|
|
|
"
|
|
|
:hengIndex="pItem.hengIndex - 1"
|
|
|
@saveBlankTF="saveBlankTF"
|
|
|
+ :style="hengStyle(pItem.config.fontSize)"
|
|
|
/>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -502,6 +510,7 @@
|
|
|
class="answer-input userRight"
|
|
|
v-model="curQue.answerArr[pItem.hengIndex - 1]"
|
|
|
:canEdit="false"
|
|
|
+ :style="hengStyle(pItem.config.fontSize)"
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-else>
|
|
@@ -532,6 +541,7 @@
|
|
|
"
|
|
|
:hengIndex="pItem.hengIndex - 1"
|
|
|
@saveBlankTF="saveBlankTF"
|
|
|
+ :style="hengStyle(pItem.config.fontSize)"
|
|
|
/>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -547,8 +557,11 @@
|
|
|
type="normal"
|
|
|
class="normal-box"
|
|
|
:TaskModel="TaskModel"
|
|
|
- :answerRecordList=" judgeAnswer != 'standardAnswer'
|
|
|
- ? Bookanswer.recordList[index]:[]"
|
|
|
+ :answerRecordList="
|
|
|
+ judgeAnswer != 'standardAnswer'
|
|
|
+ ? Bookanswer.recordList[index]
|
|
|
+ : []
|
|
|
+ "
|
|
|
:tmIndex="index"
|
|
|
@handleWav="handleWav"
|
|
|
/>
|
|
@@ -711,6 +724,16 @@ export default {
|
|
|
return classname;
|
|
|
};
|
|
|
},
|
|
|
+ hengStyle() {
|
|
|
+ return function (fontSize) {
|
|
|
+ let sizeVal = fontSize.replace("px", "");
|
|
|
+ return {
|
|
|
+ minHeight: Number(sizeVal) + 9 + "px",
|
|
|
+ lineHeight: Number(sizeVal) + 8 + "px",
|
|
|
+ fontSize: fontSize,
|
|
|
+ };
|
|
|
+ };
|
|
|
+ },
|
|
|
},
|
|
|
watch: {},
|
|
|
//方法集合
|
|
@@ -1198,7 +1221,7 @@ export default {
|
|
|
}
|
|
|
.chs {
|
|
|
font-family: "FZJCGFKTK";
|
|
|
- font-size: 16px;
|
|
|
+ font-size: 20px;
|
|
|
line-height: 24px;
|
|
|
color: rgba(0, 0, 0, 0.85);
|
|
|
}
|