个人题库:题目新增修改

This commit is contained in:
白了个白 2024-11-21 15:30:55 +08:00
parent cbf2c29bb4
commit 14bfef6903
1 changed files with 17 additions and 3 deletions

View File

@ -93,14 +93,15 @@
</div>
<!-- 试题详细信息 -->
<examDetailsDrawer ref="examDetailsDrawerRef"></examDetailsDrawer>
<!-- 单题上传的对话框/ 纠错对话框 close-on-click-modal|close-on-press-escape 避免误点dialog区域外导致白填入大量题目内容-->
<!-- 单题上传的对话框/ 纠错对话框 close-on-click-modal|close-on-press-escape 避免误点dialog区域外导致白填入大量题目内容
style="width: 70%; height: 80%; overflow: hidden"-->
<el-dialog
v-model="dlgImportSingle.open"
class="my-custom-dialog"
:title="dlgImportSingle.title"
append-to-body
:close-on-click-modal="false"
:close-on-press-escape="false"
style="width: 70%; height: 80%; overflow: hidden"
>
<QuesItem
ref="refquesItem"
@ -476,6 +477,17 @@ watch(() => props.bookobj.levelSecondId, (newVal, oldVal) => {
})
</script>
<style>
.my-custom-dialog{
width: 60% !important;
height: 77vh !important;
overflow: hidden !important;
}
.my-custom-dialog .el-dialog__body {
height: 90% !important;
overflow: auto !important;
}
</style>
<style scoped lang="scss">
.page-myquest {
height: 100%;
@ -505,7 +517,9 @@ watch(() => props.bookobj.levelSecondId, (newVal, oldVal) => {
// width: 80% !important;
// }
// :deep(.el-dialog) {
// width: 80% !important;
// }
</style>
<style src="@/assets/styles/JYStyle.css"></style>