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,8 +100,10 @@ export default { | ||
100 | // } | 100 | // } |
101 | else { | 101 | else { |
102 | $app.style.cssText = ` | 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 | } else { | 109 | } else { |
src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue
@@ -149,6 +149,7 @@ | @@ -149,6 +149,7 @@ | ||
149 | width: 100%; | 149 | width: 100%; |
150 | pointer-events: none; | 150 | pointer-events: none; |
151 | border: none; /* 启用点击穿透 */ | 151 | border: none; /* 启用点击穿透 */ |
152 | + padding: 0 0 0 10px; | ||
152 | " | 153 | " |
153 | ></iframe> | 154 | ></iframe> |
154 | </div> | 155 | </div> |
@@ -625,7 +626,7 @@ export default { | @@ -625,7 +626,7 @@ export default { | ||
625 | input = input.substring(matchLength + 1).trim(); | 626 | input = input.substring(matchLength + 1).trim(); |
626 | } | 627 | } |
627 | // 使用正则表达式匹配并处理输入字符串 | 628 | // 使用正则表达式匹配并处理输入字符串 |
628 | - input = input.replace(/[0-9]+[.)]/, ""); | 629 | + input = input.replace(/[0-9]+[.).]/, ""); |
629 | input = input.replace(/(\d+(\.\d+)?分)/g, ""); | 630 | input = input.replace(/(\d+(\.\d+)?分)/g, ""); |
630 | return input.trim(); | 631 | return input.trim(); |
631 | }, | 632 | }, |
src/views/basic/askTestQuestion/wrongQuestion.vue
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | @change="changeSubject" | 27 | @change="changeSubject" |
28 | v-model="formData.subjectName" | 28 | v-model="formData.subjectName" |
29 | placeholder="" | 29 | placeholder="" |
30 | - style="width: 100px; margin-left: 10px" | 30 | + style="width: 120px; margin-left: 10px" |
31 | > | 31 | > |
32 | <el-option | 32 | <el-option |
33 | v-for="(item, index) in subjectList" | 33 | v-for="(item, index) in subjectList" |
@@ -100,11 +100,8 @@ | @@ -100,11 +100,8 @@ | ||
100 | % | 100 | % |
101 | </div> | 101 | </div> |
102 | </el-col> | 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 | <div | 105 | <div |
109 | @click="handleQuestion(item.value)" | 106 | @click="handleQuestion(item.value)" |
110 | class="select-box" | 107 | class="select-box" |
@@ -181,7 +178,7 @@ | @@ -181,7 +178,7 @@ | ||
181 | <iframe | 178 | <iframe |
182 | :src="item.screenshot" | 179 | :src="item.screenshot" |
183 | :ref="'iframe' + index" | 180 | :ref="'iframe' + index" |
184 | - style="width: 100%; border: none" | 181 | + style="width: 100%; border: none; padding: 0 0 0 10px" |
185 | @load="onIFrameLoad(index)" | 182 | @load="onIFrameLoad(index)" |
186 | /> | 183 | /> |
187 | <!-- <div class="topic-info" v-html="item.modifiedHtml"></div> --> | 184 | <!-- <div class="topic-info" v-html="item.modifiedHtml"></div> --> |
@@ -627,7 +624,7 @@ export default { | @@ -627,7 +624,7 @@ export default { | ||
627 | input = input.substring(matchLength + 1).trim(); | 624 | input = input.substring(matchLength + 1).trim(); |
628 | } | 625 | } |
629 | // 使用正则表达式匹配并处理输入字符串 | 626 | // 使用正则表达式匹配并处理输入字符串 |
630 | - input = input.replace(/[0-9]+[.)]/, ""); | 627 | + input = input.replace(/[0-9]+[.).]/, ""); |
631 | input = input.replace(/(\d+(\.\d+)?分)/g, ""); | 628 | input = input.replace(/(\d+(\.\d+)?分)/g, ""); |
632 | return input.trim(); | 629 | return input.trim(); |
633 | }, | 630 | }, |