login.scss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. .el-main{
  2. padding: 0;
  3. }
  4. // 大背景图
  5. .backdrop {
  6. width: 100%;
  7. min-height: 100%;
  8. padding: 55px;
  9. background-image: url("~@/assets/images/login/login_bg.png");
  10. background-size:cover;
  11. background-repeat:no-repeat;
  12. background-position:center center;/*居中显示*/
  13. box-sizing: border-box;
  14. }
  15. .zap-login{
  16. position: relative;
  17. width: 100%;
  18. min-height: calc(100vh - 110px);
  19. border-radius: 4px;
  20. background-color: #ffffff;
  21. .login-form {
  22. margin-left: 30px;
  23. }
  24. .login-media{
  25. width: 532px;
  26. margin: 0 auto;
  27. padding-top: 164px;
  28. }
  29. .login-name{
  30. width: 269px;
  31. height: 29px;
  32. margin-left: 26px;
  33. }
  34. .login-illustration{
  35. width: 532px;
  36. height: 419px;
  37. margin-top: 47px;
  38. }
  39. .login-text{
  40. display: block;
  41. width: 320px;
  42. height: 16px;
  43. margin-top: 20px;
  44. margin-left: 26px;
  45. }
  46. // 输入框大小
  47. .el-input {
  48. width: 100%;
  49. background-image: linear-gradient(
  50. #fdfdfd,
  51. #fdfdfd),
  52. linear-gradient(
  53. #e7f0ff,
  54. #e7f0ff);
  55. background-blend-mode: normal,
  56. normal;
  57. input {
  58. height: 40px;
  59. width: 100%;
  60. font-size: 16px;
  61. color: #333333;
  62. border: none;
  63. border-radius: 4px;
  64. background-color: #F4F5F6;
  65. }
  66. &.login-code-msg{
  67. input{
  68. width: 200px;
  69. }
  70. }
  71. }
  72. .zap-login__icon {
  73. height: 16px;
  74. width: 16px;
  75. margin-top: 12px;
  76. margin-left: 16px;
  77. }
  78. .el-input--prefix .el-input__inner{
  79. padding-left: 50px;
  80. }
  81. .login-tip {
  82. font-size: 13px;
  83. text-align: center;
  84. }
  85. .el-form-item--medium .el-form-item__content{
  86. display: flex;
  87. align-items: center;
  88. }
  89. // 验证码
  90. .login-code {
  91. height: 40px;
  92. img {
  93. cursor: pointer;
  94. vertical-align: middle;
  95. }
  96. }
  97. .login-code-img {
  98. flex: 1;
  99. height: 40px;
  100. margin-left: 8px;
  101. }
  102. .rightulliimg{
  103. width: 860px;
  104. }
  105. .divider_left{
  106. margin-left: -40px;
  107. }
  108. // 内部供应链
  109. .zap-tabs{
  110. width: 320px;
  111. margin: 0 auto;
  112. min-height: 480px;
  113. box-sizing: border-box;
  114. background-image: linear-gradient(
  115. #ffffff,
  116. #ffffff),
  117. linear-gradient(
  118. #f3f3f3,
  119. #f3f3f3);
  120. .el-tabs__nav-wrap::after{
  121. height: 0;
  122. }
  123. .el-tabs__nav{
  124. width: 100%;
  125. }
  126. .el-tabs__item{
  127. height: 22px;
  128. line-height: 22px;
  129. font-size: 16px;
  130. color: #333333;
  131. &:nth-of-type(3){
  132. padding-left: 30px;
  133. }
  134. }
  135. .el-tabs__item.is-active{
  136. color: #4280F2;
  137. }
  138. .el-tabs__active-bar{
  139. display: none;
  140. }
  141. }
  142. .zap-logo{
  143. position: absolute;
  144. top: 50px;
  145. left: 58px;
  146. width: 156px;
  147. height: 44px;
  148. }
  149. .zap-2dcode{
  150. display: flex;
  151. justify-content: flex-end;
  152. align-items: center;
  153. padding-top: 25px;
  154. padding-right: 50px;
  155. margin-bottom: 63px;
  156. font-size: 0;
  157. background-color: #ffffff;
  158. box-sizing: border-box;
  159. }
  160. .zap-2dcode__text{
  161. position: relative;
  162. display: flex;
  163. flex-direction: column;
  164. justify-content: center;
  165. width: 131px;
  166. height: 36px;
  167. margin-right: -25px;
  168. span{
  169. position: relative;
  170. display: block;
  171. line-height: 14px;
  172. padding-left: 12px;
  173. font-size: 14px;
  174. color: #ffffff;
  175. z-index: 6;
  176. }
  177. img{
  178. position: absolute;
  179. top: 0;
  180. left: 0;
  181. width: 100%;
  182. z-index: 0;
  183. }
  184. }
  185. .zap-2dcode__img{
  186. width: 78px;
  187. height: 78px;
  188. cursor: pointer;
  189. }
  190. .zap-button{
  191. margin-top: 25px;
  192. width: 100%;
  193. height: 40px;
  194. font-size: 16px;
  195. border-radius: 0;
  196. background-color: #4280F2;
  197. background-blend-mode: normal,
  198. normal;
  199. }
  200. .zap-agreement{
  201. display: flex;
  202. align-items: top;
  203. margin-top: 8px;
  204. line-height: 18px;
  205. font-size: 12px;
  206. }
  207. .zap-agreement__text{
  208. color: #666666;
  209. }
  210. .zap-agreement__link{
  211. display: flex;
  212. flex-direction: column;
  213. align-items: flex-start;
  214. color: #4280F2;
  215. cursor: pointer;
  216. }
  217. .zap-code-button{
  218. margin-left: 16px;
  219. padding: 0 16px;
  220. line-height: 40px;
  221. font-size: 14px;
  222. color: #ffffff;
  223. border: none;
  224. background-color: #4280F2;
  225. }
  226. .el-button.is-disabled, .el-button.is-disabled:hover, .el-button.is-disabled:focus{
  227. background-color: transparent;
  228. }
  229. // 扫码登录
  230. .zap-scanning{
  231. background-image: linear-gradient(
  232. #ffffff,
  233. #ffffff),
  234. linear-gradient(
  235. #f3f3f3,
  236. #f3f3f3);
  237. background-blend-mode: normal,
  238. normal;
  239. box-sizing: border-box;
  240. }
  241. .zap-scanning__content{
  242. width: 320px;
  243. margin: 0 auto;
  244. text-align: center;
  245. }
  246. .zap-scanning__title{
  247. text-align: left;
  248. font-size: 24px;
  249. color: #333333;
  250. }
  251. .zap-scanning__img{
  252. display: block;
  253. width: 220px;
  254. height: 220px;
  255. margin: 40px auto 0;
  256. object-fit: cover;
  257. }
  258. .zap-scanning__bottom{
  259. display: flex;
  260. align-items: center;
  261. justify-content: center;
  262. margin-top: 18px;
  263. font-size: 14px;
  264. }
  265. .zap-scanning__icon{
  266. width: 22px;
  267. height: 22px;
  268. margin-right: 10px;
  269. }
  270. .zap-scanning__text{
  271. color: #333333;
  272. }
  273. .zap-scanning__color{
  274. color: #23b24b;
  275. }
  276. .el-tabs__header{
  277. margin-bottom: 32px;
  278. }
  279. .el-dialog:not(.is-fullscreen){
  280. margin-top: 25vh !important;
  281. }
  282. .el-form-item--medium.el-form-item{
  283. margin-bottom: 32px;
  284. }
  285. }