Prechádzať zdrojové kódy

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

genlitex 2 mesiacov pred
rodič
commit
d8149c627c
1 zmenil súbory, kde vykonal 23 pridanie a 1 odobranie
  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>