Explorar o código

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

genlitex hai 2 meses
pai
achega
d8149c627c
Modificáronse 1 ficheiros con 23 adicións e 1 borrados
  1. 23 1
      src/views/HomeView.vue

+ 23 - 1
src/views/HomeView.vue

@@ -3,7 +3,9 @@
   <div>
     <h2>欢迎使用Prototype Design, 请您根据您的需要设计您的Prototype</h2>
   </div>
-  <button @click="goToLogin">GO TO LOGIN</button>
+  <div class="button-container">
+    <button @click="goToLogin">GO TO LOGIN</button>
+  </div>
 </div>
 </template>
 
@@ -22,7 +24,27 @@ export default {
   height: 100vh;
   width: 100vw;
   display: flex;
+  flex-direction: column;
   justify-content: 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>