eoss-ui 0.6.0 → 0.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/lib/button-group.js +210 -198
  2. package/lib/button.js +2 -2
  3. package/lib/calendar.js +2 -2
  4. package/lib/card.js +2 -2
  5. package/lib/cascader.js +2 -2
  6. package/lib/checkbox-group.js +12 -30
  7. package/lib/clients.js +2 -2
  8. package/lib/data-table-form.js +2 -4
  9. package/lib/data-table.js +21 -36
  10. package/lib/date-picker.js +2 -2
  11. package/lib/dialog.js +16 -33
  12. package/lib/enterprise.js +2 -2
  13. package/lib/eoss-ui.common.js +1498 -937
  14. package/lib/error-page.js +2 -2
  15. package/lib/flow-group.js +2 -2
  16. package/lib/flow-list.js +4 -4
  17. package/lib/flow.js +475 -239
  18. package/lib/form.js +2 -4
  19. package/lib/handle-user.js +2 -2
  20. package/lib/handler.js +12 -12
  21. package/lib/icon.js +9 -9
  22. package/lib/icons.js +5 -5
  23. package/lib/index.js +1 -1
  24. package/lib/input-number.js +2 -2
  25. package/lib/input.js +2 -2
  26. package/lib/label.js +2 -2
  27. package/lib/layout.js +4 -4
  28. package/lib/login.js +728 -489
  29. package/lib/main.js +193 -114
  30. package/lib/menu.js +2 -2
  31. package/lib/nav.js +2 -2
  32. package/lib/notify.js +2 -2
  33. package/lib/page.js +2 -2
  34. package/lib/pagination.js +2 -2
  35. package/lib/player.js +11 -11
  36. package/lib/qr-code.js +4 -4
  37. package/lib/radio-group.js +10 -30
  38. package/lib/retrial-auth.js +9 -9
  39. package/lib/select-ganged.js +9 -9
  40. package/lib/select.js +8 -28
  41. package/lib/selector-panel.js +6 -8
  42. package/lib/selector.js +11 -11
  43. package/lib/sizer.js +2 -2
  44. package/lib/steps.js +2 -2
  45. package/lib/switch.js +9 -9
  46. package/lib/table-form.js +2 -2
  47. package/lib/tabs-panel.js +2 -2
  48. package/lib/tabs.js +2 -2
  49. package/lib/theme-chalk/base.css +1 -1
  50. package/lib/theme-chalk/flow.css +1 -1
  51. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  52. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  53. package/lib/theme-chalk/icon.css +1 -1
  54. package/lib/theme-chalk/icons.css +1 -1
  55. package/lib/theme-chalk/index.css +1 -1
  56. package/lib/theme-chalk/login.css +1 -1
  57. package/lib/theme-chalk/main.css +1 -1
  58. package/lib/theme-chalk/menu.css +1 -1
  59. package/lib/theme-chalk/simplicity.css +1 -1
  60. package/lib/theme-chalk/sizer.css +1 -1
  61. package/lib/theme-chalk/upload.css +1 -1
  62. package/lib/tips.js +2 -2
  63. package/lib/toolbar.js +2 -2
  64. package/lib/tree-group.js +6 -5
  65. package/lib/tree.js +2 -2
  66. package/lib/upload.js +6 -8
  67. package/lib/wujie.js +145 -145
  68. package/lib/wxlogin.js +145 -145
  69. package/package.json +2 -2
  70. package/packages/.DS_Store +0 -0
  71. package/packages/checkbox-group/.DS_Store +0 -0
  72. package/packages/checkbox-group/src/main.vue +10 -7
  73. package/packages/data-table/src/main.vue +23 -15
  74. package/packages/dialog/.DS_Store +0 -0
  75. package/packages/dialog/src/main.vue +13 -8
  76. package/packages/flow/src/component/SendMsg.vue +7 -1
  77. package/packages/flow/src/component/taskUnionExamine.vue +19 -1
  78. package/packages/flow/src/main.vue +69 -47
  79. package/packages/flow/src/processForm.vue +21 -5
  80. package/packages/flow/src/processReject.vue +31 -14
  81. package/packages/flow/src/startTaskRead.vue +22 -8
  82. package/packages/handler/src/main.vue +1 -1
  83. package/packages/icons/src/icon.json +1 -1
  84. package/packages/login/.DS_Store +0 -0
  85. package/packages/login/src/main.vue +211 -115
  86. package/packages/main/.DS_Store +0 -0
  87. package/packages/main/src/.DS_Store +0 -0
  88. package/packages/main/src/default/index.vue +2 -10
  89. package/packages/main/src/default/message.vue +13 -1
  90. package/packages/main/src/default/notice.vue +16 -4
  91. package/packages/main/src/main.vue +41 -13
  92. package/packages/main/src/simplicity/index.vue +11 -17
  93. package/packages/main/src/simplicity/message.vue +14 -1
  94. package/packages/main/src/simplicity/notice.vue +13 -1
  95. package/packages/radio-group/src/main.vue +10 -7
  96. package/packages/select/src/main.vue +10 -7
  97. package/packages/theme-chalk/lib/base.css +1 -1
  98. package/packages/theme-chalk/lib/flow.css +1 -1
  99. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  100. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  101. package/packages/theme-chalk/lib/icon.css +1 -1
  102. package/packages/theme-chalk/lib/icons.css +1 -1
  103. package/packages/theme-chalk/lib/index.css +1 -1
  104. package/packages/theme-chalk/lib/login.css +1 -1
  105. package/packages/theme-chalk/lib/main.css +1 -1
  106. package/packages/theme-chalk/lib/menu.css +1 -1
  107. package/packages/theme-chalk/lib/simplicity.css +1 -1
  108. package/packages/theme-chalk/lib/sizer.css +1 -1
  109. package/packages/theme-chalk/lib/upload.css +1 -1
  110. package/packages/theme-chalk/src/.DS_Store +0 -0
  111. package/packages/theme-chalk/src/common/var.scss +3 -1
  112. package/packages/theme-chalk/src/flow.scss +12 -0
  113. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  114. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  115. package/packages/theme-chalk/src/icon.scss +16 -0
  116. package/packages/theme-chalk/src/icons.scss +1 -1
  117. package/packages/theme-chalk/src/login.scss +607 -761
  118. package/packages/tree-group/src/main.vue +5 -1
  119. package/src/index.js +1 -1
@@ -1,634 +1,487 @@
1
1
  @import './common/var.scss';
2
2
  @mixin loginMedium {
3
- .es-login-logo {
4
- height: 48px;
5
- left: 20px;
6
- top: 20px;
7
- }
8
- .es-login.es-adaptive {
9
- width: 420px;
10
- padding: 0 8px;
3
+ .es-login {
4
+ width: $--login-width * 0.7777;
5
+ .es-login-main {
6
+ padding: 48px 56px;
7
+ &.es-complex {
8
+ padding: 56px 56px 20px 56px;
9
+ }
10
+ }
11
11
  .es-login-name {
12
- margin-bottom: 40px;
12
+ margin-bottom: 16px;
13
13
  }
14
- .es-login-main {
15
- padding: 40px 34px 32px 34px;
16
- &.es-switchs {
17
- padding: 30px 34px;
18
- .es-login-title {
19
- margin-bottom: 30px;
14
+ .es-login-model {
15
+ right: 8px;
16
+ top: 8px;
17
+ .es-icon-box {
18
+ width: 40px;
19
+ height: 40px;
20
+ &::after {
21
+ border-width: 22px;
20
22
  }
21
- .es-qrcode-box,
22
- .es-wx-qrcode-box {
23
- height: 268px;
24
- padding-top: 16px;
25
- padding-bottom: 16px;
23
+ .es-icon {
24
+ font-size: 38px;
26
25
  }
27
26
  }
28
- .es-login-title-image {
29
- margin: -40px -34px 16px -34px;
30
- & + .es-login-form-box .es-login-verify {
31
- padding-top: 26px;
32
- }
27
+ .es-login-model-tips {
28
+ width: 128px;
29
+ height: 32px;
30
+ padding: 6px 8px 6px 4px;
31
+ line-height: 20px;
32
+ right: 46px;
33
+ top: 8px;
33
34
  }
34
- .es-login-switch {
35
- .es-icon {
36
- font-size: 48px;
37
- width: 48px;
38
- height: 48px;
35
+ }
36
+ .es-login-models {
37
+ padding-top: 12px;
38
+ bottom: 10px;
39
+ .es-icon-box {
40
+ & + .es-icon-box {
41
+ margin-left: 12px;
39
42
  }
40
43
  }
41
- .es-warning {
42
- font-size: 14px;
44
+ .es-icon {
45
+ font-size: 22px;
43
46
  }
44
47
  }
45
-
46
- .es-login-title {
47
- height: 22px;
48
- margin-bottom: 30px;
48
+ .es-login-complex-title {
49
+ height: 12px;
49
50
  font-size: 18px;
50
- line-height: 22px;
51
-
52
- .es-login-title-content {
53
- margin: 0 12px;
54
- }
51
+ line-height: 18px;
52
+ transform: translateY(-16px);
55
53
  }
56
- .es-login-switchs {
57
- padding-bottom: 10px;
58
- .es-icon {
59
- font-size: 20px;
54
+ .es-login-complex-models {
55
+ height: 40px;
56
+ line-height: 40px;
57
+ margin-bottom: 12px;
58
+ .es-login-complex-models-item {
59
+ padding: 0 10px;
60
+ font-size: 16px;
61
+ & + .es-login-complex-models-item {
62
+ margin-left: 24px;
63
+ }
64
+ &.es-active {
65
+ color: $--color-primary;
66
+ border-bottom: 1px solid $--color-primary;
67
+ }
60
68
  }
61
69
  }
62
- .es-login-form {
63
- .el-form-item {
64
- margin-bottom: 22px;
70
+ .es-login-title {
71
+ font-size: 20px;
72
+ line-height: 20px;
73
+ padding-bottom: 18px;
74
+ .es-login-title-content {
75
+ margin: 0 24px;
65
76
  }
66
- .el-input__inner {
67
- padding-left: 40px;
77
+ &.es-login-title-complex {
68
78
  height: 40px;
79
+ font-size: 16px;
69
80
  line-height: 40px;
70
- font-size: 14px;
71
-
72
- &::-webkit-input-placeholder {
73
- font-size: 14px;
81
+ .es-login-title-content {
82
+ padding: 0 12px;
83
+ border-bottom-width: 1px;
74
84
  }
75
85
  }
76
-
77
- .el-input__prefix {
78
- left: 16px;
86
+ }
87
+ .es-login-form {
88
+ height: 264px;
89
+ .el-form-item__content {
79
90
  line-height: 40px;
80
91
  }
81
-
82
- .es-label-user {
83
- font-size: 14px;
84
- }
85
-
86
- .es-label-password {
92
+ .el-input__inner {
93
+ height: 40px;
87
94
  font-size: 16px;
88
- top: 0;
89
- }
90
-
91
- .el-input__clear {
92
- font-size: 14px;
93
- line-height: 36px;
95
+ padding-left: 42px;
94
96
  }
95
-
96
- .es-label-code-image {
97
- font-size: 16px;
98
- line-height: 36px;
99
- }
100
-
101
- .es-label-image-code {
102
- padding-right: 100px;
103
-
104
- .el-input__suffix {
105
- padding: 2px;
106
- .es-get-code {
107
- margin-top: -2px;
108
- margin-bottom: -2px;
109
- padding: 5px 6px;
110
- line-height: 28px;
111
- }
112
- }
113
-
114
- .es-img-code {
115
- height: 32px;
97
+ .el-input__prefix {
98
+ width: 40px;
99
+ padding-left: 5px;
100
+ line-height: 40px;
101
+ i {
102
+ line-height: 40px;
103
+ font-size: 16px;
116
104
  }
117
105
  }
118
-
119
- .el-form-item__error {
120
- font-size: 12px;
121
- }
122
-
123
- .es-password-handle {
124
- margin-top: 0;
125
- margin-bottom: 20px;
126
-
127
- .el-checkbox__label {
128
- font-size: 12px;
129
- }
130
-
131
- .el-checkbox__input {
132
- .el-checkbox__inner {
133
- width: 14px;
134
- height: 14px;
135
- top: 1px;
136
- padding-left: 6px;
137
-
138
- &::after {
139
- left: 4px;
140
- top: 0px;
141
- }
142
- }
143
-
144
- &.is-checked {
145
- .el-checkbox__inner::after {
146
- transform: rotate(45deg) scaleY(0.9);
147
- }
148
- }
106
+ .el-input__suffix-inner {
107
+ height: 40px;
108
+ line-height: 40px;
109
+ .el-input__icon {
110
+ line-height: 40px;
111
+ font-size: 16px;
149
112
  }
150
-
151
- .es-password-forget {
152
- font-size: 12px;
113
+ .es-img-code {
114
+ height: 36px;
153
115
  }
154
- }
155
-
156
- .extra {
157
- margin-top: 20px;
158
- display: flex;
159
- justify-content: space-between;
160
-
161
- span {
162
- cursor: pointer;
163
- font-size: 14px;
164
- color: #12278b;
116
+ .es-get-code {
117
+ width: 94px;
118
+ height: 40px;
119
+ line-height: 40px;
165
120
  }
166
121
  }
167
-
168
122
  .es-button-submit {
169
123
  height: 40px;
124
+ font-size: 18px;
170
125
  line-height: 40px;
171
- font-size: 16px;
172
- padding: 0 8px;
173
- border-radius: 8px;
174
126
  }
175
- &.es-login-verify {
176
- .es-login-title {
177
- margin-bottom: 56px;
178
- }
179
- .el-form-item {
180
- margin-bottom: 40px;
181
- }
127
+ .es-label-image-code {
128
+ padding-right: 95px;
182
129
  }
183
130
  }
184
-
185
131
  .es-login-qrcode {
186
- .es-login-down-app {
187
- .es-login-app-name {
188
- padding: 0 4px;
189
- }
190
- }
191
- .es-login-title {
192
- margin-bottom: 18px;
193
- }
194
- .es-qrcode-box,
195
- .es-wx-qrcode-box {
196
- height: 280px;
197
- padding-top: 16px;
198
- padding-bottom: 16px;
199
- }
200
- }
201
- }
202
- }
203
- @mixin loginSmall {
204
- .es-login-logo {
205
- height: 38px;
206
- left: 20px;
207
- top: 20px;
208
- }
209
- .es-login.es-adaptive {
210
- width: 360px;
211
- padding: 0 8px;
212
- .es-login-name {
213
- margin-bottom: 40px;
214
- }
215
- .es-login-main {
216
- padding: 26px 30px;
217
- &.es-switchs {
218
- padding: 20px 30px 32px 30px;
219
- .es-login-title {
220
- margin-bottom: 14px;
221
- }
222
- .es-qrcode-box,
223
- .es-wx-qrcode-box {
224
- height: 202px;
225
- padding-top: 12px;
226
- padding-bottom: 12px;
227
- }
228
- }
229
- .es-login-title-image {
230
- margin: -26px -30px 10px -30px;
231
-
232
- & + .es-login-form-box .es-qrcode-box,
233
- & + .es-login-form-box .es-wx-qrcode-box {
234
- height: 202px;
235
- padding-top: 12px;
236
- padding-bottom: 12px;
237
- }
238
- & + .es-login-form-box .es-login-verify {
239
- padding-top: 24px;
240
- }
241
- }
242
- .es-login-switch {
243
- .es-icon {
244
- font-size: 32px;
245
- width: 32px;
246
- height: 32px;
247
- }
248
- }
249
- .es-downloadSetup {
250
- padding-bottom: 4px;
251
- }
252
- .es-downloadSetup,
253
- .es-warning {
254
- font-size: 11px;
255
- }
132
+ height: 264px;
256
133
  }
257
-
258
- .es-login-title {
134
+ .es-password-handle {
259
135
  height: 22px;
260
- margin-bottom: 14px;
261
- font-size: 15px;
262
- line-height: 22px;
136
+ margin-bottom: 12px;
263
137
 
264
- .es-login-title-content {
265
- margin: 0 12px;
266
- }
267
- }
268
- .es-login-switchs {
269
- padding-bottom: 7px;
270
- .es-icon {
271
- font-size: 17px;
272
- }
273
- }
274
- .es-login-form {
275
- padding-bottom: 12px;
276
- .el-form-item {
277
- margin-bottom: 18px;
278
- }
279
- .el-input__inner {
280
- padding-left: 30px;
281
- height: 30px;
282
- line-height: 30px;
283
- font-size: 12px;
284
-
285
- &::-webkit-input-placeholder {
286
- font-size: 12px;
287
- }
288
- }
289
-
290
- .el-input__prefix {
291
- left: 10px;
292
- line-height: 30px;
293
- }
294
-
295
- .es-label-user {
296
- font-size: 14px;
297
- }
298
-
299
- .es-label-password {
300
- font-size: 16px;
301
- top: 0;
302
- }
303
-
304
- .el-input__clear {
138
+ .el-checkbox__label {
305
139
  font-size: 14px;
306
- line-height: 30px;
307
- }
308
-
309
- .es-label-code-image {
310
- font-size: 16px;
311
- line-height: 30px;
312
140
  }
313
141
 
314
- .es-label-image-code {
315
- padding-right: 100px;
142
+ .el-checkbox__input {
143
+ .el-checkbox__inner {
144
+ width: 18px;
145
+ height: 18px;
146
+ border-radius: 10px;
316
147
 
317
- .el-input__suffix {
318
- padding: 2px;
319
- .es-get-code {
320
- margin-top: -2px;
321
- margin-bottom: -2px;
322
- padding: 5px 6px;
323
- line-height: 18px;
324
- font-size: 12px;
148
+ &::after {
149
+ border: 2px solid #ffffff;
150
+ border-left: 0;
151
+ border-top: 0;
152
+ height: 8px;
153
+ left: 6px;
154
+ top: 2px;
325
155
  }
326
156
  }
327
-
328
- .es-img-code {
329
- height: 28px;
330
- }
331
157
  }
332
158
 
333
- .el-form-item__error {
334
- font-size: 11px;
335
- padding-top: 2px;
159
+ .es-password-forget {
160
+ font-size: 14px;
336
161
  }
337
-
338
- .es-password-handle {
339
- margin-top: 0;
340
- margin-bottom: 14px;
341
-
342
- .el-checkbox__label {
343
- font-size: 12px;
344
- }
345
-
346
- .el-checkbox__input {
347
- .el-checkbox__inner {
348
- width: 14px;
349
- height: 14px;
350
- top: 1px;
351
- padding-left: 6px;
352
-
353
- &::after {
354
- left: 4px;
355
- top: 0px;
356
- }
357
- }
358
-
359
- &.is-checked {
360
- .el-checkbox__inner::after {
361
- transform: rotate(45deg) scaleY(0.9);
362
- }
363
- }
364
- }
365
-
366
- .es-password-forget {
367
- font-size: 12px;
162
+ }
163
+ .es-login-complex-app {
164
+ .es-login-complex-scan {
165
+ padding-right: 16px;
166
+ .es-icon-scan {
167
+ font-size: 30px;
368
168
  }
369
- }
370
-
371
- .extra {
372
- margin-top: 20px;
373
- display: flex;
374
- justify-content: space-between;
375
-
376
- span {
377
- cursor: pointer;
378
- font-size: 12px;
379
- color: #12278b;
169
+ .es-login-complex-scan-tips {
170
+ line-height: 18px;
380
171
  }
381
172
  }
382
-
383
- .es-button-submit {
384
- height: 30px;
385
- line-height: 30px;
386
- font-size: 12px;
387
- padding: 0 8px;
388
- border-radius: 8px;
389
- }
390
- &.es-login-verify {
391
- .es-login-title {
392
- margin-bottom: 38px;
393
- }
394
- .el-form-item {
395
- margin-bottom: 30px;
396
- }
173
+ .es-login-complex-download {
174
+ margin-left: 16px;
175
+ line-height: 36px;
397
176
  }
398
177
  }
399
-
400
- .es-login-qrcode {
401
- .es-login-down-app {
402
- font-size: 11px;
403
- .es-login-app-name {
404
- padding: 0;
405
- }
406
- }
407
- .es-login-title {
408
- margin-bottom: 10px;
409
- }
410
- .es-qrcode-box,
411
- .es-wx-qrcode-box {
412
- height: 206px;
413
- padding-top: 12px;
414
- padding-bottom: 12px;
415
- }
178
+ .es-to-login {
179
+ margin-right: -40px;
180
+ font-size: 17px;
181
+ padding-top: 14px;
416
182
  }
417
183
  }
418
184
  }
419
- @mixin loginMini {
420
- .es-login-logo {
421
- height: 38px;
422
- left: 20px;
423
- top: 20px;
424
- }
425
- .es-login.es-adaptive {
426
- width: 360px;
427
- padding: 0 8px;
185
+ @mixin loginSmall {
186
+ .es-login {
187
+ width: $--login-width * 0.6666;
188
+ .es-login-main {
189
+ padding: 34px 44px;
190
+ &.es-complex {
191
+ padding: 44px 44px 14px 44px;
192
+ }
193
+ }
428
194
  .es-login-name {
429
- margin-bottom: 40px;
195
+ margin-bottom: 12px;
430
196
  }
431
- .es-login-main {
432
- padding: 26px 30px;
433
- &.es-switchs {
434
- padding: 20px 30px 32px 30px;
435
- .es-login-title {
436
- margin-bottom: 14px;
197
+ .es-login-model {
198
+ right: 6px;
199
+ top: 6px;
200
+ .es-icon-box {
201
+ width: 36px;
202
+ height: 36px;
203
+ &::after {
204
+ border-width: 19px;
437
205
  }
438
- .es-qrcode-box,
439
- .es-wx-qrcode-box {
440
- height: 202px;
441
- padding-top: 12px;
442
- padding-bottom: 12px;
206
+ .es-icon {
207
+ font-size: 34px;
443
208
  }
444
209
  }
445
- .es-login-title-image {
446
- margin: -26px -30px 10px -30px;
447
- & + .es-login-form-box .es-qrcode-box,
448
- & + .es-login-form-box .es-wx-qrcode-box {
449
- height: 202px;
450
- padding-top: 12px;
451
- padding-bottom: 12px;
452
- }
453
- & + .es-login-form-box .es-login-verify {
454
- padding-top: 24px;
455
- }
210
+ .es-login-model-tips {
211
+ width: 100px;
212
+ height: 26px;
213
+ font-size: 12px;
214
+ padding: 4px 6px 4px 2px;
215
+ line-height: 20px;
216
+ right: 38px;
217
+ top: 6px;
456
218
  }
457
- .es-login-switch {
458
- .es-icon {
459
- font-size: 32px;
460
- width: 32px;
461
- height: 32px;
219
+ }
220
+ .es-login-models {
221
+ padding-top: 12px;
222
+ bottom: 10px;
223
+ .es-icon-box {
224
+ & + .es-icon-box {
225
+ margin-left: 12px;
462
226
  }
463
227
  }
464
- .es-downloadSetup {
465
- padding-bottom: 4px;
466
- }
467
- .es-downloadSetup,
468
- .es-warning {
469
- font-size: 11px;
228
+ .es-icon {
229
+ font-size: 20px;
470
230
  }
471
231
  }
472
-
473
- .es-login-title {
474
- height: 22px;
475
- margin-bottom: 14px;
476
- font-size: 15px;
477
- line-height: 22px;
478
-
479
- .es-login-title-content {
480
- margin: 0 12px;
481
- }
232
+ .es-login-complex-title {
233
+ height: 10px;
234
+ font-size: 16px;
235
+ line-height: 16px;
482
236
  }
483
- .es-login-switchs {
484
- padding-bottom: 7px;
485
- .es-icon {
486
- font-size: 17px;
237
+ .es-login-complex-models {
238
+ height: 30px;
239
+ line-height: 30px;
240
+ margin-bottom: 8px;
241
+ .es-login-complex-models-item {
242
+ padding: 0 8px;
243
+ font-size: 14px;
244
+ & + .es-login-complex-models-item {
245
+ margin-left: 18px;
246
+ }
487
247
  }
488
248
  }
489
- .es-login-form {
490
- padding-bottom: 12px;
491
- .el-form-item {
492
- margin-bottom: 18px;
249
+ .es-login-title {
250
+ font-size: 16px;
251
+ line-height: 16px;
252
+ padding-bottom: 14px;
253
+ .es-login-title-content {
254
+ margin: 0 24px;
493
255
  }
494
- .el-input__inner {
495
- padding-left: 30px;
256
+ &.es-login-title-complex {
496
257
  height: 30px;
258
+ font-size: 14px;
497
259
  line-height: 30px;
498
- font-size: 12px;
499
-
500
- &::-webkit-input-placeholder {
501
- font-size: 12px;
260
+ .es-login-title-content {
261
+ padding: 0 10px;
502
262
  }
503
263
  }
504
-
505
- .el-input__prefix {
506
- left: 10px;
507
- line-height: 30px;
508
- }
509
-
510
- .es-label-user {
511
- font-size: 14px;
512
- }
513
-
514
- .es-label-password {
515
- font-size: 16px;
516
- top: 0;
264
+ }
265
+ .es-login-form {
266
+ height: 224px;
267
+ .el-form-item__content {
268
+ line-height: 32px;
517
269
  }
518
-
519
- .el-input__clear {
270
+ .el-input__inner {
271
+ height: 32px;
520
272
  font-size: 14px;
521
- line-height: 30px;
273
+ padding-left: 34px;
522
274
  }
523
-
524
- .es-label-code-image {
525
- font-size: 16px;
526
- line-height: 30px;
275
+ .el-input__prefix {
276
+ width: 32px;
277
+ padding-left: 5px;
278
+ line-height: 32px;
279
+ i {
280
+ line-height: 32px;
281
+ font-size: 14px;
282
+ }
527
283
  }
528
-
529
- .es-label-image-code {
530
- padding-right: 100px;
531
-
532
- .el-input__suffix {
533
- padding: 2px;
534
- .es-get-code {
535
- margin-top: -2px;
536
- margin-bottom: -2px;
537
- padding: 5px 6px;
538
- line-height: 18px;
539
- font-size: 12px;
540
- }
284
+ .el-input__suffix-inner {
285
+ height: 32px;
286
+ line-height: 32px;
287
+ .el-input__icon {
288
+ line-height: 32px;
289
+ font-size: 14px;
541
290
  }
542
-
543
291
  .es-img-code {
544
- height: 28px;
292
+ height: 30px;
293
+ }
294
+ .es-get-code {
295
+ width: 80px;
296
+ height: 32px;
297
+ line-height: 32px;
545
298
  }
546
299
  }
547
-
548
- .el-form-item__error {
549
- font-size: 11px;
550
- padding-top: 2px;
300
+ .es-button-submit {
301
+ height: 32px;
302
+ font-size: 14px;
303
+ line-height: 32px;
551
304
  }
305
+ .es-label-image-code {
306
+ padding-right: 80px;
307
+ }
308
+ }
309
+ .es-login-qrcode {
310
+ height: 224px;
311
+ .es-login-down-app {
312
+ font-size: 12px;
313
+ }
314
+ }
315
+ .es-password-handle {
316
+ height: 22px;
317
+ margin-bottom: 8px;
552
318
 
553
- .es-password-handle {
554
- margin-top: 0;
555
- margin-bottom: 14px;
556
-
557
- .el-checkbox__label {
558
- font-size: 12px;
559
- }
560
-
561
- .el-checkbox__input {
562
- .el-checkbox__inner {
563
- width: 14px;
564
- height: 14px;
565
- top: 1px;
566
- padding-left: 6px;
319
+ .el-checkbox__label {
320
+ font-size: 14px;
321
+ padding-left: 6px;
322
+ }
567
323
 
568
- &::after {
569
- left: 4px;
570
- top: 0px;
571
- }
572
- }
324
+ .el-checkbox__input {
325
+ .el-checkbox__inner {
326
+ width: 16px;
327
+ height: 16px;
328
+ border-radius: 10px;
573
329
 
574
- &.is-checked {
575
- .el-checkbox__inner::after {
576
- transform: rotate(45deg) scaleY(0.9);
577
- }
330
+ &::after {
331
+ height: 6px;
332
+ left: 5px;
333
+ top: 2px;
578
334
  }
579
335
  }
580
-
581
- .es-password-forget {
582
- font-size: 12px;
583
- }
584
336
  }
585
337
 
586
- .extra {
587
- margin-top: 20px;
588
- display: flex;
589
- justify-content: space-between;
590
-
591
- span {
592
- cursor: pointer;
338
+ .es-password-forget {
339
+ font-size: 14px;
340
+ }
341
+ }
342
+ .es-login-complex-app {
343
+ .es-login-complex-scan {
344
+ padding-right: 16px;
345
+ .es-icon-scan {
346
+ font-size: 22px;
347
+ }
348
+ .es-login-complex-scan-tips {
349
+ line-height: 14px;
593
350
  font-size: 12px;
594
- color: #12278b;
595
351
  }
596
352
  }
597
-
598
- .es-button-submit {
599
- height: 30px;
353
+ .es-login-complex-download {
354
+ margin-left: 16px;
600
355
  line-height: 30px;
601
- font-size: 12px;
602
- padding: 0 8px;
603
- border-radius: 8px;
604
356
  }
605
- &.es-login-verify {
606
- .es-login-title {
607
- margin-bottom: 38px;
357
+ }
358
+ .es-to-login {
359
+ margin-right: -30px;
360
+ font-size: 14px;
361
+ padding-top: 8px;
362
+ }
363
+ }
364
+ }
365
+ @mixin loginMini {
366
+ .es-login {
367
+ .es-login-main {
368
+ padding: 30px 40px;
369
+ &.es-complex {
370
+ padding: 40px 40px 10px 40px;
371
+ }
372
+ }
373
+ .es-login-name {
374
+ margin-bottom: 8px;
375
+ }
376
+ .es-login-model {
377
+ .es-icon-box {
378
+ width: 32px;
379
+ height: 32px;
380
+ &::after {
381
+ border-width: 17px;
382
+ }
383
+ .es-icon {
384
+ font-size: 30px;
385
+ }
386
+ }
387
+ }
388
+ .es-login-models {
389
+ padding-top: 12px;
390
+ bottom: 10px;
391
+ .es-icon-box {
392
+ & + .es-icon-box {
393
+ margin-left: 12px;
608
394
  }
609
- .el-form-item {
610
- margin-bottom: 30px;
395
+ }
396
+ .es-icon {
397
+ font-size: 18px;
398
+ }
399
+ }
400
+ .es-login-complex-title {
401
+ height: 10px;
402
+ font-size: 14px;
403
+ line-height: 14px;
404
+ }
405
+ .es-login-complex-models {
406
+ height: 24px;
407
+ line-height: 24px;
408
+ margin-bottom: 4px;
409
+ .es-login-complex-models-item {
410
+ padding: 0 4px;
411
+ font-size: 12px;
412
+ & + .es-login-complex-models-item {
413
+ margin-left: 12px;
611
414
  }
612
415
  }
613
416
  }
614
-
417
+ .es-login-title {
418
+ font-size: 14px;
419
+ line-height: 14px;
420
+ padding-bottom: 10px;
421
+ .es-login-title-content {
422
+ margin: 0 24px;
423
+ }
424
+ &.es-login-title-complex {
425
+ height: 24px;
426
+ font-size: 14px;
427
+ line-height: 24px;
428
+ .es-login-title-content {
429
+ padding: 0 10px;
430
+ }
431
+ }
432
+ }
433
+ .es-login-form {
434
+ height: 210px;
435
+ .el-input__inner {
436
+ font-size: 12px;
437
+ }
438
+ }
615
439
  .es-login-qrcode {
616
- .es-login-down-app {
617
- font-size: 11px;
618
- .es-login-app-name {
619
- padding: 0;
440
+ height: 210px;
441
+ }
442
+ .es-password-handle {
443
+ .el-checkbox__label {
444
+ font-size: 12px;
445
+ }
446
+
447
+ .el-checkbox__input {
448
+ .el-checkbox__inner {
449
+ width: 14px;
450
+ height: 14px;
451
+ ß &::after {
452
+ height: 6px;
453
+ left: 4px;
454
+ top: 1px;
455
+ }
620
456
  }
621
457
  }
622
- .es-login-title {
623
- margin-bottom: 10px;
458
+
459
+ .es-password-forget {
460
+ font-size: 12px;
461
+ }
462
+ }
463
+ .es-login-complex-app {
464
+ .es-login-complex-scan {
465
+ padding-right: 12px;
466
+ .es-icon-scan {
467
+ font-size: 22px;
468
+ }
469
+ .es-login-complex-scan-tips {
470
+ line-height: 14px;
471
+ font-size: 12px;
472
+ }
624
473
  }
625
- .es-qrcode-box,
626
- .es-wx-qrcode-box {
627
- height: 206px;
628
- padding-top: 12px;
629
- padding-bottom: 12px;
474
+ .es-login-complex-download {
475
+ margin-left: 12px;
476
+ line-height: 28px;
477
+ font-size: 12px;
630
478
  }
631
479
  }
480
+ .es-to-login {
481
+ margin-right: -20px;
482
+ font-size: 14px;
483
+ padding-top: 4px;
484
+ }
632
485
  }
633
486
  }
634
487
  .es-login-screen {
@@ -649,290 +502,227 @@
649
502
  .es-login {
650
503
  width: $--login-width;
651
504
  position: absolute;
652
- padding: 0 12px;
653
- .es-login-name {
654
- display: block;
655
- margin-bottom: 56px;
656
- position: relative;
657
- left: 50%;
658
- transform: translateX(-50%);
659
- }
660
505
  .es-login-main {
661
- padding: $--login-padding;
506
+ padding: 50px 70px;
662
507
  position: relative;
663
508
  border-radius: 20px;
664
509
  background-size: 100% 100%;
665
510
  background-color: #ffffff;
666
511
  background-repeat: no-repeat;
667
512
  box-shadow: $--box-shadow-light;
668
- .es-login-title-image {
669
- margin: -60px -70px 22px -70px;
670
- border-radius: 20px 20px 0 0;
671
- overflow: hidden;
672
- & + .es-login-form-box .es-login-verify {
673
- padding-top: 30px;
674
- }
675
- .es-login-title-img {
676
- width: 100%;
677
- }
513
+ &.es-complex {
514
+ padding: 70px 70px 30px 70px;
678
515
  }
679
- .es-login-switch {
680
- position: absolute;
681
- right: 10px;
682
- top: 10px;
683
- overflow: hidden;
684
- z-index: 99;
516
+ }
517
+ .es-login-name {
518
+ margin-bottom: 20px;
519
+ position: relative;
520
+ left: 50%;
521
+ transform: translateX(-50%);
522
+ }
523
+ .es-login-model {
524
+ position: absolute;
525
+ right: 10px;
526
+ top: 10px;
527
+ z-index: 99;
528
+ .es-icon-box {
529
+ display: block;
530
+ width: 50px;
531
+ height: 50px;
532
+ cursor: pointer;
533
+ position: relative;
534
+ padding: 1px;
535
+ &::after {
536
+ content: '';
537
+ position: absolute;
538
+ left: 0;
539
+ top: 0;
540
+ right: 0;
541
+ bottom: 0;
542
+ border-color: transparent transparent #fff #fff;
543
+ border-style: solid;
544
+ border-width: 28px;
545
+ }
685
546
  .es-icon {
686
- display: block;
687
- width: 60px;
688
- height: 60px;
689
- font-size: 60px;
547
+ font-size: 48px;
690
548
  color: $--color-primary;
691
- cursor: pointer;
692
- position: relative;
693
- overflow: hidden;
694
- &::after {
695
- content: '';
696
- position: absolute;
697
- left: -2px;
698
- top: -2px;
699
- right: -2px;
700
- bottom: -2px;
701
- border-color: transparent transparent #fff #fff;
702
- border-style: solid;
703
- border-width: 34px;
704
- }
705
549
  }
706
550
  }
707
- .es-login-switchs {
708
- position: absolute;
709
- bottom: 0;
710
- left: 0;
711
- right: 0;
551
+ .es-login-model-tips {
552
+ width: 128px;
553
+ height: 40px;
554
+ padding: 8px 10px 8px 6px;
555
+ line-height: 24px;
712
556
  text-align: center;
713
- padding-bottom: 10px;
714
- color: #d9d9d9;
715
- z-index: 99;
716
- .es-icon {
717
- font-size: 24px;
718
- cursor: pointer;
719
- & + .es-icon {
720
- margin-left: 12px;
721
- }
722
- &.es-icon-active {
723
- color: $--color-primary-light-6;
724
- }
725
- }
557
+ color: #d4815e;
558
+ background-repeat: no-repeat;
559
+ background-size: 100% 100%;
560
+ position: absolute;
561
+ right: 60px;
562
+ top: 10px;
726
563
  }
727
- .es-downloadSetup {
728
- font-size: $--font-size-base;
729
- text-align: center;
730
- line-height: 18px;
731
- padding-bottom: 6px;
732
- span {
733
- cursor: pointer;
734
- color: #333333;
735
- &:hover {
736
- color: #f9d900;
737
- }
738
- }
739
- &:last-child {
740
- padding-bottom: 0;
564
+ }
565
+ .es-login-models {
566
+ text-align: center;
567
+ color: #d9d9d9;
568
+ padding-top: 12px;
569
+ position: absolute;
570
+ left: 0;
571
+ right: 0;
572
+ bottom: 10px;
573
+ .es-icon-box {
574
+ & + .es-icon-box {
575
+ margin-left: 12px;
576
+ }
577
+ &.es-icon-active {
578
+ color: $--color-primary-light-6;
741
579
  }
742
580
  }
743
- .es-warning {
744
- color: #a90404;
745
- line-height: 18px;
746
- font-size: $--font-size-base;
747
- text-align: center;
581
+ .es-icon {
582
+ font-size: 24px;
583
+ cursor: pointer;
748
584
  }
749
- &.es-switchs {
750
- padding: 40px 70px;
751
- .es-login-title-image {
752
- margin: -40px -70px 22px -70px;
585
+ }
586
+ .es-login-complex-title {
587
+ height: 22px;
588
+ font-size: 22px;
589
+ font-family: 'zihun';
590
+ font-weight: normal;
591
+ color: $--color-primary;
592
+ line-height: 22px;
593
+ transform: translateY(-20px);
594
+ }
595
+ .es-login-complex-models {
596
+ display: flex;
597
+ height: 40px;
598
+ line-height: 40px;
599
+ margin-bottom: 18px;
600
+ .es-login-complex-models-item {
601
+ min-width: 64px;
602
+ padding: 0 13px;
603
+ font-size: 18px;
604
+ color: #939393;
605
+ text-align: center;
606
+ cursor: pointer;
607
+ & + .es-login-complex-models-item {
608
+ margin-left: 30px;
753
609
  }
754
- .es-login-title {
755
- margin-bottom: 38px;
610
+ &.es-active {
611
+ color: $--color-primary;
612
+ border-bottom: 1px solid $--color-primary;
756
613
  }
757
614
  }
615
+ &.es-complex-title {
616
+ justify-content: center;
617
+ }
758
618
  }
759
-
760
619
  .es-login-title {
761
- color: $--color-primary-light-6;
620
+ color: $--color-primary;
762
621
  display: flex;
763
622
  align-items: center;
764
- height: 24px;
765
623
  font-size: 24px;
766
624
  line-height: 24px;
767
625
  font-weight: bold;
768
- margin-bottom: 38px;
769
626
  position: relative;
627
+ padding-bottom: 30px;
770
628
 
771
- &::before,
772
- &::after {
629
+ &:not(.es-login-title-complex)::before,
630
+ &:not(.es-login-title-complex)::after {
773
631
  content: '';
774
632
  height: 1px;
775
633
  flex: 1;
776
634
  background-color: #eeeeee;
777
635
  }
778
-
779
636
  .es-login-title-content {
780
637
  margin: 0 24px;
781
638
  }
639
+ &.es-login-title-complex {
640
+ justify-content: center;
641
+ height: 40px;
642
+ font-size: 16px;
643
+ line-height: 40px;
644
+ .es-login-title-content {
645
+ padding: 0 12px;
646
+ border-bottom: 2px solid $--color-primary;
647
+ }
648
+ }
782
649
  }
783
650
  .es-login-form {
784
- border-radius: 20px;
785
- background-color: rgba($color: #ffffff, $alpha: 0.3);
786
- position: relative;
787
- padding-bottom: 20px;
788
-
789
- .el-form-item {
790
- margin-bottom: 32px;
791
- }
792
-
651
+ height: 340px;
652
+ display: flex;
653
+ flex-direction: column;
654
+ justify-content: space-around;
793
655
  .el-form-item__content {
794
- line-height: normal;
795
- }
796
-
797
- .el-form-item__error {
798
- font-size: 14px;
656
+ line-height: 50px;
799
657
  }
800
-
801
- .el-input__clear {
802
- font-size: 18px;
658
+ .el-form-item {
659
+ margin-bottom: 0;
803
660
  }
804
-
805
661
  .el-input__inner {
806
662
  height: 50px;
807
- line-height: 50px;
808
663
  font-size: 18px;
809
664
  background-color: #f7f7f7;
810
- border-radius: 10px;
811
- padding-left: 50px;
812
- &::-webkit-input-placeholder {
813
- font-size: 16px;
814
- }
815
- &:-moz-placeholder {
816
- font-size: 16px;
817
- }
818
- &::-moz-placeholder {
819
- font-size: 16px;
820
- }
821
- &:-ms-input-placeholder {
822
- font-size: 16px;
823
- }
665
+ border-radius: $--login-form-radius;
666
+ padding-left: 52px;
824
667
  }
825
-
826
668
  .el-input__prefix {
827
- left: 20px;
669
+ width: 48px;
670
+ left: 0;
671
+ padding-left: 6px;
828
672
  line-height: 50px;
673
+ i {
674
+ line-height: 50px;
675
+ font-size: 18px;
676
+ color: #333;
677
+ }
829
678
  }
830
- .el-input__suffix {
679
+ .el-input__suffix-inner {
680
+ display: block;
681
+ height: 50px;
831
682
  line-height: 50px;
832
683
  .el-input__icon {
833
684
  line-height: 50px;
685
+ font-size: 18px;
834
686
  }
835
- }
836
-
837
- .es-label-user {
838
- font-size: 18px;
839
- color: #333333;
840
- }
841
-
842
- .es-label-password {
843
- font-size: 22px;
844
- color: #333333;
845
- position: relative;
846
- top: 2px;
847
- }
848
-
849
- .es-label-image-code {
850
- padding-right: 120px;
851
-
852
- .el-input__suffix {
853
- padding: 5px;
854
- right: 0;
855
- }
856
-
857
687
  .es-img-code {
858
688
  cursor: pointer;
689
+ height: 46px;
690
+ margin: 2px;
859
691
  }
860
692
  .es-get-code {
861
- margin-top: -5px;
862
- margin-bottom: -5px;
863
- line-height: 32px;
864
- font-size: 16px;
865
- padding: 8px 16px;
866
- }
867
- }
868
-
869
- .es-label-code-image {
870
- font-size: 20px;
871
- color: #333333;
872
- line-height: 50px;
873
- }
874
-
875
- .es-password-handle {
876
- height: 22px;
877
- justify-content: space-between;
878
- margin-top: -8px;
879
- margin-bottom: 30px;
880
-
881
- .el-checkbox__label {
882
- font-size: 16px;
883
- font-weight: 400;
884
- color: #333333 !important;
885
- }
886
-
887
- .el-checkbox__input {
888
- .el-checkbox__inner {
889
- width: 18px;
890
- height: 18px;
891
- border-radius: 10px;
892
-
893
- &::after {
894
- border: 2px solid #ffffff;
895
- border-left: 0;
896
- border-top: 0;
897
- height: 8px;
898
- left: 6px;
899
- top: 2px;
900
- }
901
- }
902
- }
903
-
904
- .es-password-forget {
905
- font-size: 16px;
906
- color: #999999;
907
- text-align: right;
908
- float: right;
909
- cursor: pointer;
693
+ width: 115px;
694
+ height: 50px;
695
+ text-align: center;
696
+ padding: 0;
697
+ line-height: 50px;
910
698
  }
911
699
  }
912
-
913
700
  .es-button-submit {
914
701
  width: 100%;
915
702
  height: 50px;
916
703
  font-size: 20px;
704
+ text-align: center;
705
+ line-height: 50px;
917
706
  font-weight: 500;
918
- border-radius: 10px;
707
+ border-radius: $--login-form-radius;
708
+ padding: 0;
919
709
  }
920
- &.es-login-verify {
921
- &.es-login-Title-img {
922
- padding-top: 30px;
923
- }
924
- .es-login-title {
925
- margin-bottom: 68px;
926
- }
927
- .el-form-item {
928
- margin-bottom: 58px;
710
+ .es-label-image-code {
711
+ padding-right: 120px;
712
+ .el-input__suffix {
713
+ right: 0;
929
714
  }
930
715
  }
931
- .el-autocomplete {
932
- width: 100%;
933
- }
934
716
  }
935
717
  .es-login-qrcode {
718
+ height: 340px;
719
+ display: flex;
720
+ flex-direction: column;
721
+ justify-content: space-around;
722
+ .es-login-qrcode-box {
723
+ flex: 1;
724
+ position: relative;
725
+ }
936
726
  .es-login-down-app {
937
727
  font-size: $--font-size-base;
938
728
  font-weight: normal;
@@ -945,39 +735,92 @@
945
735
  }
946
736
  .es-qrcode-box,
947
737
  .es-wx-qrcode-box {
948
- height: 340px;
949
- padding-top: 20px;
950
- padding-bottom: 20px;
738
+ position: absolute;
739
+ left: 0;
740
+ top: 0;
741
+ right: 0;
742
+ bottom: 0;
743
+ }
744
+ }
745
+ .es-password-handle {
746
+ height: 22px;
747
+ justify-content: space-between;
748
+ margin-bottom: 22px;
749
+
750
+ .el-checkbox__label {
751
+ font-size: 16px;
752
+ font-weight: 400;
753
+ color: #333333 !important;
754
+ }
755
+
756
+ .el-checkbox__input {
757
+ .el-checkbox__inner {
758
+ width: 18px;
759
+ height: 18px;
760
+ border-radius: 10px;
761
+
762
+ &::after {
763
+ border: 2px solid #ffffff;
764
+ border-left: 0;
765
+ border-top: 0;
766
+ height: 8px;
767
+ left: 6px;
768
+ top: 2px;
769
+ }
770
+ }
771
+ }
772
+
773
+ .es-password-forget {
774
+ font-size: 16px;
775
+ color: #999999;
776
+ text-align: right;
777
+ float: right;
778
+ cursor: pointer;
951
779
  }
952
- .es-qrcode-img {
953
- border: $--border-base;
780
+ }
781
+ .es-login-complex-app {
782
+ display: flex;
783
+ align-items: center;
784
+ justify-content: center;
785
+ .es-login-complex-scan {
786
+ display: flex;
787
+ align-items: center;
788
+ justify-content: center;
789
+ color: #666;
790
+ padding-right: 16px;
791
+ border-right: 1px solid #ccc;
792
+ .es-icon-scan {
793
+ font-size: 34px;
794
+ color: #97a1c3;
795
+ margin-right: 3px;
796
+ }
797
+ .es-login-complex-scan-tips {
798
+ line-height: 20px;
799
+ }
800
+ }
801
+ .es-login-complex-download {
802
+ margin-left: 16px;
803
+ line-height: 40px;
804
+ .es-login-app-name {
805
+ color: $--color-primary;
806
+ font-weight: bold;
807
+ }
954
808
  }
955
809
  }
810
+ .es-to-login {
811
+ text-align: right;
812
+ margin-right: -45px;
813
+ font-size: 20px;
814
+ color: $--color-primary;
815
+ padding-top: 20px;
816
+ }
956
817
  &.es-simple {
957
818
  .es-login-form {
958
819
  .el-input__inner {
959
820
  border-width: 0 0 1px 0;
960
821
  border-radius: 0;
961
822
  background-color: #fff;
962
- padding-left: 32px;
963
- padding-right: 16px;
964
823
  box-shadow: none;
965
- &::-webkit-input-placeholder {
966
- font-size: 16px;
967
- color: #999999;
968
- }
969
- &:-moz-placeholder {
970
- font-size: 16px;
971
- color: #999999;
972
- }
973
- &::-moz-placeholder {
974
- font-size: 16px;
975
- color: #999999;
976
- }
977
- &:-ms-input-placeholder {
978
- font-size: 16px;
979
- color: #999999;
980
- }
981
824
  }
982
825
  }
983
826
 
@@ -985,6 +828,9 @@
985
828
  left: 0;
986
829
  }
987
830
  }
831
+ .es-downloadSetup {
832
+ height: 20px;
833
+ }
988
834
  }
989
835
  &.es-login-medium {
990
836
  @include loginMedium;