wjj 4 rokov pred
rodič
commit
6b1f9e7f42
2 zmenil súbory, kde vykonal 18 pridanie a 1 odobranie
  1. 6 0
      src/App.vue
  2. 12 1
      src/components/commons/Footer2.0.vue

+ 6 - 0
src/App.vue

@@ -99,4 +99,10 @@ export default {
     margin: 0 auto;
     padding-bottom: 30px;
   }
+  .home-slice {
+    width: 100%;
+    height: 170px;
+    background-image: url("./assets/img/homeSlice.png");
+    background-size: 100% 100%
+  }
 </style>

+ 12 - 1
src/components/commons/Footer2.0.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="footer-nav">
+  <div :class=" slice_type ? 'footer-nav' : 'footer-nav-online' ">
     <div class="container">
       <el-row>
         <el-col :span="5" class="nav-logo-block">
@@ -30,6 +30,7 @@
 
 <script>
 import {CONFIG} from "../../config";
+import {slice_type} from "../../../tool4deploy/slider-type";
 
 export default {
   name: "Footer2.0",
@@ -43,6 +44,7 @@ export default {
       footer_fax:CONFIG.footer_fax,
       footer_email:CONFIG.footer_email,
       footer_QRcode:CONFIG.footer_QRcode,
+      slice_type
     }
   }
 }
@@ -50,6 +52,7 @@ export default {
 
 <style scoped lang="scss">
   @import "../../style/main";
+
   .footer-nav{
     height: 120px;
     background:$--color-primary;
@@ -58,6 +61,14 @@ export default {
     font-size: 14px;
     font-family:Source Han Sans CN;
   }
+  .footer-nav-online{
+    height: 120px;
+    background:$--color-footer-background;;
+    color: $--color-title-color;
+    padding: 30px 0;
+    font-size: 14px;
+    font-family:Source Han Sans CN;
+  }
   .nav-title{
     display: inline-block;
   }