登录样式

This commit is contained in:
admin
2021-06-30 15:45:45 +08:00
parent 6e05eb821f
commit 0229de22d6

View File

@@ -1,5 +1,4 @@
<template> <template>
<div class="background">
<div class="logins"> <div class="logins">
<div class="inside"> <div class="inside">
<div class="title" style="margin-top:70px"> <div class="title" style="margin-top:70px">
@@ -24,7 +23,7 @@
<el-form-item> <el-form-item>
<el-button <el-button
type="primary" type="primary"
class="inputStyle button" class="inputStyle login__button"
@click="login" @click="login"
style=" font-size: 16px;" style=" font-size: 16px;"
>登陆</el-button >登陆</el-button
@@ -33,7 +32,6 @@
</el-form> </el-form>
</div> </div>
</div> </div>
</div>
</template> </template>
<script> <script>
@@ -66,26 +64,15 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
body{
background-color: #000C18;
}
.background:after{
width: 100%;
height: 100%;
background-color: #000C18;
opacity: 0.2;
}
.logins{ .logins{
background-color: #000C18; background-color: #000C18;
background-size: auto; background-size: auto;
background-repeat: round; background-repeat: round;
background-image: url('../public/images/bg.png'); background-image: url('../public/images/bg.png');
display: flex; display: flex;
height: 100%;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 1920px;
height: 1080px;
margin: auto; margin: auto;
} }
@@ -118,7 +105,7 @@ body{
height: 250px; height: 250px;
margin: auto; margin: auto;
} }
.button { .login__button {
background: #0091ff; background: #0091ff;
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;