register.scss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. @import "./theme.scss";
  2. .sld_login {
  3. .sld_login_header {
  4. background: #fff;
  5. box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
  6. .content {
  7. display: flex;
  8. align-items: center;
  9. width: 1200px;
  10. margin: auto;
  11. .l_logo {
  12. cursor: pointer;
  13. width: 50%;
  14. .img {
  15. display: inline-block;
  16. vertical-align: top;
  17. max-width: 160px;
  18. }
  19. .text {
  20. font-size: 0;
  21. display: inline-block;
  22. vertical-align: top;
  23. line-height: 48px;
  24. margin-left: 5px;
  25. }
  26. }
  27. .r_register_wrap {
  28. font-size: 14px;
  29. width: 50%;
  30. text-align: right;
  31. .go_register_btn {
  32. font-size: 13px;
  33. display: inline-block;
  34. padding: 6px 22px;
  35. background: $colorMain;
  36. color: #fff;
  37. border-radius: 30px;
  38. margin-left: 7px;
  39. //font-family: Microsoft YaHei;
  40. height: 30px;
  41. line-height: 17px;
  42. }
  43. }
  44. }
  45. }
  46. .sld_login_content {
  47. width: 100%;
  48. height: 600px;
  49. position: relative;
  50. .bg {
  51. position: absolute;
  52. margin: auto;
  53. width: 1920px;
  54. height: 100%;
  55. margin-left: -960px;
  56. left: 50%;
  57. overflow: hidden;
  58. display: block;
  59. }
  60. .login {
  61. width: 1200px;
  62. height: 100%;
  63. margin: auto;
  64. z-index: 99;
  65. display: flex;
  66. align-items: center;
  67. justify-content: flex-end;
  68. position: relative;
  69. .login_box {
  70. position: relative;
  71. z-index: 10000;
  72. background: #fff;
  73. padding: 10px 2px 50px;
  74. .top {
  75. margin-top: 20px;
  76. padding: 0 20px;
  77. display: flex;
  78. width: 356px;
  79. cursor: default;
  80. .item1 {
  81. flex: 1;
  82. text-align: center;
  83. font-size: 18px;
  84. color: #666;
  85. position: relative;
  86. cursor: default;
  87. }
  88. }
  89. .center {
  90. padding: 30px 30px 40px;
  91. .item {
  92. position: relative;
  93. margin-top: 15px;
  94. border-radius: 2px;
  95. &:first-child {
  96. margin-top: 0;
  97. }
  98. .icon {
  99. position: absolute;
  100. left: 1px;
  101. top: 1px;
  102. width: 50px;
  103. text-align: center;
  104. height: 38px;
  105. background: #f8f8f8;
  106. .input {
  107. border: 1px solid #e8e8e8;
  108. height: 40px;
  109. padding: 0 44px 0 60px;
  110. width: 326px;
  111. }
  112. }
  113. .input {
  114. border: 1px solid #e8e8e8;
  115. height: 40px;
  116. padding: 0 44px 0 60px;
  117. width: 326px;
  118. }
  119. &.code {
  120. .input {
  121. padding-right: 10px;
  122. width: 150px;
  123. }
  124. }
  125. }
  126. .cancel {
  127. position: absolute;
  128. right: 0;
  129. top: 1px;
  130. width: 44px;
  131. height: 38px;
  132. cursor: pointer;
  133. :before {
  134. position: absolute;
  135. top: 9px;
  136. left: 14px;
  137. }
  138. }
  139. .send_code {
  140. position: absolute;
  141. right: 0;
  142. top: 0;
  143. background: #f9f9f9;
  144. border: 1px solid #eee;
  145. border-left: 0;
  146. width: 80px;
  147. height: 40px;
  148. line-height: 40px;
  149. text-align: center;
  150. color: #000;
  151. :hover {
  152. color: $colorMain;
  153. }
  154. }
  155. .img_code {
  156. position: absolute;
  157. right: 0;
  158. top: 0;
  159. border: 1px solid #eee;
  160. border-left: 0;
  161. width: 80px;
  162. height: 40px;
  163. }
  164. .error {
  165. margin-top: 10px;
  166. position: relative;
  167. color: $colorMain;
  168. height: 16px;
  169. line-height: 16px;
  170. }
  171. .login_btn {
  172. display: block;
  173. margin-top: 35px;
  174. background: $colorMain;
  175. color: #fff;
  176. text-align: center;
  177. border-radius: 2px;
  178. height: 45px;
  179. line-height: 45px;
  180. font-size: 18px;
  181. letter-spacing: 0px;
  182. &:hover {
  183. opacity: 0.9;
  184. }
  185. }
  186. .agree_wrap {
  187. margin-top: 11px;
  188. height: 14px;
  189. line-height: 14px;
  190. color: #999;
  191. padding-left: 2px;
  192. position: relative;
  193. cursor: pointer;
  194. .agree_selected {
  195. color: #fff;
  196. position: absolute;
  197. top: 1px;
  198. left: 3px;
  199. z-index: 2;
  200. font-size: 13px;
  201. }
  202. .checkbox {
  203. width: 14px;
  204. height: 14px;
  205. display: inline-block;
  206. vertical-align: top;
  207. position: relative;
  208. outline: none;
  209. -webkit-appearance: none;
  210. background: none;
  211. border: none;
  212. box-sizing: border-box;
  213. cursor: pointer;
  214. box-shadow: none;
  215. &.checked {
  216. &:before {
  217. background: $colorMain;
  218. border-color: $colorMain;
  219. }
  220. }
  221. &:before {
  222. border: 1px solid #ddd;
  223. background: #fff;
  224. z-index: 1;
  225. position: absolute;
  226. top: 0;
  227. left: 0;
  228. content: " ";
  229. display: block;
  230. width: 100%;
  231. height: 100%;
  232. box-sizing: border-box;
  233. }
  234. }
  235. .text {
  236. margin-left: 5px;
  237. display: inline-block;
  238. vertical-align: top;
  239. .agreement {
  240. color: #000;
  241. &:hover {
  242. text-decoration: underline;
  243. }
  244. }
  245. }
  246. }
  247. }
  248. .bottom {
  249. height: 51px;
  250. background: #fcfcfc;
  251. border-top: 1px solid #eee;
  252. position: absolute;
  253. width: 100%;
  254. bottom: 0;
  255. left: 0;
  256. display: flex;
  257. padding: 0 16px;
  258. box-sizing: border-box;
  259. a {
  260. display: block;
  261. line-height: 50px;
  262. margin-right: 10px;
  263. color: #999;
  264. &:hover {
  265. color: #000;
  266. }
  267. }
  268. img {
  269. width: 28px;
  270. height: 28px;
  271. cursor: pointer;
  272. }
  273. }
  274. }
  275. }
  276. }
  277. }
  278. .isLoading{
  279. opacity: .5!important;
  280. cursor: no-drop;
  281. }