瀏覽代碼

高度修改

duy 2 年之前
父節點
當前提交
1e9e36a3a6
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/styles/static/project.scss
  2. 2 2
      src/views/static/project.vue

+ 1 - 1
src/styles/static/project.scss

@@ -6,7 +6,7 @@
     overflow-y: auto;
 }
 .card-box {
-    height: calc(100vh - 350px) !important;
+    height: calc(100vh - 460px) !important;
     overflow-y: auto;
 }
 .hc-card-item-sub {

+ 2 - 2
src/views/static/project.vue

@@ -48,12 +48,12 @@
                 </el-col>
             </el-row>
 
-            <HcCard class="mt-8 card-box" >
+            <HcCard class="mt-8" >
                 <template #header>
                     <div class="hc-expense-total-title"> 列表统计</div>
                    
                 </template>
-                <div class="bg-white p-2" style="height: 100%;">
+                <div class="bg-white p-2  card-box" style="height: 100%;">
                     <el-table :data="tableData" border style="width: 100%;  "
                                 v-if="!isProject"
                                 :span-method="spanMethod"