|
@@ -8,9 +8,19 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<template>
|
|
|
+<template class="login">
|
|
|
<h4 style="color:orange;">登录页面</h4>
|
|
|
<label>用户名</label><input type="text" placeholder="请输入用户名"/><br/>
|
|
|
<label>密码</label><input type="password" placeholder="请输入密码"/><br/>
|
|
|
<button>登录</button>
|
|
|
</template>
|
|
|
+<style scoped>
|
|
|
+.login{
|
|
|
+ width:100vw;
|
|
|
+ height:100vh;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ background-color: bisque;
|
|
|
+}
|
|
|
+</style>
|