Przeglądaj źródła

style: 优化404页面

louhangfei 10 miesięcy temu
rodzic
commit
38b875ed24
1 zmienionych plików z 6 dodań i 2 usunięć
  1. 6 2
      src/views/exception/404.vue

+ 6 - 2
src/views/exception/404.vue

@@ -1,10 +1,12 @@
 <template>
-  <div class="flex flex-col justify-center page-container">
+  <div class="page-container">
     <div class="text-center">
       <img src="~@/assets/images/exception/404.svg" alt="" />
     </div>
     <div class="text-center">
-      <h1 class="text-base text-gray-500">抱歉,你访问的页面不存在</h1>
+      <h1>抱歉,您访问的页面不存在</h1>
+    </div>
+    <div>
       <el-button type="primary" @click="goHome">回到首页</el-button>
     </div>
   </div>
@@ -23,6 +25,8 @@
     width: 100%;
     border-radius: 4px;
     padding-top: 100px;
+    text-align: center;
+    // flex-direction: column;
 
     .text-center {
       h1 {