login.module.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. .login {
  2. position: relative;
  3. min-height: 100vh;
  4. background: linear-gradient(139deg, #0090F6 0%, #31D3F8 100%);
  5. &::before,
  6. &::after {
  7. content: ' ';
  8. position: absolute;
  9. left: 0;
  10. width: 100%;
  11. height: 100%;
  12. }
  13. &::before {
  14. top: 0;
  15. background: url('./images/login-top-bg.png') no-repeat top center;
  16. background-size: contain;
  17. }
  18. &::after {
  19. bottom: 0;
  20. background: url('./images/login-bottom-bg.png') no-repeat bottom center;
  21. background-size: contain;
  22. }
  23. .arrowLeft {
  24. position: absolute;
  25. z-index: 99;
  26. top: 26px;
  27. left: 18px;
  28. font-weight: bold;
  29. font-size: 22px;
  30. color: #333333;
  31. }
  32. .loginContainer {
  33. position: relative;
  34. z-index: 1;
  35. padding: 75px 13px 20px;
  36. .container {
  37. background: url('./images/login-bg.png') no-repeat center;
  38. background-size: contain;
  39. padding: 69px 22px;
  40. min-height: 395px;
  41. max-width: 350px;
  42. margin: 0 auto;
  43. }
  44. }
  45. .logo {
  46. display: block;
  47. width: 168px;
  48. height: 171px;
  49. margin: 0 auto -38px;
  50. }
  51. .input-group {
  52. height: 48px;
  53. background: #F2F4F8;
  54. border-radius: 24px;
  55. font-size: 16px;
  56. &+.input-group {
  57. margin-top: 18px;
  58. }
  59. .iconPhone,
  60. .iconPassword {
  61. width: 20px;
  62. height: 20px;
  63. }
  64. :global {
  65. .van-field__left-icon {
  66. display: flex;
  67. align-items: center;
  68. }
  69. }
  70. }
  71. input::placeholder {
  72. color: #A6AFCC;
  73. }
  74. .btnGroup {
  75. padding-top: 34px;
  76. }
  77. .primaryButton,
  78. .login-change {
  79. height: 48px;
  80. border-radius: 39px;
  81. font-size: 16px;
  82. border: none;
  83. }
  84. .primaryButton {
  85. background: linear-gradient(73deg, #5BECFF 0%, #259CFE 100%);
  86. font-weight: 600;
  87. color: #FFFFFF;
  88. }
  89. .protocol {
  90. display: flex;
  91. align-items: center;
  92. justify-content: center;
  93. padding-top: 22px;
  94. font-size: 12px;
  95. color: #999999;
  96. line-height: 17px;
  97. .iconChecked {
  98. display: inline-block;
  99. width: 15px;
  100. height: 15px;
  101. border-radius: 50%;
  102. border: 1px solid #ccc;
  103. margin-right: 3px;
  104. &.active {
  105. background: url('./images/icon-checked.png') no-repeat center;
  106. background-size: contain;
  107. border: none;
  108. }
  109. }
  110. span {
  111. color: #1BACF1;
  112. }
  113. }
  114. .login-change {
  115. margin-top: 14px;
  116. background: #F5F7FB;
  117. font-weight: 500;
  118. color: #496AAC;
  119. }
  120. .code-title {
  121. text-align: center;
  122. font-size: 22px;
  123. color: #333333;
  124. line-height: 30px;
  125. }
  126. .codePhone {
  127. font-size: 16px;
  128. color: #ABB3CF;
  129. line-height: 22px;
  130. text-align: center;
  131. padding-top: 28px;
  132. span {
  133. padding-left: 6px;
  134. color: #086497;
  135. }
  136. }
  137. --van-password-input-background: #F2F4F8;
  138. --van-password-input-height: 40px;
  139. :global {
  140. .van-password-input {
  141. margin: 40px 0 0;
  142. }
  143. .van-password-input__security li {
  144. border-radius: 6px;
  145. }
  146. }
  147. .btnWrap {
  148. margin-top: 46px;
  149. text-align: center;
  150. .btnSend {
  151. padding: 10px 18px;
  152. font-size: 16px;
  153. font-weight: 600;
  154. color: #FFFFFF;
  155. line-height: 22px;
  156. }
  157. }
  158. }