register.scss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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. .login-verify {
  127. height: 220px;
  128. margin-top: 10px;
  129. }
  130. .cancel {
  131. position: absolute;
  132. right: 0;
  133. top: 1px;
  134. width: 44px;
  135. height: 38px;
  136. cursor: pointer;
  137. :before {
  138. position: absolute;
  139. top: 9px;
  140. left: 14px;
  141. }
  142. }
  143. .send_code {
  144. position: absolute;
  145. right: 0;
  146. top: 0;
  147. background: #f9f9f9;
  148. border: 1px solid #eee;
  149. border-left: 0;
  150. width: 80px;
  151. height: 40px;
  152. line-height: 40px;
  153. text-align: center;
  154. color: #000;
  155. :hover {
  156. color: $colorMain;
  157. }
  158. }
  159. .img_code {
  160. position: absolute;
  161. right: 0;
  162. top: 0;
  163. border: 1px solid #eee;
  164. border-left: 0;
  165. width: 80px;
  166. height: 40px;
  167. }
  168. .error {
  169. margin-top: 10px;
  170. position: relative;
  171. color: $colorMain;
  172. height: 16px;
  173. line-height: 16px;
  174. }
  175. .login_btn {
  176. display: block;
  177. margin-top: 35px;
  178. background: $colorMain;
  179. color: #fff;
  180. text-align: center;
  181. border-radius: 2px;
  182. height: 45px;
  183. line-height: 45px;
  184. font-size: 18px;
  185. letter-spacing: 0px;
  186. &:hover {
  187. opacity: 0.9;
  188. }
  189. }
  190. .agree_wrap {
  191. margin-top: 11px;
  192. height: 14px;
  193. line-height: 14px;
  194. color: #999;
  195. padding-left: 2px;
  196. position: relative;
  197. cursor: pointer;
  198. .agree_selected {
  199. color: #fff;
  200. position: absolute;
  201. top: 1px;
  202. left: 3px;
  203. z-index: 2;
  204. font-size: 13px;
  205. }
  206. .checkbox {
  207. width: 14px;
  208. height: 14px;
  209. display: inline-block;
  210. vertical-align: top;
  211. position: relative;
  212. outline: none;
  213. -webkit-appearance: none;
  214. background: none;
  215. border: none;
  216. box-sizing: border-box;
  217. cursor: pointer;
  218. box-shadow: none;
  219. &.checked {
  220. &:before {
  221. background: $colorMain;
  222. border-color: $colorMain;
  223. }
  224. }
  225. &:before {
  226. border: 1px solid #ddd;
  227. background: #fff;
  228. z-index: 1;
  229. position: absolute;
  230. top: 0;
  231. left: 0;
  232. content: " ";
  233. display: block;
  234. width: 100%;
  235. height: 100%;
  236. box-sizing: border-box;
  237. }
  238. }
  239. .text {
  240. margin-left: 5px;
  241. display: inline-block;
  242. vertical-align: top;
  243. .agreement {
  244. color: #000;
  245. &:hover {
  246. text-decoration: underline;
  247. }
  248. }
  249. }
  250. }
  251. }
  252. .bottom {
  253. height: 51px;
  254. background: #fcfcfc;
  255. border-top: 1px solid #eee;
  256. position: absolute;
  257. width: 100%;
  258. bottom: 0;
  259. left: 0;
  260. display: flex;
  261. padding: 0 16px;
  262. box-sizing: border-box;
  263. a {
  264. display: block;
  265. line-height: 50px;
  266. margin-right: 10px;
  267. color: #999;
  268. &:hover {
  269. color: #000;
  270. }
  271. }
  272. img {
  273. width: 28px;
  274. height: 28px;
  275. cursor: pointer;
  276. }
  277. }
  278. }
  279. }
  280. }
  281. }
  282. .isLoading{
  283. opacity: .5!important;
  284. cursor: no-drop;
  285. }