|
@@ -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>
|