diff --git a/src/renderer/src/components/exam-question/examDetailsDrawer.vue b/src/renderer/src/components/exam-question/examDetailsDrawer.vue index 12de43c..28ea8d8 100644 --- a/src/renderer/src/components/exam-question/examDetailsDrawer.vue +++ b/src/renderer/src/components/exam-question/examDetailsDrawer.vue @@ -71,4 +71,9 @@ defineExpose({ justify-content: flex-end; box-sizing: border-box; } + + :deep(.format-work-desc > :is(div):first-child){ + display: inline-block; + } + \ No newline at end of file diff --git a/src/renderer/src/hooks/useProcessList.js b/src/renderer/src/hooks/useProcessList.js index e7329eb..8cd80ad 100644 --- a/src/renderer/src/hooks/useProcessList.js +++ b/src/renderer/src/hooks/useProcessList.js @@ -59,14 +59,14 @@ export const processList = (row, aloneOption=false) => { for(; j${char}.${workDescArr[j]}`; + tmp += `
${char}.${workDescArr[j]}
`; } else { if(j%2 == 0){ tmp += `
`; } - tmp += `
${char}.${workDescArr[j]}
`; + tmp += `
${char}.${workDescArr[j]}
`; if(j%2 == 1){ tmp += '
'; } @@ -153,14 +153,14 @@ export const processList = (row, aloneOption=false) => { for(; j${char}.${optionsArr[j]}`; + tmp += `
${char}.${optionsArr[j]}
`; } else { if(j%2 == 0){ tmp += `
`; } - tmp += `
${char}.${optionsArr[j]}
`; + tmp += `
${char}.${optionsArr[j]}
`; if(j%2 == 1){ tmp += '
'; } @@ -280,14 +280,14 @@ export const processList = (row, aloneOption=false) => { for(; j${char}.${workDescArr[j]}`; + tmp += `
${char}.${workDescArr[j]}
`; } else { if(j%2 == 0){ tmp += `
`; } - tmp += `
${char}.${workDescArr[j]}
`; + tmp += `
${char}.${workDescArr[j]}
`; if(j%2 == 1){ tmp += '
'; } diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue index 234693f..27be20e 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue @@ -488,6 +488,10 @@ watch(() => props.bookobj.levelSecondId, (newVal, oldVal) => { width: 100%; height: calc(100% - 100px); } + + :deep(.format-work-desc > :is(div):first-child){ + display: inline-block; + } // :deep(.el-dialog .question-dialog){ // height: 80vh !important; diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue index 52d87fc..88147d1 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue @@ -405,9 +405,10 @@