Bladeren bron

修改学生管理抖动

11wqe1 1 maand geleden
bovenliggende
commit
c6a2b3330e
1 gewijzigde bestanden met toevoegingen van 8 en 2 verwijderingen
  1. 8 2
      src/components/pages/studentManage/student.vue

+ 8 - 2
src/components/pages/studentManage/student.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="pb_content" style="background: unset">
+  <div class="pb_content" style="background: unset;height: 100%;">
     <div class="sm_box">
       <div class="sm_left">
         <div class="nav" @click="
@@ -76,7 +76,7 @@
             </div>
           </div>
         </div>
-        <div class="pb_content_body">
+        <div class="pb_content_body" style="overflow: auto;">
           <div class="student_table">
             <el-table ref="table" :data="tableData" border :height="tableHeight" :fit="true" v-loading="isLoading"
               style="width: 100%" :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }"
@@ -1490,17 +1490,23 @@ export default {
 
 .pb_content_body {
   width: 100% !important;
+  /* flex: 1; */
+  /* overflow: auto; */
 }
 
 .sm_box {
   display: flex;
   width: calc(100% - 20px);
   margin: 0 auto;
+  height: 100%;
 }
 
 .sm_right {
   width: calc(100% - 210px);
   margin-left: 210px;
+  height: 100%;
+  display: flex;
+  flex-direction: column;
 }
 
 .sm_left {