loginModal.scss 6.9 KB

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