Pārlūkot izejas kodu

修改css细节

306132416@qq.com 6 gadi atpakaļ
vecāks
revīzija
896075273c
2 mainītis faili ar 238 papildinājumiem un 238 dzēšanām
  1. 235 235
      src/components/footer.vue
  2. 3 3
      src/views/Home.vue

+ 235 - 235
src/components/footer.vue

@@ -1,235 +1,235 @@
-<template>
-    <div class="footer">
-        <div id="footContent">
-            <div class="top">
-                <div class="tit">
-                    <h4>联系我们</h4>
-                    <span>CONTACT US</span>
-                </div>
-                <div class="tit1">
-                    <div class="line">
-                        <div class="weixin">
-                            <img :src="img1" alt="微信二维码">
-                            <p>官方微信</p>
-                        </div>
-                        <div class="contact">
-                            <p class="text-muted">{{webSite}}</p>
-                            <p class="text-muted">电话:{{tel}}</p>
-                            <p class="text-muted">合作邮箱:{{email}}</p>
-                            <p class="text-muted">地址:{{address}}</p>
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <div class="bottom">
-                <h4>Copyright @ 芝麻开花科技有限公司  保留所有权利  京ICP备13040720号-8</h4>
-            </div>
-        </div>
-    </div>
-</template>
-
-<script>
-/* eslint-disable */
-import img1 from "./img/weixin.png";
-export default {
-    name: 'HomeFooter',
-    data(){
-        return{
-            img1:img1,
-            webSite:"网址:http://www.zhimakahua.com",
-            tel:"400-0018-318",
-            email:"123456789@163.com",
-            address:"陕西省西安市曲江新区雁塔南路1201号金辉环球中心B座1209室"
-        }    
-    }
-}
-</script>
-
-<style scoped>
-*{
-    margin: 0px;
-    padding: 0px;
-    text-align: left;
-}
-.footer{
-    width: 100%;
-    height: 480px;
-    background: #F6F6F6;
-    color: aliceblue;
-}
-#footContent{
-    width: 1440px;
-    margin: 0 auto;
-}
-@media screen and (max-width:1440px){
- #footContent{
-    width: 100%;
-}   
-}
-.footer .top{
-    color: black;    
-}
-.footer .top .tit{
-    height: 158px;
-    padding-top: 60px;
-    padding-left: 8.3%;
-}
-.footer .top div h4{
-    font-family: PingFangSC-Regular;
-    font-size: 28px;
-    height: 40px;
-    line-height: 40px;
-    color: #4A4A4A;
-    letter-spacing: 0;
-    margin-bottom: 6px;
-}
-.footer .top div span{
-    font-family: PingFangSC-Regular;
-    font-size: 18px;
-    color: #999999;
-    letter-spacing: 0.2px;
-    line-height: 25px;
-}
-.footer .top .tit1{
-    display: flex;
-    flex-direction: row;
-    height: 233px;
-    padding-left: 8.3%;
-}
-.footer .top .tit1 .line{
-    padding-top: 43px;
-    border-top: 1px solid #E4E4E4;
-    border-bottom: 1px solid #E4E4E4;
-    width: 84%;
-}
-.footer .top .tit1 .contact{
-    height: 118px;
-    padding-left:5%;
-    display: flex;
-    flex-direction: column;
-    flex: 1;
-}
-.footer .top .tit1 div p{
-    font-family: PingFangSC-Regular;
-    font-size: 16px;
-    flex: 1;
-    color: #999999;
-    letter-spacing: 0;
-}
-.footer .top .tit1 .weixin{
-    float: left;
-    width: 118px;
-    display: flex;
-    flex-direction: column;
-
-}
-.footer .top .tit1 .weixin img{
-    width: 118px;
-    height: 118px;
-    margin-bottom: 10px;
-}
-.footer .top .tit1 .weixin p{
-    font-family: PingFangSC-Regular;
-    font-size: 18px;
-    color: #999999;
-    letter-spacing: 0;
-    height: 22px;
-    line-height: 22px;
-    text-align: center;
-}
-.footer .top .tit1 .weixin img{
-    float: left;
-    width: 118px;
-    height: 118px;
-}
-.footer .top h4{
-    color: black;
-}
-.footer .bottom{
-    padding-left: 8.3%;
-    height: 88px;
-    display: flex;
-    align-items: center;
-    color: black;
-}
-.footer .bottom h4{
-    font-size: 16px;
-    color: #999999;
-}
-@media screen and (max-width:900px){
-    .footer .top div h4{
-        font-size: 24px;
-    }
-    .footer .top div span{
-    font-size: 15px;
-    }
-    .footer .top .tit1 div p{
-    font-size: 15px;
-    }
-    .footer .top .tit1 .weixin p{
-    font-size: 16px;
-    }
-    .footer .bottom h4{
-        font-size: 15px;
-        text-align: center;
-    }
-}
-@media screen and (max-width:500px){
-    .footer{
-        height: 490px;
-    }
-    .footer .top div h4{
-        font-size: 20px;
-    }
-    .footer .top div span{
-        font-size: 12px;
-    }
-.line{
-    display: flex;
-    flex-direction: column;
-}
-.line .weixin{
-    padding: 0;
-    margin: 0 auto;
-}
-.footer .top .tit{
-    height: 108px;
-    padding-top: 20px;
-}
-.footer .top .tit1{
-    height: 303px;
-    padding-left: 8.3%;
-}
-.footer .top .tit1 .weixin img{
-    width: 90px;
-    height: 90px;
-    margin-bottom: 2px;
-}
-.footer .top .tit1 .weixin p{
-    font-size: 14px;
-    color: #999999;
-    letter-spacing: 4px;
-    height: 22px;
-    line-height: 22px;
-    text-align: center;
-    width: 90px;
-}
-.footer .contact{
-    padding: 10px 0px ;
-}
-.footer .bottom{
-    height: 78px;
-    padding: 0px 20px
-}
-.footer .bottom h4{
-    font-size: 13px;
-    color: #999999;
-}
-.footer .top .tit1 div p{
-    font-size: 13px;
-}
-.footer .bottom h4{
-    font-size: 12px;
-}
-}
-</style>
+<template>
+    <div class="footer">
+        <div id="footContent">
+            <div class="top">
+                <div class="tit">
+                    <h4>联系我们</h4>
+                    <span>CONTACT US</span>
+                </div>
+                <div class="tit1">
+                    <div class="line">
+                        <div class="weixin">
+                            <img :src="img1" alt="微信二维码">
+                            <p>官方微信</p>
+                        </div>
+                        <div class="contact">
+                            <p class="text-muted">{{webSite}}</p>
+                            <p class="text-muted">电话:{{tel}}</p>
+                            <p class="text-muted">合作邮箱:{{email}}</p>
+                            <p class="text-muted">地址:{{address}}</p>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="bottom">
+                <h4>Copyright @ 芝麻开花科技有限公司  保留所有权利  京ICP备13040720号-8</h4>
+            </div>
+        </div>
+    </div>
+</template>
+
+<script>
+/* eslint-disable */
+import img1 from "./img/weixin.png";
+export default {
+    name: 'HomeFooter',
+    data(){
+        return{
+            img1:img1,
+            webSite:"网址:http://www.zhimakahua.com",
+            tel:"400-0018-318",
+            email:"123456789@163.com",
+            address:"陕西省西安市曲江新区雁塔南路1201号金辉环球中心B座1209室"
+        }
+    }
+}
+</script>
+
+<style scoped>
+*{
+    margin: 0px;
+    padding: 0px;
+    text-align: left;
+}
+.footer{
+    width: 100%;
+    height: 480px;
+    background: #F6F6F6;
+    color: aliceblue;
+}
+#footContent{
+    width: 1440px;
+    margin: 0 auto;
+}
+@media screen and (max-width:1440px){
+ #footContent{
+    width: 100%;
+}
+}
+.footer .top{
+    color: black;
+}
+.footer .top .tit{
+    height: 158px;
+    padding-top: 60px;
+    padding-left: 8.3%;
+}
+.footer .top div h4{
+    font-family: PingFangSC-Regular;
+    font-size: 28px;
+    height: 40px;
+    line-height: 40px;
+    color: #4A4A4A;
+    letter-spacing: 0;
+    margin-bottom: 6px;
+}
+.footer .top div span{
+    font-family: PingFangSC-Regular;
+    font-size: 18px;
+    color: #999999;
+    letter-spacing: 0.2px;
+    line-height: 25px;
+}
+.footer .top .tit1{
+    display: flex;
+    flex-direction: row;
+    height: 233px;
+    padding-left: 8.3%;
+}
+.footer .top .tit1 .line{
+    padding-top: 43px;
+    border-top: 1px solid #E4E4E4;
+    border-bottom: 1px solid #E4E4E4;
+    width: 84%;
+}
+.footer .top .tit1 .contact{
+    height: 118px;
+    padding-left:5%;
+    display: flex;
+    flex-direction: column;
+    flex: 1;
+}
+.footer .top .tit1 div p{
+    font-family: PingFangSC-Regular;
+    font-size: 16px;
+    flex: 1;
+    color: #999999;
+    letter-spacing: 0;
+}
+.footer .top .tit1 .weixin{
+    float: left;
+    /*width: 118px;*/
+    display: flex;
+    flex-direction: column;
+
+}
+.footer .top .tit1 .weixin img{
+    width: 118px;
+    height: 118px;
+    margin-bottom: 10px;
+}
+.footer .top .tit1 .weixin p{
+    font-family: PingFangSC-Regular;
+    font-size: 18px;
+    color: #999999;
+    letter-spacing: 0;
+    height: 22px;
+    line-height: 22px;
+    text-align: center;
+}
+.footer .top .tit1 .weixin img{
+    float: left;
+    width: 118px;
+    height: 118px;
+}
+.footer .top h4{
+    color: black;
+}
+.footer .bottom{
+    padding-left: 8.3%;
+    height: 88px;
+    display: flex;
+    align-items: center;
+    color: black;
+}
+.footer .bottom h4{
+    font-size: 16px;
+    color: #999999;
+}
+@media screen and (max-width:900px){
+    .footer .top div h4{
+        font-size: 24px;
+    }
+    .footer .top div span{
+    font-size: 15px;
+    }
+    .footer .top .tit1 div p{
+    font-size: 15px;
+    }
+    .footer .top .tit1 .weixin p{
+    font-size: 16px;
+    }
+    .footer .bottom h4{
+        font-size: 15px;
+        text-align: center;
+    }
+}
+@media screen and (max-width:500px){
+    .footer{
+        height: 490px;
+    }
+    .footer .top div h4{
+        font-size: 20px;
+    }
+    .footer .top div span{
+        font-size: 12px;
+    }
+.line{
+    display: flex;
+    flex-direction: column;
+}
+.line .weixin{
+    padding: 0;
+    margin: 0 auto;
+}
+.footer .top .tit{
+    height: 108px;
+    padding-top: 20px;
+}
+.footer .top .tit1{
+    height: 303px;
+    padding-left: 8.3%;
+}
+.footer .top .tit1 .weixin img{
+    width: 90px;
+    height: 90px;
+    margin-bottom: 2px;
+}
+.footer .top .tit1 .weixin p{
+    font-size: 14px;
+    color: #999999;
+    letter-spacing: 4px;
+    height: 22px;
+    line-height: 22px;
+    text-align: center;
+    width: 90px;
+}
+.footer .contact{
+    padding: 10px 0px ;
+}
+.footer .bottom{
+    height: 78px;
+    padding: 0px 20px
+}
+.footer .bottom h4{
+    font-size: 13px;
+    color: #999999;
+}
+.footer .top .tit1 div p{
+    font-size: 13px;
+}
+.footer .bottom h4{
+    font-size: 12px;
+}
+}
+</style>

+ 3 - 3
src/views/Home.vue

@@ -17,7 +17,7 @@
               </ul>
             </div>
             <img src="./images/1@2x.png" alt="加载失败" v-if="!activeFlag">
-            <img src="./images/点击态1.png" alt="加载失败" v-else>            
+            <img src="./images/点击态1.png" alt="加载失败" v-else>
           </div>
           <div class="second" @mouseover="mouseOverTeam" @mouseleave="mouseLeaveTeam" @touchstart="mouseOverTeam" @touchend="mouseLeaveTeam">
             <div class="bg" :class="{paddingMargin:activeTeamFlag}">
@@ -365,7 +365,7 @@ h5{
     padding: 0 8.3%!important;
   }
   .background{
-    width: 42.5;
+    width: 42.5%;
   }
   .picture{
     /* height: auto; */
@@ -478,7 +478,7 @@ h5{
     font-size: 28px!important;
   }
   .left h5{
-    margin-top:10px!important; 
+    margin-top:10px!important;
   }
   .right h4{
     margin-top: 100px!important;