login.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. .sld_login {
  2. .sld_login_header {
  3. background: #fff;
  4. box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
  5. .content {
  6. display: flex;
  7. padding: 20px 0;
  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: 190px;
  18. max-height: 43px;
  19. }
  20. .text {
  21. font-size: 0;
  22. display: inline-block;
  23. vertical-align: top;
  24. line-height: 48px;
  25. margin-left: 5px;
  26. }
  27. }
  28. .r_register_wrap {
  29. font-size: 14px;
  30. width: 50%;
  31. text-align: right;
  32. .go_register_btn {
  33. font-size: 13px;
  34. display: inline-block;
  35. padding: 6px 22px;
  36. background: $colorMain;
  37. color: #fff;
  38. border-radius: 30px;
  39. margin-left: 7px;
  40. //font-family: Microsoft YaHei;
  41. height: 30px;
  42. line-height: 17px;
  43. }
  44. }
  45. }
  46. }
  47. .sld_login_content {
  48. width: 100%;
  49. height: 600px;
  50. position: relative;
  51. .bg {
  52. position: absolute;
  53. margin: auto;
  54. width: 1920px;
  55. height: 100%;
  56. margin-left: -960px;
  57. left: 50%;
  58. overflow: hidden;
  59. display: block;
  60. object-fit: cover;
  61. }
  62. .login {
  63. width: 1200px;
  64. height: 100%;
  65. margin: auto;
  66. z-index: 99;
  67. display: flex;
  68. align-items: center;
  69. justify-content: flex-end;
  70. position: relative;
  71. .login_box {
  72. position: relative;
  73. z-index: 10000;
  74. background: #fff;
  75. padding: 10px 2px 50px;
  76. .qrLogin {
  77. position: absolute;
  78. top: 0;
  79. left: 0;
  80. z-index: 9;
  81. .qrLeft {
  82. width: 45px;
  83. cursor: pointer;
  84. }
  85. .qrRight {
  86. width: 86px;
  87. height: 28px;
  88. position: absolute;
  89. top: 4px;
  90. left: 50px;
  91. z-index: 9;
  92. }
  93. }
  94. .qrMain {
  95. display: flex;
  96. flex-direction: column;
  97. align-items: center;
  98. justify-content: center;
  99. width: 356px;
  100. height: 340px;
  101. margin-top: 20px;
  102. cursor: default;
  103. .qrMain_code {
  104. position: relative;
  105. width: 210px;
  106. height: 210px;
  107. .qrMain_code_bg {
  108. width:100%;
  109. height:100%;
  110. }
  111. .qrMain_code_cover {
  112. width: 100%;
  113. height: 100%;
  114. background: rgba(0,0,0,.6);
  115. position: absolute;
  116. top: 0;
  117. left: 0;
  118. z-index: 9;
  119. color: #FFFFFF;
  120. text-align: center;
  121. p {
  122. font-size: 19px;
  123. font-weight: 700;
  124. margin-top: 65px;
  125. margin-bottom: 40px;
  126. }
  127. .qrMain_code_cover_p {
  128. margin-top: 90px;
  129. }
  130. div {
  131. width: 100px;
  132. line-height: 34px;
  133. font-size: 13px;
  134. font-weight: 700;
  135. letter-spacing: 1px;
  136. background: #E2231B;
  137. border-radius: 3px;
  138. margin: 0 auto;
  139. cursor: pointer;
  140. }
  141. }
  142. }
  143. .qrMain_title {
  144. color: #999999;
  145. font-size: 13px;
  146. font-weight: 700;
  147. margin-top: 12px;
  148. margin-bottom: 12px;
  149. }
  150. .qrMain_tips {
  151. color: #999999;
  152. display: flex;
  153. align-items: center;
  154. justify-content: center;
  155. .qrMain_tips_item {
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. margin-right: 15px;
  160. &:last-child {
  161. margin-right: 0;
  162. }
  163. img {
  164. position: relative;
  165. top: 1px;
  166. width: 15px;
  167. }
  168. span {
  169. margin-left: 6px;
  170. }
  171. }
  172. }
  173. }
  174. .top {
  175. margin-top: 20px;
  176. padding: 0 20px;
  177. display: flex;
  178. width: 356px;
  179. cursor: default;
  180. .item {
  181. flex: 1;
  182. text-align: center;
  183. font-size: 18px;
  184. color: #999999;
  185. cursor: pointer;
  186. position: relative;
  187. &:first-child {
  188. padding: 16px 45px 18px 35px;
  189. &.active {
  190. &:after {
  191. position: absolute;
  192. left: 50%;
  193. bottom: 0;
  194. margin-left: -45px;
  195. content: '';
  196. width: 80px;
  197. height: 1px;
  198. background-color: $colorMain;
  199. }
  200. }
  201. }
  202. &:last-child {
  203. padding: 16px 35px 18px 45px;
  204. &:before {
  205. position: absolute;
  206. left: 0;
  207. top: 12px;
  208. bottom: 12px;
  209. width: 2px;
  210. height: auto;
  211. display: block;
  212. content: " ";
  213. font-size: 0;
  214. background: #eee;
  215. }
  216. &.active {
  217. &:after {
  218. position: absolute;
  219. left: 50%;
  220. bottom: 0;
  221. margin-left: -35px;
  222. content: '';
  223. width: 80px;
  224. height: 1px;
  225. background-color: $colorMain;
  226. }
  227. }
  228. }
  229. &.active {
  230. color: #333333; /* $colorMain; */
  231. font-weight: 700;
  232. }
  233. }
  234. }
  235. .center {
  236. padding: 30px 30px 50px;
  237. .item {
  238. position: relative;
  239. margin-top: 20px;
  240. border-radius: 2px;
  241. &:first-child {
  242. margin-top: 0;
  243. }
  244. .icon {
  245. position: absolute;
  246. left: 1px;
  247. top: 1px;
  248. width: 50px;
  249. text-align: center;
  250. height: 38px;
  251. background: #f8f8f8;
  252. .input {
  253. border: 1px solid #e8e8e8;
  254. height: 40px;
  255. padding: 0 44px 0 60px;
  256. width: 32px;
  257. }
  258. }
  259. .input {
  260. border: 1px solid #e8e8e8;
  261. height: 40px;
  262. padding: 0 44px 0 60px;
  263. width: 326px;
  264. }
  265. &.code {
  266. .input {
  267. padding-right: 10px;
  268. width: 150px;
  269. }
  270. }
  271. }
  272. .cancel {
  273. position: absolute;
  274. right: 0;
  275. top: 1px;
  276. width: 44px;
  277. height: 38px;
  278. cursor: pointer;
  279. :before {
  280. position: absolute;
  281. top: 9px;
  282. left: 14px;
  283. }
  284. }
  285. .send_code {
  286. position: absolute;
  287. right: 0;
  288. top: 0;
  289. background: #f9f9f9;
  290. border: 1px solid #eee;
  291. border-left: 0;
  292. width: 80px;
  293. height: 40px;
  294. line-height: 40px;
  295. text-align: center;
  296. color: #000;
  297. :hover {
  298. color: $colorMain;
  299. }
  300. }
  301. .error {
  302. margin-top: 10px;
  303. position: relative;
  304. color: $colorMain;
  305. height: 16px;
  306. line-height: 16px;
  307. }
  308. .login_btn {
  309. display: block;
  310. margin-top: 35px;
  311. background: $colorMain;
  312. color: #fff;
  313. text-align: center;
  314. border-radius: 2px;
  315. height: 45px;
  316. line-height: 45px;
  317. font-size: 18px;
  318. letter-spacing: 0px;
  319. &:hover {
  320. opacity: 0.9;
  321. }
  322. }
  323. }
  324. .bottom {
  325. height: 51px;
  326. background: #FEFEFE;
  327. border-top: 1px solid #eee;
  328. position: absolute;
  329. width: 100%;
  330. bottom: 0;
  331. left: 0;
  332. display: flex;
  333. padding: 0 16px;
  334. box-sizing: border-box;
  335. a {
  336. display: block;
  337. line-height: 50px;
  338. margin-right: 10px;
  339. color: #999;
  340. &:hover {
  341. color: #000;
  342. }
  343. }
  344. img {
  345. width: 28px;
  346. height: 28px;
  347. cursor: pointer;
  348. }
  349. }
  350. }
  351. }
  352. }
  353. }