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