Commit 0c0b3e2a2ea4e1aaf4cb3bb9b21469df542a9616
Merge branch 'ezTeach-2.0.0.0.release' of http://120.78.57.84/baoman/Ezquiz_Plat…
…form into ezTeach-2.0.0.0.release
Showing
2 changed files
with
9 additions
and
3 deletions
src/views/basic/askTestQuestion/components/analysisDialog.vue
| ... | ... | @@ -60,7 +60,10 @@ export default { |
| 60 | 60 | const body = iframeRef.contentWindow.document.body; |
| 61 | 61 | body.style.overflowX = "hidden"; // 不允许出现横向滚动条 |
| 62 | 62 | const height = body.scrollHeight; // 获取内容的高度 |
| 63 | - iframeRef.style.height = `${height + 20}px`; // 设置 iframe 的高度 | |
| 63 | + console.log(height, "height"); | |
| 64 | + console.log(body, "body"); | |
| 65 | + | |
| 66 | + iframeRef.style.height = `${height}px`; // 设置 iframe 的高度 | |
| 64 | 67 | // 获取第一个P标签 |
| 65 | 68 | const firstP = doc.getElementsByTagName("p")[0]; |
| 66 | 69 | // 或者修改第一个 < p > 标签的内容; | ... | ... |
src/views/basic/askTestQuestion/wrongQuestion.vue
| ... | ... | @@ -95,7 +95,10 @@ |
| 95 | 95 | </div> |
| 96 | 96 | </el-col> |
| 97 | 97 | <el-col class="col-margin" :span="7" |
| 98 | - ><span style="font-weight: 600">题型:</span> | |
| 98 | + ><span | |
| 99 | + style="font-weight: 600; width: fit-content; white-space: nowrap" | |
| 100 | + >题型:</span | |
| 101 | + > | |
| 99 | 102 | <div |
| 100 | 103 | @click="handleQuestion(item.value)" |
| 101 | 104 | class="select-box" |
| ... | ... | @@ -303,7 +306,7 @@ export default { |
| 303 | 306 | formData: { |
| 304 | 307 | classId: 1, // 班级选中 |
| 305 | 308 | // type: "onDay", // 时间类型 |
| 306 | - type: "term", // 时间类型 | |
| 309 | + type: "onDay", // 时间类型 | |
| 307 | 310 | dateRange: ["2022-03-01", "2023-05-01"], // 开始结束时间 |
| 308 | 311 | startScoreRate: 0, // 开始区间 |
| 309 | 312 | endScoreRate: 100, // 结束区间 | ... | ... |