样式调整
Showing
1 changed file
with
15 additions
and
1 deletions
1 | <template> | 1 | <template> |
2 | <div id="login"> | 2 | <div id="login"> |
3 | <div class="login-content-wrap"> | ||
3 | <div class="login-logo"><img src="./images/logo-login.svg" /></div> | 4 | <div class="login-logo"><img src="./images/logo-login.svg" /></div> |
4 | <div class="login-con"> | 5 | <div class="login-con"> |
5 | <div class="login-wrap"> | 6 | <div class="login-wrap"> |
... | @@ -67,6 +68,7 @@ | ... | @@ -67,6 +68,7 @@ |
67 | </div> | 68 | </div> |
68 | </div> | 69 | </div> |
69 | </div> | 70 | </div> |
71 | </div> | ||
70 | </template> | 72 | </template> |
71 | <script> | 73 | <script> |
72 | import axios from "axios"; | 74 | import axios from "axios"; |
... | @@ -198,6 +200,11 @@ export default { | ... | @@ -198,6 +200,11 @@ export default { |
198 | }; | 200 | }; |
199 | </script> | 201 | </script> |
200 | <style lang="scss" scoped> | 202 | <style lang="scss" scoped> |
203 | input::placeholder{ | ||
204 | color: #878787; | ||
205 | font-size: 14px; | ||
206 | font-family:Arial, Helvetica, sans-serif | ||
207 | } | ||
201 | #login { | 208 | #login { |
202 | width: 100vw; | 209 | width: 100vw; |
203 | height: 100vh; | 210 | height: 100vh; |
... | @@ -205,11 +212,18 @@ export default { | ... | @@ -205,11 +212,18 @@ export default { |
205 | background-size: 100% 100%; | 212 | background-size: 100% 100%; |
206 | overflow: hidden; | 213 | overflow: hidden; |
207 | position: relative; | 214 | position: relative; |
215 | .login-content-wrap{ | ||
216 | position: absolute; | ||
217 | left: 50%; | ||
218 | top: 50%; | ||
219 | transform: translate(-50%, -50%); | ||
220 | } | ||
208 | .login-logo { | 221 | .login-logo { |
209 | margin-top: 18vh; | ||
210 | height: 70px; | 222 | height: 70px; |
211 | width: 100%; | 223 | width: 100%; |
212 | text-align: center; | 224 | text-align: center; |
225 | position: absolute; | ||
226 | top: -70px; | ||
213 | } | 227 | } |
214 | .login-logo img { | 228 | .login-logo img { |
215 | height: 100%; | 229 | height: 100%; | ... | ... |
-
Please register or sign in to post a comment