Skip to content

Commit b44c5f7

Browse files
author
QM303176530
committed
Merge remote-tracking branch 'origin/gin-vue-admin_v2_dev' into gin-vue-admin_v2_dev
2 parents 890adbf + 315e71e commit b44c5f7

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

web/src/view/login/login.vue

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
/></a>
8383
</div>
8484
<div class="copyright">
85-
Copyright &copy; 2020 💖flipped-aurora
85+
Copyright &copy; {{ curYear }} 💖flipped-aurora
8686
</div>
8787
</div>
8888
</div>
@@ -110,8 +110,8 @@ export default {
110110
callback();
111111
}
112112
};
113-
114113
return {
114+
curYear: 0,
115115
lock: "lock",
116116
loginForm: {
117117
username: "admin",
@@ -130,6 +130,7 @@ export default {
130130
},
131131
created() {
132132
this.loginVefify();
133+
this.curYear = new Date().getFullYear();
133134
},
134135
methods: {
135136
...mapActions("user", ["LoginIn"]),
@@ -216,6 +217,8 @@ export default {
216217
}
217218
218219
.container {
220+
position: relative;
221+
overflow: auto;
219222
width: 100%;
220223
min-height: 100%;
221224
background: #f0f2f5 url(~@/assets/background.svg) no-repeat 50%;
@@ -227,6 +230,7 @@ export default {
227230
228231
.top {
229232
text-align: center;
233+
margin-top: 20px;
230234
.header {
231235
height: 44px;
232236
line-height: 44px;
@@ -271,12 +275,11 @@ export default {
271275
}
272276
273277
.footer {
274-
position: absolute;
278+
position: relative;
275279
width: 100%;
276-
padding: 0 16px;
277-
margin: 120px 0 24px;
280+
padding: 0 20px;
281+
margin: 40px 0 10px;
278282
text-align: center;
279-
bottom: 100px;
280283
.links {
281284
margin-bottom: 8px;
282285
font-size: 14px;

web/src/view/login/register.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ export default {
217217
218218
.top {
219219
text-align: center;
220+
margin-top: -50px;
220221
.header {
221222
height: 44px;
222223
line-height: 44px;
@@ -261,12 +262,10 @@ export default {
261262
}
262263
263264
.footer {
264-
position: absolute;
265+
position: relative;
265266
width: 100%;
266-
padding: 0 16px;
267-
margin: 120px 0 24px;
267+
margin: 40px 0 0 0;
268268
text-align: center;
269-
bottom: 100px;
270269
.links {
271270
margin-bottom: 8px;
272271
font-size: 14px;

0 commit comments

Comments
 (0)