快乐的梦鱼 1 nedēļu atpakaļ
vecāks
revīzija
46f202456e
1 mainītis faili ar 9 papildinājumiem un 3 dzēšanām
  1. 9 3
      src/pages/index.vue

+ 9 - 3
src/pages/index.vue

@@ -29,6 +29,10 @@
       </template>
     </Carousel>
 
+    <h2 class="text-center banner-title">
+      保护利用,传承发展
+    </h2>
+
     <!-- 主要内容 -->
     <div class="main-content">
       <div class="container">
@@ -161,9 +165,6 @@
               </template>
             </Carousel>
 
-            <h2 class="text-center banner-title">
-              保护利用,传承发展
-            </h2>
           </div>
         </div>
 
@@ -451,6 +452,11 @@ onMounted(() => {
   color: var(--color-primary);
   margin-top: 35px;
   margin-bottom: 20px;
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100%;
+  text-align: center;
 }
 .bars-image {
   width: 100%;