Browse Source

bug fix in multiColorBackground.vue

louyu 7 years ago
parent
commit
a3c453eaa8
3 changed files with 6 additions and 1 deletions
  1. 4 1
      src/components/multiColorBackground.vue
  2. 1 0
      src/views/contact.vue
  3. 1 0
      src/views/contract.vue

+ 4 - 1
src/components/multiColorBackground.vue

@@ -4,7 +4,7 @@
     <div class="bg-top" :style="{height:(topHeight||4)+'rem'}">
     <div class="bg-top" :style="{height:(topHeight||4)+'rem'}">
 
 
     </div>
     </div>
-    <div class="content">
+    <div class="content" :class="{'full-height':showGoBack}">
       <slot></slot>
       <slot></slot>
     </div>
     </div>
 
 
@@ -57,4 +57,7 @@
     z-index: 4;
     z-index: 4;
 
 
   }
   }
+  .content.full-height{
+    height: 100vh;
+  }
 </style>
 </style>

+ 1 - 0
src/views/contact.vue

@@ -97,5 +97,6 @@
   }
   }
   .contact-list{
   .contact-list{
     margin-top: 2.2rem;
     margin-top: 2.2rem;
+    padding-bottom: 5px;
   }
   }
 </style>
 </style>

+ 1 - 0
src/views/contract.vue

@@ -91,5 +91,6 @@
   }
   }
   .contract-list{
   .contract-list{
    margin-top: 2.2rem;
    margin-top: 2.2rem;
+    padding-bottom: 5px;
   }
   }
 </style>
 </style>