Explorar el Código

update homepage

wangJJ hace 5 años
padre
commit
fec223a831
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 1 1
      src/pages/Homepage/Homepage.vue
  2. 3 3
      src/pages/Homepage/TestCard.vue

+ 1 - 1
src/pages/Homepage/Homepage.vue

@@ -46,7 +46,7 @@
         <el-col :span="19" class="test-type-wrapper">
           <TestMenu :testTypeList="homeData.testTypeList"></TestMenu>
           <TestCard :applicationTypeList="homeData.applicationTypeList"></TestCard>
-          <el-row>
+          <el-row style="margin-top: 10px">
             <ResourceAndTool :resourceList="homeDataNoCache.resourceList"></ResourceAndTool>
           </el-row>
           <el-row>

+ 3 - 3
src/pages/Homepage/TestCard.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="card-waterfull">
-    <el-row :gutter="15">
+    <el-row :gutter="20">
       <waterfall
                         :line-gap="400"
                         :min-line-gap="150"
@@ -11,7 +11,7 @@
 
         <waterfall-slot
           v-for="(item, index) in applicationTypeList"
-          width="350"
+          width="310"
           :height="200"
           :order="index"
           :key="item.code"
@@ -71,7 +71,7 @@
 
   .card-waterfull {
     .el-card {
-      width: 300px !important;
+      width: 98% !important;
     }
     .el-row {
       margin:  0 !important;