'admin-20.12.26:登录页编写'

This commit is contained in:
lyt 2020-12-26 18:22:15 +08:00
parent e350a527a6
commit 2b91447270
3 changed files with 73 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

View File

@ -16,3 +16,36 @@ body,
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
}
@for $i from 10 through 32 {
.font#{$i} {
font-size: #{$i}px !important;
}
}
@for $i from 5 through 20 {
.mt#{$i} {
margin-top: #{$i}px !important;
}
.mr#{$i} {
margin-right: #{$i}px !important;
}
.mb#{$i} {
margin-bottom: #{$i}px !important;
}
.ml#{$i} {
margin-left: #{$i}px !important;
}
.pt#{$i} {
padding-top: #{$i}px !important;
}
.pr#{$i} {
padding-right: #{$i}px !important;
}
.pb#{$i} {
padding-bottom: #{$i}px !important;
}
.pl#{$i} {
padding-left: #{$i}px !important;
}
}

View File

@ -1,3 +1,41 @@
<template>
login
</template>
<div class="login-container">
<div class="login-logo">
<img src="/@/assets/logo-web-element.svg" />
</div>
<div class="login-copyright">
<div class="mb5">版权所有深圳市xxx软件科技有限公司</div>
<div>Copyright: Shenzhen XXX Software Technology Co. Ltd 粤ICP备05010000号</div>
</div>
</div>
</template>
<script lang="ts">
export default {
name: "login",
};
</script>
<style scoped lang="scss">
.login-container {
width: 100%;
height: 100%;
background: url("/@/assets/bg-login.png") no-repeat;
background-size: 100% 100%;
.login-logo {
position: absolute;
top: 30px;
left: 30px;
}
.login-copyright {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 30px;
text-align: center;
color: white;
font-size: 12px;
opacity: 0.8;
}
}
</style>