82 lines
1.3 KiB
Vue
82 lines
1.3 KiB
Vue
<template>
|
|
<div class="auth-layout">
|
|
<div class="auth-container">
|
|
<div class="auth-header">
|
|
<h1 class="auth-title">租房管理系统</h1>
|
|
<p class="auth-subtitle">欢迎登录</p>
|
|
</div>
|
|
<div class="auth-content">
|
|
<router-view />
|
|
</div>
|
|
</div>
|
|
<div class="auth-footer">
|
|
<p>© 2026 租房管理系统</p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'AuthLayout'
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.auth-layout {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
padding: 20px;
|
|
}
|
|
|
|
.auth-container {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
|
width: 100%;
|
|
max-width: 420px;
|
|
padding: 40px;
|
|
}
|
|
|
|
.auth-header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.auth-title {
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
|
|
.auth-subtitle {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-content {
|
|
width: 100%;
|
|
}
|
|
|
|
.auth-footer {
|
|
margin-top: 30px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 12px;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.auth-container {
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.auth-title {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
</style>
|