成绩报告参考答案字体不一致bug

UI_2022-02-10
e 3 years ago
parent 76609b059e
commit dcdcbdd481
  1. 16
      src/pages/record/show/index.vue

@ -87,7 +87,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="ruleAnswer" label="参考答案">
<el-table-column prop="ruleAnswer" label="参考答案" width="300" style='word-wrap: break-word'>
<template slot-scope="scope">
<div v-if='scope.row.lcRuleRecords'>
<div v-for="(item, index) in scope.row.lcRuleRecords">
@ -96,12 +96,12 @@
</span>
</div>
</div>
<div v-else v-html='scope.row.referenceAnswer'>
<div v-else v-html="scope.row.referenceAnswer">
<!-- {{}}-->
</div>
</template>
</el-table-column>
<el-table-column prop="userAnswer" label="学生答案">
<el-table-column prop="userAnswer" label="学生答案" width="300">
<template slot-scope="scope">
<div v-if='scope.row.lcRuleRecords'>
<div v-for="(item, index) in scope.row.lcRuleRecords">
@ -276,8 +276,16 @@ export default {
/deep/ .el-textarea.is-disabled .el-textarea__inner {
color: #777;
background-color: #e5dfff;
}
}
/deep/ pre, code, kbd, samp{
font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
word-wrap: break-word;
white-space: pre-wrap;
}
/deep/ pre{
white-space: pre-wrap;
}
#pdfDom {
width: 100%;
height: 100%;

Loading…
Cancel
Save