Pārlūkot izejas kodu

通知和文件列表高度

yuedefeng 6 gadi atpakaļ
vecāks
revīzija
38780c786e
1 mainītis faili ar 7 papildinājumiem un 5 dzēšanām
  1. 7 5
      src/dashoo.cn/frontend_web/src/pages/login.vue

+ 7 - 5
src/dashoo.cn/frontend_web/src/pages/login.vue

@@ -150,8 +150,9 @@
       <div class="components-container home-wrapper"
            style="background-color: white;">
         <el-table :data="noticeList"
-                  height="50%"
-                  style="width: 100%; height: 100vh;">
+                  size="mini"
+                  height="calc(100vh-180px)"
+                  style="width: 100%;">
           <el-table-column prop="Name"
                            label="通知标题">
             <template slot-scope="scope">
@@ -174,10 +175,11 @@
       <div class="components-container home-wrapper"
            style="background-color: white">
         <el-table :data="fileList"
-                  height="50%"
-                  style="width: 100%;  height: 100vh;">
+                  height="calc(100vh - 180px)"
+                  size="mini"
+                  style="width: 100%;">
           <el-table-column prop="Name"
-                           label="文件名">
+                           label="资料文件名">
             <template slot-scope="scope">
               <!--<i class="el-icon-caret-right"></i>-->
               <el-link :href="getDownloadFile(scope.row.FileURL)"