소스 검색

fix 大题名称超长

Michael Wang 3 년 전
부모
커밋
60b0289a4d
2개의 변경된 파일7개의 추가작업 그리고 9개의 파일을 삭제
  1. 4 4
      src/constants/constants.ts
  2. 3 5
      src/features/OnlineExam/Examing/QuestionView.vue

+ 4 - 4
src/constants/constants.ts

@@ -45,10 +45,10 @@ export const HOST_FILE_HASH_MAP = new Map([
     "pc-test.ea100.com.cn",
     "7501fb797d0bac668e13f392b42e1b9f6464442c2ffc03c2a3243416ef226eb8",
   ],
-  [
-    "qmtest.exam-cloud.cn",
-    "a31c9eb84fe82031fb01e9e25262f0b407caa705b5245654faeed1490bff67f9",
-  ],
+  // [
+  //   "qmtest.exam-cloud.cn",
+  //   "a31c9eb84fe82031fb01e9e25262f0b407caa705b5245654faeed1490bff67f9",
+  // ],
   // [
   //   "uestccourse.exam-cloud.cn",
   //   "1ebdaa1e00fbefca0f6519e252e4d372bcb9c3f96c45760b032ca58683d28306",

+ 3 - 5
src/features/OnlineExam/Examing/QuestionView.vue

@@ -127,10 +127,7 @@ function toggleSign() {
       />
       <question-index />
     </div>
-    <div
-      v-if="store.exam.currentQuestion.parentBody"
-      style="height: calc(100% - 45px)"
-    >
+    <div v-if="store.exam.currentQuestion.parentBody" class="tw-flex-grow">
       <SplitPane layout="vertical">
         <template #left>
           <div class="question-view parent-question tw-h-full">
@@ -153,6 +150,8 @@ function toggleSign() {
 <style scoped>
 .question-container {
   overflow: auto;
+  display: flex;
+  flex-direction: column;
 }
 
 .question-view {
@@ -165,7 +164,6 @@ function toggleSign() {
 .question-header {
   display: flex;
   align-items: center;
-  height: 45px;
 }
 
 .star {