Browse Source

Merge branch 'master' of http://116.63.33.55/git/nazw

FinalYu 7 months ago
parent
commit
c3ba5634fb

BIN
nngkxxdp/src/main/resources/static/naxsb/images/bg-indextop.png


+ 21 - 12
nngkxxdp/src/main/resources/static/naxsb/indexcygyy.html

@@ -28,10 +28,6 @@
             list-style: none;
         }
 
-        body {
-            min-width: 1426px;
-        }
-
         @font-face {
             font-family: 'DOUYU';
             src: url('fonts/DOUYUFONT-2.OTF');
@@ -51,14 +47,24 @@
             top: 1.25rem;
             right: 1.5625rem;
             cursor: pointer;
+            z-index: 99;
         }
 
         .backbutton img {
             margin-right: 0.625rem;
         }
 
+        .topbg {
+            position: absolute;
+            top: 0;
+            width: 100vw;
+            height: 30vh;
+            background-image: url(images/bg-indextop.png);
+            background-size: 100% 100%;
+        }
+
         .indexcot {
-            height: 75vh;
+            height: 100vh;
             background-image: url(images/indexcygyy.png);
             background-size: 100% 100%;
             font-family: Microsoft YaHei;
@@ -72,6 +78,8 @@
             display: flex;
             margin: auto;
             justify-content: center;
+            position: absolute;
+            width: 100%;
         }
 
         .indexcot .logo {
@@ -111,15 +119,15 @@
 
         .content {
             width: 53vw;
-            min-width: 810px;
-            height: 53vh;
+            min-width: 589px;
+            height: 70vh;
             background: rgb(0 28 60 / 40%);
             border-radius: 10px;
             display: flex;
             flex-direction: column;
             align-items: center;
             margin-left: 8.3125rem;
-            margin-top: 5vh;
+            margin-top: 15vh;
             position: relative;
         }
 
@@ -147,7 +155,7 @@
         }
 
         .content>.text {
-            width: 57.1875rem;
+            width: 95%;
             font-size: 1rem;
             color: #FFFFFF;
             line-height: 1.875rem;
@@ -155,8 +163,8 @@
         }
 
         .content .more {
-            width: 57.4375rem;
-            height: 12%;
+            width: 95%;
+            height: 3.75rem;
             background-image: url(images/more-cygyy.png);
             background-size: 100% 100%;
             font-size: 1.5rem;
@@ -168,7 +176,7 @@
 
         .swiper {
             width: 95%;
-            height: 45%;
+            height: 50%;
             /* margin: 2.5rem auto; */
         }
 
@@ -233,6 +241,7 @@
             <img src="images/backlogo.png" alt="">
             <span>返回</span>
         </div>
+        <div class="topbg"></div>
         <div class="top">
             <div class="logo" @click="goIndex">
                 <img src="images/nalogo.png" alt="">

+ 25 - 6
nngkxxdp/src/main/resources/static/naxsb/indexsyyg.html

@@ -29,12 +29,27 @@
 
         body {
             min-width: 1370px;
+            margin: 0;
+            overflow: hidden;
+            /* 确保视频覆盖整个页面 */
+        }
+
+        video {
+            position: absolute;
+            top: 0;
+            left: 0;
+            width: 100%;
+            height: 100%;
+            object-fit: cover;
+            /* 确保视频按比例填充整个页面 */
+            z-index: -1;
+            /* 将视频置于所有内容之下 */
         }
 
         .indexcot {
-            height: 75vh;
-            background-image: url(images/indexsyyg.png);
-            background-size: 100% 100%;
+            height: 100vh;
+            /* background-image: url(images/indexsyyg.png); */
+            /* background-size: 100% 100%; */
             font-family: Microsoft YaHei;
             color: #FFFFFF;
             padding-top: 1.875rem;
@@ -88,8 +103,8 @@
             width: 69%;
             margin: auto;
             align-items: center;
-            justify-content: space-between;
-            margin-top: 10vh;
+            justify-content: center;
+            margin-top: 25vh;
         }
 
         .indexcot .title .left {
@@ -203,6 +218,10 @@
 
 <body>
     <div class="indexcot">
+        <video autoplay loop muted playsinline>
+            <source src="media/业.ecabc222.mp4" type="video/mp4">
+            Your browser does not support the video tag.
+        </video>
         <div class="top">
             <div class="logo">
                 <img src="images/nalogo.png" alt="">
@@ -224,7 +243,7 @@
                 <span style="letter-spacing: 10px;">重庆经开区</span>
             </div>
             <div class="right">
-                “四园一港”园区服务平台
+                园区服务平台
             </div>
         </div>
         <div id="titleTabs">

BIN
nngkxxdp/src/main/resources/static/naxsb/media/业.ecabc222.mp4