File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 8282 /></a >
8383 </div >
8484 <div class =" copyright" >
85- Copyright © ; 2020 💖flipped-aurora
85+ Copyright © ; {{ 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 16 px ;
277- margin : 120 px 0 24 px ;
280+ padding : 0 20 px ;
281+ margin : 40 px 0 10 px ;
278282 text-align : center ;
279- bottom : 100px ;
280283 .links {
281284 margin-bottom : 8px ;
282285 font-size : 14px ;
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments