Ver Fonte

首页及banner调整

ming há 1 ano atrás
pai
commit
c6e03dfb41

+ 4 - 4
assets/css/home.css

@@ -210,17 +210,17 @@
 
 .header-absolute {
     z-index: 2;
-    background-color: #fff;
+    /* background-color: #fff; */
 }
 
 .menu-items ul li a {
-    color: #333 !important;
+    /* color: #333 !important; */
 }
 
 .erMenu {
     width: 100%;
     padding: 0 0 30px;
-    background-color: #fff;
+    /* background-color: #fff; */
     position: absolute;
     z-index: 30;
     top: 75px;
@@ -263,7 +263,7 @@
 .erMenuList li a {
     font-size: 16px;
     margin-top: -20px !important;
-    color: #333;
+    color: #fff;
 }
 
 .menu ul li:hover,

BIN
assets/img/banner/111.png


BIN
assets/img/logo-white.png


+ 2 - 2
assets/summernote/plugin/jquery-blinds-player/css/shutter.css

@@ -23,8 +23,8 @@ li {
 .shutter {
     overflow: hidden;
     width: 100%;
-    /* height: 90vh; */
-    max-height: 860px;
+    height: 100vh;
+    /* max-height: 860px; */
     position: relative;
     /* margin: 50px auto; */
     /* border-radius: 10px; */

+ 1 - 1
headerNav.html

@@ -3,7 +3,7 @@
         <div class="d-flex align-items-center justify-content-between">
             <nav class="main-menu">
                 <div class="logo">
-                    <a href="./index.html"><img src="../assets/img/logo.png" alt="uskylogo"></a>
+                    <a href="./index.html"><img src="../assets/img/logo-white.png" alt="uskylogo"></a>
                 </div>
                 <div class="menu-items" >
                     <ul>

+ 4 - 3
index.html

@@ -66,11 +66,12 @@
             <!--====== BANNER SECTION START ======-->
             <div class="banner-section">
                 <div id="shutter" class="shutter" v-if="list.title === '幻灯片'">
-                    <img style="min-width: 100%;" :src="homeList[0].content[0].picture" alt="">
+                    <!-- <img style="min-width: 100%;" :src="homeList[0].content[0].picture" alt=""> -->
                     <div class="shutter-img">
                         <a href="#" v-for="con in homeList[0].content">
-                            <div class="animate-img pc">
-                                <img style="min-width: 100%;" :src="con.picture" alt="">
+                            <div class="animate-img pc" style="background-size: cover;background-position: left top;background-image:url(assets/img/banner/111.png)">
+                            <!-- <div class="animate-img pc" :style="{backgroundImage:'url('+con.picture+')'}" style="background-size: cover;background-position: left top;"> -->
+                                <!-- <img style="min-width: 100%;" :src="con.picture" alt=""> -->
                             </div>
                             <div class="animate-img mobile">
                                 <img style="min-width: 100%;" :src="con.picture" alt="">