Commit 7f6131ad38de1463e23d69e26961b12a9274e30c
1 parent
98163298
wip: bug修复
Showing
3 changed files
with
11 additions
and
11 deletions
src/App.vue
... | ... | @@ -100,8 +100,10 @@ export default { |
100 | 100 | // } |
101 | 101 | else { |
102 | 102 | $app.style.cssText = ` |
103 | - min-width: 100vh; | |
104 | - min-height:100vh; | |
103 | + transform: scale(${scale}) ${translate}; | |
104 | + transform-origin: top left; | |
105 | + min-width: 1920px; | |
106 | + min-height:989px; | |
105 | 107 | `; |
106 | 108 | } |
107 | 109 | } else { | ... | ... |
src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue
... | ... | @@ -149,6 +149,7 @@ |
149 | 149 | width: 100%; |
150 | 150 | pointer-events: none; |
151 | 151 | border: none; /* 启用点击穿透 */ |
152 | + padding: 0 0 0 10px; | |
152 | 153 | " |
153 | 154 | ></iframe> |
154 | 155 | </div> |
... | ... | @@ -625,7 +626,7 @@ export default { |
625 | 626 | input = input.substring(matchLength + 1).trim(); |
626 | 627 | } |
627 | 628 | // 使用正则表达式匹配并处理输入字符串 |
628 | - input = input.replace(/[0-9]+[.)]/, ""); | |
629 | + input = input.replace(/[0-9]+[.).]/, ""); | |
629 | 630 | input = input.replace(/(\d+(\.\d+)?分)/g, ""); |
630 | 631 | return input.trim(); |
631 | 632 | }, | ... | ... |
src/views/basic/askTestQuestion/wrongQuestion.vue
... | ... | @@ -27,7 +27,7 @@ |
27 | 27 | @change="changeSubject" |
28 | 28 | v-model="formData.subjectName" |
29 | 29 | placeholder="" |
30 | - style="width: 100px; margin-left: 10px" | |
30 | + style="width: 120px; margin-left: 10px" | |
31 | 31 | > |
32 | 32 | <el-option |
33 | 33 | v-for="(item, index) in subjectList" |
... | ... | @@ -100,11 +100,8 @@ |
100 | 100 | % |
101 | 101 | </div> |
102 | 102 | </el-col> |
103 | - <el-col class="col-margin" :span="8" | |
104 | - ><span | |
105 | - style="font-weight: 600; width: fit-content; white-space: nowrap" | |
106 | - >题型:</span | |
107 | - > | |
103 | + <el-col class="col-margin" :span="7" | |
104 | + ><span style="font-weight: 600; white-space: nowrap">题型:</span> | |
108 | 105 | <div |
109 | 106 | @click="handleQuestion(item.value)" |
110 | 107 | class="select-box" |
... | ... | @@ -181,7 +178,7 @@ |
181 | 178 | <iframe |
182 | 179 | :src="item.screenshot" |
183 | 180 | :ref="'iframe' + index" |
184 | - style="width: 100%; border: none" | |
181 | + style="width: 100%; border: none; padding: 0 0 0 10px" | |
185 | 182 | @load="onIFrameLoad(index)" |
186 | 183 | /> |
187 | 184 | <!-- <div class="topic-info" v-html="item.modifiedHtml"></div> --> |
... | ... | @@ -627,7 +624,7 @@ export default { |
627 | 624 | input = input.substring(matchLength + 1).trim(); |
628 | 625 | } |
629 | 626 | // 使用正则表达式匹配并处理输入字符串 |
630 | - input = input.replace(/[0-9]+[.)]/, ""); | |
627 | + input = input.replace(/[0-9]+[.).]/, ""); | |
631 | 628 | input = input.replace(/(\d+(\.\d+)?分)/g, ""); |
632 | 629 | return input.trim(); |
633 | 630 | }, | ... | ... |