提交 906f0989 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

Merge remote-tracking branch 'origin/gin-vue-admin_v2_dev' into gin-vue-admin_v2_dev

...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
/></a> /></a>
</div> </div>
<div class="copyright"> <div class="copyright">
Copyright &copy; 2020 💖flipped-aurora Copyright &copy; {{ curYear }} 💖flipped-aurora
</div> </div>
</div> </div>
</div> </div>
...@@ -110,8 +110,8 @@ export default { ...@@ -110,8 +110,8 @@ export default {
callback(); callback();
} }
}; };
return { return {
curYear: 0,
lock: "lock", lock: "lock",
loginForm: { loginForm: {
username: "admin", username: "admin",
...@@ -130,6 +130,7 @@ export default { ...@@ -130,6 +130,7 @@ export default {
}, },
created() { created() {
this.loginVefify(); this.loginVefify();
this.curYear = new Date().getFullYear();
}, },
methods: { methods: {
...mapActions("user", ["LoginIn"]), ...mapActions("user", ["LoginIn"]),
...@@ -216,6 +217,8 @@ export default { ...@@ -216,6 +217,8 @@ export default {
} }
.container { .container {
position: relative;
overflow: auto;
width: 100%; width: 100%;
min-height: 100%; min-height: 100%;
background: #f0f2f5 url(~@/assets/background.svg) no-repeat 50%; background: #f0f2f5 url(~@/assets/background.svg) no-repeat 50%;
...@@ -227,6 +230,7 @@ export default { ...@@ -227,6 +230,7 @@ export default {
.top { .top {
text-align: center; text-align: center;
margin-top: 20px;
.header { .header {
height: 44px; height: 44px;
line-height: 44px; line-height: 44px;
...@@ -271,12 +275,11 @@ export default { ...@@ -271,12 +275,11 @@ export default {
} }
.footer { .footer {
position: absolute; position: relative;
width: 100%; width: 100%;
padding: 0 16px; padding: 0 20px;
margin: 120px 0 24px; margin: 40px 0 10px;
text-align: center; text-align: center;
bottom: 100px;
.links { .links {
margin-bottom: 8px; margin-bottom: 8px;
font-size: 14px; font-size: 14px;
......
...@@ -217,6 +217,7 @@ export default { ...@@ -217,6 +217,7 @@ export default {
.top { .top {
text-align: center; text-align: center;
margin-top: -50px;
.header { .header {
height: 44px; height: 44px;
line-height: 44px; line-height: 44px;
...@@ -261,12 +262,10 @@ export default { ...@@ -261,12 +262,10 @@ export default {
} }
.footer { .footer {
position: absolute; position: relative;
width: 100%; width: 100%;
padding: 0 16px; margin: 40px 0 0 0;
margin: 120px 0 24px;
text-align: center; text-align: center;
bottom: 100px;
.links { .links {
margin-bottom: 8px; margin-bottom: 8px;
font-size: 14px; font-size: 14px;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册