login.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .icon.data-v-fa14255b {
  27. display: flex;
  28. align-items: center;
  29. margin-right: 7rpx;
  30. }
  31. .icon image.data-v-fa14255b {
  32. width: 35rpx;
  33. height: 35rpx;
  34. }
  35. @keyframes title-animation-fa14255b {
  36. 0% {
  37. font-size: 32rpx;
  38. }
  39. 100% {
  40. font-size: 36rpx;
  41. }
  42. }
  43. .login-wrap.data-v-fa14255b {
  44. padding: 50rpx 34rpx;
  45. min-height: 500rpx;
  46. background-color: #fff;
  47. border-radius: 20rpx 20rpx 0 0;
  48. }
  49. .head-box.data-v-fa14255b {
  50. padding: 40rpx 40rpx 0;
  51. }
  52. .head-box .head-title.data-v-fa14255b {
  53. min-width: 160rpx;
  54. font-size: 36rpx;
  55. font-weight: bold;
  56. color: #333333;
  57. line-height: 36rpx;
  58. }
  59. .head-box .head-title-active.data-v-fa14255b {
  60. width: 160rpx;
  61. font-size: 32rpx;
  62. font-weight: 600;
  63. color: #999;
  64. line-height: 36rpx;
  65. }
  66. .head-box .head-title-animation.data-v-fa14255b {
  67. animation-name: title-animation-fa14255b;
  68. animation-duration: 0.1s;
  69. animation-timing-function: ease-out;
  70. animation-fill-mode: forwards;
  71. }
  72. .head-box .head-title-line.data-v-fa14255b {
  73. position: relative;
  74. }
  75. .head-box .head-title-line.data-v-fa14255b::before {
  76. content: "";
  77. width: 1rpx;
  78. height: 34rpx;
  79. background-color: #e4e7ed;
  80. position: absolute;
  81. left: -30rpx;
  82. top: 50%;
  83. transform: translateY(-50%);
  84. }
  85. .head-box .head-subtitle.data-v-fa14255b {
  86. font-size: 26rpx;
  87. font-weight: 400;
  88. color: #afb6c0;
  89. text-align: left;
  90. display: flex;
  91. }
  92. .code-btn-start.data-v-fa14255b {
  93. width: 160rpx;
  94. height: 56rpx;
  95. line-height: normal;
  96. border: 2rpx solid var(--ui-BG-Main);
  97. border-radius: 28rpx;
  98. font-size: 26rpx;
  99. font-weight: 400;
  100. color: var(--ui-BG-Main);
  101. opacity: 1;
  102. }
  103. .forgot-btn.data-v-fa14255b {
  104. width: 160rpx;
  105. line-height: 56rpx;
  106. font-size: 30rpx;
  107. font-weight: 500;
  108. color: #999;
  109. }
  110. .login-btn-start.data-v-fa14255b {
  111. width: 158rpx;
  112. height: 56rpx;
  113. line-height: normal;
  114. background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
  115. border-radius: 28rpx;
  116. font-size: 26rpx;
  117. font-weight: 500;
  118. color: #fff;
  119. }
  120. .type-btn.data-v-fa14255b {
  121. padding: 20rpx;
  122. margin: 40rpx auto;
  123. width: 200rpx;
  124. font-size: 30rpx;
  125. font-weight: 500;
  126. color: #999999;
  127. }
  128. .auto-login-box.data-v-fa14255b {
  129. width: 100%;
  130. }
  131. .auto-login-box .auto-login-btn.data-v-fa14255b {
  132. width: 68rpx;
  133. height: 68rpx;
  134. border-radius: 50%;
  135. margin: 0 30rpx;
  136. }
  137. .auto-login-box .auto-login-img.data-v-fa14255b {
  138. width: 68rpx;
  139. height: 68rpx;
  140. border-radius: 50%;
  141. }
  142. .agreement-box.data-v-fa14255b {
  143. margin: 80rpx auto 0;
  144. }
  145. .agreement-box .protocol-check.data-v-fa14255b {
  146. transform: scale(0.7);
  147. }
  148. .agreement-box .agreement-text.data-v-fa14255b {
  149. font-size: 26rpx;
  150. font-weight: 500;
  151. color: #999999;
  152. }
  153. .agreement-box .agreement-text .tcp-text.data-v-fa14255b {
  154. color: var(--ui-BG-Main);
  155. }
  156. .editPwd-btn-box .save-btn.data-v-fa14255b {
  157. width: 690rpx;
  158. line-height: 70rpx;
  159. background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
  160. border-radius: 35rpx;
  161. font-size: 28rpx;
  162. font-weight: 500;
  163. color: #ffffff;
  164. }
  165. .editPwd-btn-box .forgot-btn.data-v-fa14255b {
  166. width: 690rpx;
  167. line-height: 70rpx;
  168. font-size: 28rpx;
  169. font-weight: 500;
  170. color: #999999;
  171. }
  172. .code-btn-start.data-v-fa14255b {
  173. color: #55b774;
  174. border: 1px solid #55b774;
  175. }
  176. .disabled.data-v-fa14255b {
  177. border: 1px solid #f7f7f7;
  178. }
  179. .agreement-box.data-v-fa14255b {
  180. margin: 20rpx 0;
  181. }
  182. .login-btn-start.data-v-fa14255b {
  183. background: #0e932e;
  184. width: 100%;
  185. height: 80rpx;
  186. font-size: 32rpx;
  187. }
  188. .loginUniForm.data-v-fa14255b {
  189. margin: 40rpx;
  190. border: 1rpx solid #d6d6d6;
  191. padding: 10rpx 15rpx;
  192. border-radius: 10rpx;
  193. }
  194. .loginUniFormItem.data-v-fa14255b {
  195. border-bottom: 1rpx solid #d6d6d6;
  196. padding-bottom: 10rpx;
  197. }
  198. .loginUniFormItem.data-v-fa14255b:last-child {
  199. border-bottom: none;
  200. padding-top: 10rpx;
  201. }
  202. .data-v-fa14255b .loginUniFormItem .uni-forms-item__inner {
  203. padding-bottom: 0;
  204. }
  205. .data-v-fa14255b .loginUniFormItem .uni-error-message {
  206. bottom: -20rpx;
  207. }