浏览代码

提交一下

1
mo 3 年之前
父节点
当前提交
c52b8495a4
共有 5 个文件被更改,包括 27 次插入6 次删除
  1. 1 0
      src/components/headerSection.vue
  2. 26 6
      src/views/index/blocks/banner.vue
  3. 二进制
      src/views/index/images/1.png
  4. 二进制
      src/views/index/images/2.png
  5. 二进制
      src/views/index/images/3.png

+ 1 - 0
src/components/headerSection.vue

@@ -156,6 +156,7 @@ export default {
   width: 100%;
   top: 0px;
   z-index: 1000;
+  // backdrop-filter: saturate(180%) blur(20px);
   .header-container {
     margin: 0 auto;
     // overflow: hidden;

+ 26 - 6
src/views/index/blocks/banner.vue

@@ -1,13 +1,18 @@
 <template>
   <header class="banner">
     <img src="../images/banner.png" width="100%" alt="" />
-    <div class="width1200 bannerWrap">
-      <img class="font" src="../images/font.png" width="100%" alt="" />
+    <div class="bannerWrap">
+      <div class="font">
+        <img src="../images/font.png" width="100%" alt="" />
+      </div>
+      <div class="animateList">
+        <div class="imgWrap">
+          <img src="../images/1.png" width="100%" alt="" />
+          <!-- <img src="../images/2.png" width="100%" alt="" />
+        <img src="../images/3.png" width="100%" alt="" /> -->
+        </div>
+      </div>
     </div>
-
-    <img src="../images/banner.png" width="100%" alt="" />
-    <img src="../images/banner.png" width="100%" alt="" />
-    <img src="../images/banner.png" width="100%" alt="" />
   </header>
 </template>
 <style lang="less" scoped>
@@ -24,7 +29,10 @@
   // background-color: #2a2c41;
   // background-size: 100% 100%;
   // height: 763px;
+  max-height: 588px;
   .bannerWrap {
+    width: 1180px;
+    top: 0;
     position: absolute;
     left: 50%;
     margin-left: -590px;
@@ -33,6 +41,18 @@
     justify-content: space-between;
     .font {
       width: 35%;
+      margin-top: 44%;
+    }
+    .animateList {
+      width: 40%;
+      position: relative;
+      .imgWrap {
+        position: absolute;
+        img {
+          top: 0;
+          width: 100%;
+        }
+      }
     }
   }
 

二进制
src/views/index/images/1.png


二进制
src/views/index/images/2.png


二进制
src/views/index/images/3.png