瀏覽代碼

admin-2025-02-15 04:27:43

genlitex 2 月之前
父節點
當前提交
d8149c627c
共有 1 個文件被更改,包括 23 次插入1 次删除
  1. 23 1
      src/views/HomeView.vue

+ 23 - 1
src/views/HomeView.vue

@@ -3,7 +3,9 @@
   <div>
   <div>
     <h2>欢迎使用Prototype Design, 请您根据您的需要设计您的Prototype</h2>
     <h2>欢迎使用Prototype Design, 请您根据您的需要设计您的Prototype</h2>
   </div>
   </div>
-  <button @click="goToLogin">GO TO LOGIN</button>
+  <div class="button-container">
+    <button @click="goToLogin">GO TO LOGIN</button>
+  </div>
 </div>
 </div>
 </template>
 </template>
 
 
@@ -22,7 +24,27 @@ export default {
   height: 100vh;
   height: 100vh;
   width: 100vw;
   width: 100vw;
   display: flex;
   display: flex;
+  flex-direction: column;
   justify-content: center;
   justify-content: center;
   align-items: center;
   align-items: center;
 }
 }
+
+.button-container {
+  margin-top: 1rem;
+}
+</style>
+
+<style scoped>
+.home {
+  height: 100vh;
+  width: 100vw;
+  display: flex;
+  flex-direction: column;
+  justify-content: center;
+  align-items: center;
+}
+
+.button-container {
+  margin-top: 1rem;
+}
 </style>
 </style>