作业批改-ui样式调整

This commit is contained in:
白了个白 2024-09-24 09:31:14 +08:00
parent f346285528
commit 2e2e29808f
2 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<el-form ref="classWorkFormScoreRef" :model="classWorkFormScore"> <el-form ref="classWorkFormScoreRef" :model="classWorkFormScore">
<!-- <div class="teacher_content" :style="{ height: dialogProps.maxheight + 'px' }"> --> <!-- <div class="teacher_content" :style="{ height: dialogProps.maxheight + 'px' }"> -->
<div class="teacher_content" :style="{ height: '75vh' }"> <div class="teacher_content" :style="{ height: '72vh' }">
<div style="font-size: 18px; width: 100%; padding: 5px 10px" class="sticky"> <div style="font-size: 18px; width: 100%; padding: 5px 10px" class="sticky">
{{ classWorkFormScore.name }} 答题详情 {{ classWorkFormScore.name }} 答题详情
</div> </div>
@ -388,7 +388,7 @@
v-model="fileReadopen" v-model="fileReadopen"
title="文件预览" title="文件预览"
width="80%" width="80%"
:style="{ height: '75vh' }" :style="{ height: '72vh' }"
append-to-body append-to-body
> >
<div class="file-read-dialog"> <div class="file-read-dialog">

View File

@ -58,7 +58,7 @@
<!-- 如果当前学习没有试题 :height="mainHeight"--> <!-- 如果当前学习没有试题 :height="mainHeight"-->
<div <div
v-if="classWorkAnalysis.view == 'studentview'" v-if="classWorkAnalysis.view == 'studentview'"
style="width: 100%; height:75vh; " style="width: 100%; height:73vh; "
class="clwk_dialog_view" class="clwk_dialog_view"
> >
<div class="view_table"> <div class="view_table">
@ -658,19 +658,19 @@ defineExpose({
.clwk_dialog_view { .clwk_dialog_view {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-around; justify-content: flex-start;
// align-items: center;
overflow: hidden; overflow: hidden;
} }
.view_table { .view_table {
flex: 1; flex: 0 0 auto;
height: 100%; height: 100%;
overflow-y: auto; overflow: hidden;
} }
.view_teachrting { .view_teachrting {
flex: 2; flex: 1;
height: 100%; height: 100%;
overflow-y: auto; // overflow-y: auto;
overflow: hidden;
} }
} }