2024-11-12 15:44:05 +08:00
|
|
|
<template>
|
|
|
|
<div class="container">
|
|
|
|
<div class="logo">
|
|
|
|
<div class="logo-text">Hello Ticket!</div>
|
|
|
|
</div>
|
|
|
|
<LoginBanner />
|
|
|
|
<div class="content">
|
|
|
|
<div class="content-inner">
|
|
|
|
<LoginForm />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2024-12-24 17:13:37 +08:00
|
|
|
import LoginBanner from './components/banner.vue';
|
|
|
|
import LoginForm from './components/login-form.vue';
|
2024-11-12 15:44:05 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
2024-12-24 17:13:37 +08:00
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
height: 100vh;
|
2024-11-12 15:44:05 +08:00
|
|
|
|
2024-12-24 17:13:37 +08:00
|
|
|
.banner {
|
|
|
|
width: 550px;
|
|
|
|
background: linear-gradient(163.85deg, #1d2129 0%, #00308f 100%);
|
|
|
|
}
|
2024-11-12 15:44:05 +08:00
|
|
|
|
2024-12-24 17:13:37 +08:00
|
|
|
.content {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding-bottom: 40px;
|
|
|
|
}
|
2024-11-12 15:44:05 +08:00
|
|
|
|
2024-12-24 17:13:37 +08:00
|
|
|
.footer {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2024-11-12 15:44:05 +08:00
|
|
|
}
|
|
|
|
|
2024-12-24 17:13:37 +08:00
|
|
|
.logo {
|
|
|
|
position: fixed;
|
|
|
|
top: 24px;
|
|
|
|
left: 22px;
|
|
|
|
z-index: 1;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2024-11-12 15:44:05 +08:00
|
|
|
|
2024-12-24 17:13:37 +08:00
|
|
|
&-text {
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-left: 4px;
|
|
|
|
color: var(--color-fill-1);
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2024-11-12 15:44:05 +08:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
2024-12-24 17:13:37 +08:00
|
|
|
// responsive
|
|
|
|
@media (max-width: @screen-lg) {
|
|
|
|
.container {
|
|
|
|
.banner {
|
|
|
|
width: 25%;
|
|
|
|
}
|
2024-11-12 15:44:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|