Explorar o código

style(about页面): 调整z-index和position样式以优化层级显示

piks hai 3 semanas
pai
achega
7ce0f9044f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      app/pages/web/about.vue

+ 3 - 0
app/pages/web/about.vue

@@ -60,6 +60,7 @@ useHead({
     transform: translateX(-50%);
     width: 1430px;
     height: auto;
+    z-index: 1;
   }
 
   .about-content {
@@ -70,6 +71,8 @@ useHead({
     justify-content: center;
 
     .about-title {
+      position: relative;
+      z-index: 2;
       display: flex;
       flex-direction: column;
       align-items: center;