|
|
|
@ -116,12 +116,12 @@ |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div v-else v-html='scope.row.answer' style='white-space: pre-wrap'></div> |
|
|
|
|
<div v-else class="pre-code">{{ scope.row.answer }}</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="runResult" label="学生运行结果" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div class="m-b-20" v-html='scope.row.runResult' style='white-space: pre-wrap'></div> |
|
|
|
|
<div class="m-b-20 pre-code">{{ scope.row.runResult }}</div> |
|
|
|
|
<template v-if="scope.row.runThePictureList"> |
|
|
|
|
<img v-for="(img, i) in scope.row.runThePictureList" :key="i" width="200" class="result-pic" |
|
|
|
|
:src="img" alt=""> |
|
|
|
@ -295,6 +295,10 @@ export default { |
|
|
|
|
padding: 12px 300px 20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.pre-code { |
|
|
|
|
white-space: pre-wrap; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
code, |
|
|
|
|
kbd, |
|
|
|
|
samp { |
|
|
|
|