Commit 341dca9a authored by 李苏's avatar 李苏 💬

1

parent 76936927
<template> <template>
<div class="login"> <div class="login">
<!-- <div class="newTitle">
</div> -->
<vue-particles <vue-particles
class="login-bg" class="login-bg"
color="#39AFFD" color="#34a4ea"
:particleOpacity="0.5" :particleOpacity="0.8"
:particlesNumber="12" :particlesNumber="19"
shapeType="edge" shapeType="circle"
:particleSize="5" :particleSize="5"
linesColor="#8DD1FE" linesColor="#8DD1FE"
:linesWidth="1" :linesWidth="1"
:lineLinked="true" :lineLinked="true"
:lineOpacity="0.4" :lineOpacity="0.4"
:linesDistance="150" :linesDistance="150"
:moveSpeed="3" :moveSpeed="1"
:hoverEffect="true" :hoverEffect="false"
hoverMode="repulse" hoverMode="repulse"
:clickEffect="false" :clickEffect="false"
clickMode="push" clickMode="push"
...@@ -177,6 +180,13 @@ export default { ...@@ -177,6 +180,13 @@ export default {
</script> </script>
<style rel="stylesheet/scss" lang="scss"> <style rel="stylesheet/scss" lang="scss">
.newTitle{
position: absolute;
top: 0px;
height: 160px;
width: 100%;
background-color: #fff;
}
.login-bg{ .login-bg{
height: 98vh; height: 98vh;
width: 100vw; width: 100vw;
...@@ -184,10 +194,10 @@ export default { ...@@ -184,10 +194,10 @@ export default {
} }
.login { .login {
display: flex; display: flex;
justify-content: center; justify-content: right;
align-items: center; align-items: center;
height: 100%; height: 100%;
background-image: url("../assets/images/login-background.jpg"); background-image: url("../assets/images/login-rj.jpg");
background-size: cover; background-size: cover;
} }
.title { .title {
...@@ -197,6 +207,8 @@ export default { ...@@ -197,6 +207,8 @@ export default {
} }
.login-form { .login-form {
margin-top: 50px;
margin-right: 250px;
border-radius: 6px; border-radius: 6px;
background: #ffffff; background: #ffffff;
width: 400px; width: 400px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment