@lingxiteam/assets 1.0.11-alpha.31 → 1.0.11-alpha.32

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 (36) hide show
  1. package/README.md +2 -2
  2. package/es/error/errorDisplay/Mobile/Drawer/Drawer.less +201 -201
  3. package/es/error/errorDisplay/Mobile/Modal/Modal.less +146 -146
  4. package/es/error/errorDisplay/Web/Drawer/Drawer.less +445 -445
  5. package/es/error/errorDisplay/Web/Notification/Notification.less +148 -148
  6. package/es/error/errorDisplay/animation.less +112 -112
  7. package/es/rootConfig/mobile/BusiComp.js +1 -1
  8. package/es/rootConfig/mobile/MobileModal.d.ts +8 -0
  9. package/es/rootConfig/mobile/MobileModal.js +8 -0
  10. package/es/rootConfig/mobile/page.d.ts +8 -0
  11. package/es/rootConfig/mobile/page.js +8 -0
  12. package/es/rootConfig/pc/BusiComp.js +1 -1
  13. package/es/rootConfig/pc/page.d.ts +8 -0
  14. package/es/rootConfig/pc/page.js +8 -0
  15. package/es/security/httpEncryption.js +4 -4
  16. package/es/svg/check.svg +9 -9
  17. package/es/svg/normal-check.svg +9 -9
  18. package/es/svg/webViewError.svg +40 -40
  19. package/lib/error/errorDisplay/Mobile/Drawer/Drawer.less +201 -201
  20. package/lib/error/errorDisplay/Mobile/Modal/Modal.less +146 -146
  21. package/lib/error/errorDisplay/Web/Drawer/Drawer.less +445 -445
  22. package/lib/error/errorDisplay/Web/Notification/Notification.less +148 -148
  23. package/lib/error/errorDisplay/animation.less +112 -112
  24. package/lib/rootConfig/mobile/BusiComp.js +1 -1
  25. package/lib/rootConfig/mobile/MobileModal.d.ts +8 -0
  26. package/lib/rootConfig/mobile/MobileModal.js +8 -0
  27. package/lib/rootConfig/mobile/page.d.ts +8 -0
  28. package/lib/rootConfig/mobile/page.js +8 -0
  29. package/lib/rootConfig/pc/BusiComp.js +1 -1
  30. package/lib/rootConfig/pc/page.d.ts +8 -0
  31. package/lib/rootConfig/pc/page.js +8 -0
  32. package/lib/security/httpEncryption.js +4 -4
  33. package/lib/svg/check.svg +9 -9
  34. package/lib/svg/normal-check.svg +9 -9
  35. package/lib/svg/webViewError.svg +40 -40
  36. package/package.json +44 -44
@@ -1,445 +1,445 @@
1
- @import url('../../animation.less');
2
-
3
- .lx-drawer {
4
- position: absolute;
5
- left: 0;
6
- top: 0;
7
- width: 100%;
8
- height: 100%;
9
- z-index: 99999;
10
- pointer-events: none;
11
- overflow: hidden;
12
-
13
- &.opening &-container {
14
- animation: lxMoveOpen 0.3s;
15
- }
16
-
17
- &.closeing &-container {
18
- animation: lxMoveClose 0.3s;
19
- animation-fill-mode: forwards;
20
- }
21
-
22
- &.opening &-mask {
23
- animation: lxFateIn 0.3s;
24
- animation-fill-mode: forwards;
25
- }
26
-
27
- &.opening &-mask {
28
- animation: lxFateOut 0.3s;
29
- animation-fill-mode: forwards;
30
- }
31
-
32
- &-mask {
33
- position: absolute;
34
- left: 0;
35
- top: 0;
36
- width: 100%;
37
- height: 100%;
38
- background: rgba(0, 0, 0, 0.45);
39
- overflow: hidden;
40
- pointer-events: auto;
41
- }
42
-
43
- &-container {
44
- position: absolute;
45
- right: 0;
46
- top: 0;
47
- width: 800px;
48
- height: 100%;
49
- background-color: #fff;
50
- display: flex;
51
- flex-direction: column;
52
- overflow: hidden;
53
- pointer-events: auto;
54
- transition: all 0.3s;
55
- }
56
-
57
- &-container.error &-head,
58
- &-container.red &-head {
59
- background-color: #fa7570;
60
- border-color: #fa7570;
61
- color: #fff;
62
- }
63
-
64
- &-container.error &-body {
65
- padding: 0;
66
- display: flex;
67
- flex-direction: column;
68
- overflow: hidden;
69
- }
70
-
71
- &-container.error &-code-desc {
72
- padding: 12px 20px;
73
- overflow-y: auto;
74
- flex: 1;
75
- font-size: 12px;
76
- color: rgba(28, 36, 46, 0.75);
77
- }
78
-
79
- &-container.purple &-head {
80
- background-color: #9747ff;
81
- border-color: #9747ff;
82
- color: #fff;
83
- }
84
-
85
- &-container.blue &-head {
86
- background-color: #47e;
87
- border-color: #47e;
88
- color: #fff;
89
- }
90
-
91
- &-head {
92
- display: flex;
93
- align-items: center;
94
- border-bottom: 1px solid #e7e8ea;
95
-
96
- &-title {
97
- flex: 1;
98
- }
99
-
100
- &-close {
101
- width: 16px;
102
- height: 16px;
103
- display: flex;
104
- vertical-align: middle;
105
- cursor: pointer;
106
- }
107
-
108
- &-title + &-extra {
109
- margin-left: 16px;
110
- }
111
- }
112
-
113
- &-head,
114
- &-body,
115
- &-footer {
116
- padding: 12px 20px;
117
- }
118
-
119
- &-body {
120
- color: rgba(28, 36, 46, 0.75);
121
- flex: 1;
122
- overflow-y: auto;
123
- cursor: default;
124
- }
125
-
126
- &-group {
127
- &-item + &-item {
128
- margin-top: 20px;
129
- }
130
-
131
- &-item-head {
132
- padding: 10px 12px;
133
- }
134
-
135
- &-item-body {
136
- padding: 16px 12px;
137
- }
138
-
139
- &-item-head {
140
- font-size: 16px;
141
- font-weight: 500;
142
- color: #1c242e;
143
- background-color: #f9f9f9;
144
- }
145
-
146
- &-item-body {
147
- font-size: 12px;
148
- color: rgba(28, 36, 46, 0.55);
149
- }
150
-
151
- &-article + &-article {
152
- margin-top: 20px;
153
- padding-top: 20px;
154
- border-top: 1px solid #f0f0f0;
155
- }
156
-
157
- &-article {
158
- color: rgba(28, 36, 46, 0.75);
159
-
160
- &-title {
161
- font-size: 13px;
162
- color: #1c242e;
163
- font-weight: 500;
164
- }
165
-
166
- &-author {
167
- font-size: 12px;
168
- color: rgba(28, 36, 46, 0.25);
169
- }
170
-
171
- &-content {
172
- color: rgba(28, 36, 46, 0.55);
173
- font-size: 12px;
174
- }
175
-
176
- &-author + &-content,
177
- &-title + &-content {
178
- margin-top: 8px;
179
- }
180
-
181
- &-extra {
182
- float: right;
183
- }
184
- }
185
- }
186
-
187
- &-code-tabs {
188
- flex: 1;
189
-
190
- &.full {
191
- height: 100%;
192
- flex: 2;
193
- display: flex;
194
- flex-direction: column;
195
- }
196
-
197
- &-head {
198
- position: relative;
199
- background-color: #fafafa;
200
- height: 40px;
201
- padding: 0 20px;
202
- display: flex;
203
- align-items: center;
204
-
205
- &-item {
206
- position: relative;
207
- color: rgba(28, 36, 46, 0.75);
208
- height: 40px;
209
- margin-right: 30px;
210
- text-align: center;
211
- line-height: 40px;
212
- cursor: pointer;
213
-
214
- &::before {
215
- content: '';
216
- position: absolute;
217
- bottom: 0;
218
- left: 50%;
219
- transform: translateX(-50%);
220
- width: 0;
221
- height: 2px;
222
- transition: all 0.3s;
223
- background-color: #47e;
224
- }
225
-
226
- &.active {
227
- color: #47e;
228
-
229
- &::before {
230
- width: 100%;
231
- }
232
- }
233
- }
234
- }
235
-
236
- &-control {
237
- position: absolute;
238
- left: 50%;
239
- top: -8px;
240
- cursor: pointer;
241
- transform: translateX(-50%);
242
- width: 64px;
243
- height: 16px;
244
- line-height: 16px;
245
- background: #e5e5e5;
246
- border-radius: 6px 6px 6px 6px;
247
- text-align: center;
248
- z-index: 2;
249
-
250
- &-icon {
251
- width: 12px;
252
- height: 12px;
253
- color: rgba(28, 36, 46, 0.25);
254
- display: inline-block;
255
- vertical-align: middle;
256
-
257
- &.flip {
258
- transform: rotate(-180deg);
259
- transition: all 0.3s;
260
- }
261
- }
262
- }
263
-
264
- &-body {
265
- padding: 16px 20px;
266
- overflow: auto;
267
-
268
- img {
269
- max-width: 100%;
270
- }
271
- }
272
- }
273
-
274
- &-err-item {
275
- background: #fafafa;
276
- padding: 8px 16px;
277
- border-radius: 4px;
278
- margin-bottom: 16px;
279
-
280
- &-head {
281
- display: flex;
282
- align-items: center;
283
-
284
- &-title {
285
- margin-right: 8px;
286
- }
287
-
288
- &-cell {
289
- flex: 1;
290
- }
291
-
292
- &-extra {
293
- margin-left: 8px;
294
- user-select: none;
295
- &-arrow {
296
- height: 12px;
297
- width: 12px;
298
- position: relative;
299
- top: -1px;
300
- left: 2px;
301
- transition: transform 0.3s;
302
- &.lx-icon-up {
303
- transform: rotate(-180deg);
304
- }
305
- }
306
- }
307
- }
308
-
309
- &.red &-head {
310
- &-title {
311
- color: #fa7570;
312
-
313
- a {
314
- color: #fa7570;
315
- }
316
- }
317
- }
318
-
319
- &.purple &-head {
320
- &-title {
321
- color: #9747ff;
322
-
323
- a {
324
- color: #9747ff;
325
- }
326
- }
327
- }
328
-
329
- &.blue &-head {
330
- &-title {
331
- color: #47e;
332
-
333
- a {
334
- color: #47e;
335
- }
336
- }
337
- }
338
-
339
- &-head + &-body {
340
- margin-top: 4px;
341
- }
342
-
343
- &-head {
344
- color: rgba(28, 36, 46, 0.75);
345
- }
346
-
347
- &-body {
348
- color: rgba(28, 36, 46, 0.75);
349
- &-subcontent {
350
- border-top: 1px solid #f0f0f0;
351
- margin-top: 6px;
352
- padding: 4px 0;
353
- animation: lxFadeIn .3s;
354
- }
355
- &-jump {
356
- font-size: 12px;
357
- animation: lxFadeIn .3s;
358
- }
359
- }
360
- }
361
-
362
- &-footer {
363
- text-align: right;
364
- border-top: 1px solid #e7e8ea;
365
- }
366
-
367
- &-empty {
368
- text-align: center;
369
- color: rgba(28, 36, 46, 0.45);
370
- }
371
-
372
- &-article {
373
- // 内置文章样式
374
- dt {
375
- margin-bottom: 6px;
376
- font-weight: 600;
377
- }
378
- li, p {
379
- line-height: 30px;
380
- padding: 2px 0;
381
- margin: 0;
382
- }
383
- section {
384
- padding: 6px;
385
- background-color: rgba(161, 161, 161, 0.15);
386
- border-radius: 4px;
387
- }
388
- }
389
-
390
- &-sub-title {
391
- background-color: rgba(28, 36, 46, 0.04);
392
- color: rgba(28, 36, 46, 0.55);
393
- height: 32px;
394
- line-height: 32px;
395
- padding: 0 16px;
396
- white-space: nowrap;
397
- text-overflow: ellipsis;
398
- overflow: hidden;
399
- font-size: 12px;
400
- }
401
-
402
- &-btn {
403
- display: inline-block;
404
- padding: 0 15px;
405
- border: 1px solid rgba(28, 36, 46, 0.15);
406
- border-radius: 4px;
407
- height: 32px;
408
- line-height: 30px;
409
- color: #1c242e;
410
- &:hover {
411
- border-color: rgb(112, 158, 250);
412
- color: rgb(112, 158, 250);
413
- }
414
- &-disabled {
415
- cursor: not-allowed;
416
- pointer-events: none;
417
- &,
418
- &:hover,
419
- &:focus,
420
- &:active {
421
- border-color: #e5e5e5 !important;
422
- color: rgba(28,36,46,0.65) !important;
423
- background-color: #e5e5e5 !important;
424
- opacity: 1;
425
- }
426
- }
427
- }
428
-
429
- &-btn&-btn-primary {
430
- color: rgb(68, 119, 238);
431
- background-color: rgb(68, 119, 238);
432
- &,
433
- &:hover {
434
- color: white;
435
- }
436
- &:hover {
437
- border-color: rgb(112, 158, 250);
438
- background-color: rgb(112, 158, 250);
439
- }
440
- }
441
-
442
- &-footer &-btn {
443
- margin-left: 8px;
444
- }
445
- }
1
+ @import url('../../animation.less');
2
+
3
+ .lx-drawer {
4
+ position: absolute;
5
+ left: 0;
6
+ top: 0;
7
+ width: 100%;
8
+ height: 100%;
9
+ z-index: 99999;
10
+ pointer-events: none;
11
+ overflow: hidden;
12
+
13
+ &.opening &-container {
14
+ animation: lxMoveOpen 0.3s;
15
+ }
16
+
17
+ &.closeing &-container {
18
+ animation: lxMoveClose 0.3s;
19
+ animation-fill-mode: forwards;
20
+ }
21
+
22
+ &.opening &-mask {
23
+ animation: lxFateIn 0.3s;
24
+ animation-fill-mode: forwards;
25
+ }
26
+
27
+ &.opening &-mask {
28
+ animation: lxFateOut 0.3s;
29
+ animation-fill-mode: forwards;
30
+ }
31
+
32
+ &-mask {
33
+ position: absolute;
34
+ left: 0;
35
+ top: 0;
36
+ width: 100%;
37
+ height: 100%;
38
+ background: rgba(0, 0, 0, 0.45);
39
+ overflow: hidden;
40
+ pointer-events: auto;
41
+ }
42
+
43
+ &-container {
44
+ position: absolute;
45
+ right: 0;
46
+ top: 0;
47
+ width: 800px;
48
+ height: 100%;
49
+ background-color: #fff;
50
+ display: flex;
51
+ flex-direction: column;
52
+ overflow: hidden;
53
+ pointer-events: auto;
54
+ transition: all 0.3s;
55
+ }
56
+
57
+ &-container.error &-head,
58
+ &-container.red &-head {
59
+ background-color: #fa7570;
60
+ border-color: #fa7570;
61
+ color: #fff;
62
+ }
63
+
64
+ &-container.error &-body {
65
+ padding: 0;
66
+ display: flex;
67
+ flex-direction: column;
68
+ overflow: hidden;
69
+ }
70
+
71
+ &-container.error &-code-desc {
72
+ padding: 12px 20px;
73
+ overflow-y: auto;
74
+ flex: 1;
75
+ font-size: 12px;
76
+ color: rgba(28, 36, 46, 0.75);
77
+ }
78
+
79
+ &-container.purple &-head {
80
+ background-color: #9747ff;
81
+ border-color: #9747ff;
82
+ color: #fff;
83
+ }
84
+
85
+ &-container.blue &-head {
86
+ background-color: #47e;
87
+ border-color: #47e;
88
+ color: #fff;
89
+ }
90
+
91
+ &-head {
92
+ display: flex;
93
+ align-items: center;
94
+ border-bottom: 1px solid #e7e8ea;
95
+
96
+ &-title {
97
+ flex: 1;
98
+ }
99
+
100
+ &-close {
101
+ width: 16px;
102
+ height: 16px;
103
+ display: flex;
104
+ vertical-align: middle;
105
+ cursor: pointer;
106
+ }
107
+
108
+ &-title + &-extra {
109
+ margin-left: 16px;
110
+ }
111
+ }
112
+
113
+ &-head,
114
+ &-body,
115
+ &-footer {
116
+ padding: 12px 20px;
117
+ }
118
+
119
+ &-body {
120
+ color: rgba(28, 36, 46, 0.75);
121
+ flex: 1;
122
+ overflow-y: auto;
123
+ cursor: default;
124
+ }
125
+
126
+ &-group {
127
+ &-item + &-item {
128
+ margin-top: 20px;
129
+ }
130
+
131
+ &-item-head {
132
+ padding: 10px 12px;
133
+ }
134
+
135
+ &-item-body {
136
+ padding: 16px 12px;
137
+ }
138
+
139
+ &-item-head {
140
+ font-size: 16px;
141
+ font-weight: 500;
142
+ color: #1c242e;
143
+ background-color: #f9f9f9;
144
+ }
145
+
146
+ &-item-body {
147
+ font-size: 12px;
148
+ color: rgba(28, 36, 46, 0.55);
149
+ }
150
+
151
+ &-article + &-article {
152
+ margin-top: 20px;
153
+ padding-top: 20px;
154
+ border-top: 1px solid #f0f0f0;
155
+ }
156
+
157
+ &-article {
158
+ color: rgba(28, 36, 46, 0.75);
159
+
160
+ &-title {
161
+ font-size: 13px;
162
+ color: #1c242e;
163
+ font-weight: 500;
164
+ }
165
+
166
+ &-author {
167
+ font-size: 12px;
168
+ color: rgba(28, 36, 46, 0.25);
169
+ }
170
+
171
+ &-content {
172
+ color: rgba(28, 36, 46, 0.55);
173
+ font-size: 12px;
174
+ }
175
+
176
+ &-author + &-content,
177
+ &-title + &-content {
178
+ margin-top: 8px;
179
+ }
180
+
181
+ &-extra {
182
+ float: right;
183
+ }
184
+ }
185
+ }
186
+
187
+ &-code-tabs {
188
+ flex: 1;
189
+
190
+ &.full {
191
+ height: 100%;
192
+ flex: 2;
193
+ display: flex;
194
+ flex-direction: column;
195
+ }
196
+
197
+ &-head {
198
+ position: relative;
199
+ background-color: #fafafa;
200
+ height: 40px;
201
+ padding: 0 20px;
202
+ display: flex;
203
+ align-items: center;
204
+
205
+ &-item {
206
+ position: relative;
207
+ color: rgba(28, 36, 46, 0.75);
208
+ height: 40px;
209
+ margin-right: 30px;
210
+ text-align: center;
211
+ line-height: 40px;
212
+ cursor: pointer;
213
+
214
+ &::before {
215
+ content: '';
216
+ position: absolute;
217
+ bottom: 0;
218
+ left: 50%;
219
+ transform: translateX(-50%);
220
+ width: 0;
221
+ height: 2px;
222
+ transition: all 0.3s;
223
+ background-color: #47e;
224
+ }
225
+
226
+ &.active {
227
+ color: #47e;
228
+
229
+ &::before {
230
+ width: 100%;
231
+ }
232
+ }
233
+ }
234
+ }
235
+
236
+ &-control {
237
+ position: absolute;
238
+ left: 50%;
239
+ top: -8px;
240
+ cursor: pointer;
241
+ transform: translateX(-50%);
242
+ width: 64px;
243
+ height: 16px;
244
+ line-height: 16px;
245
+ background: #e5e5e5;
246
+ border-radius: 6px 6px 6px 6px;
247
+ text-align: center;
248
+ z-index: 2;
249
+
250
+ &-icon {
251
+ width: 12px;
252
+ height: 12px;
253
+ color: rgba(28, 36, 46, 0.25);
254
+ display: inline-block;
255
+ vertical-align: middle;
256
+
257
+ &.flip {
258
+ transform: rotate(-180deg);
259
+ transition: all 0.3s;
260
+ }
261
+ }
262
+ }
263
+
264
+ &-body {
265
+ padding: 16px 20px;
266
+ overflow: auto;
267
+
268
+ img {
269
+ max-width: 100%;
270
+ }
271
+ }
272
+ }
273
+
274
+ &-err-item {
275
+ background: #fafafa;
276
+ padding: 8px 16px;
277
+ border-radius: 4px;
278
+ margin-bottom: 16px;
279
+
280
+ &-head {
281
+ display: flex;
282
+ align-items: center;
283
+
284
+ &-title {
285
+ margin-right: 8px;
286
+ }
287
+
288
+ &-cell {
289
+ flex: 1;
290
+ }
291
+
292
+ &-extra {
293
+ margin-left: 8px;
294
+ user-select: none;
295
+ &-arrow {
296
+ height: 12px;
297
+ width: 12px;
298
+ position: relative;
299
+ top: -1px;
300
+ left: 2px;
301
+ transition: transform 0.3s;
302
+ &.lx-icon-up {
303
+ transform: rotate(-180deg);
304
+ }
305
+ }
306
+ }
307
+ }
308
+
309
+ &.red &-head {
310
+ &-title {
311
+ color: #fa7570;
312
+
313
+ a {
314
+ color: #fa7570;
315
+ }
316
+ }
317
+ }
318
+
319
+ &.purple &-head {
320
+ &-title {
321
+ color: #9747ff;
322
+
323
+ a {
324
+ color: #9747ff;
325
+ }
326
+ }
327
+ }
328
+
329
+ &.blue &-head {
330
+ &-title {
331
+ color: #47e;
332
+
333
+ a {
334
+ color: #47e;
335
+ }
336
+ }
337
+ }
338
+
339
+ &-head + &-body {
340
+ margin-top: 4px;
341
+ }
342
+
343
+ &-head {
344
+ color: rgba(28, 36, 46, 0.75);
345
+ }
346
+
347
+ &-body {
348
+ color: rgba(28, 36, 46, 0.75);
349
+ &-subcontent {
350
+ border-top: 1px solid #f0f0f0;
351
+ margin-top: 6px;
352
+ padding: 4px 0;
353
+ animation: lxFadeIn .3s;
354
+ }
355
+ &-jump {
356
+ font-size: 12px;
357
+ animation: lxFadeIn .3s;
358
+ }
359
+ }
360
+ }
361
+
362
+ &-footer {
363
+ text-align: right;
364
+ border-top: 1px solid #e7e8ea;
365
+ }
366
+
367
+ &-empty {
368
+ text-align: center;
369
+ color: rgba(28, 36, 46, 0.45);
370
+ }
371
+
372
+ &-article {
373
+ // 内置文章样式
374
+ dt {
375
+ margin-bottom: 6px;
376
+ font-weight: 600;
377
+ }
378
+ li, p {
379
+ line-height: 30px;
380
+ padding: 2px 0;
381
+ margin: 0;
382
+ }
383
+ section {
384
+ padding: 6px;
385
+ background-color: rgba(161, 161, 161, 0.15);
386
+ border-radius: 4px;
387
+ }
388
+ }
389
+
390
+ &-sub-title {
391
+ background-color: rgba(28, 36, 46, 0.04);
392
+ color: rgba(28, 36, 46, 0.55);
393
+ height: 32px;
394
+ line-height: 32px;
395
+ padding: 0 16px;
396
+ white-space: nowrap;
397
+ text-overflow: ellipsis;
398
+ overflow: hidden;
399
+ font-size: 12px;
400
+ }
401
+
402
+ &-btn {
403
+ display: inline-block;
404
+ padding: 0 15px;
405
+ border: 1px solid rgba(28, 36, 46, 0.15);
406
+ border-radius: 4px;
407
+ height: 32px;
408
+ line-height: 30px;
409
+ color: #1c242e;
410
+ &:hover {
411
+ border-color: rgb(112, 158, 250);
412
+ color: rgb(112, 158, 250);
413
+ }
414
+ &-disabled {
415
+ cursor: not-allowed;
416
+ pointer-events: none;
417
+ &,
418
+ &:hover,
419
+ &:focus,
420
+ &:active {
421
+ border-color: #e5e5e5 !important;
422
+ color: rgba(28,36,46,0.65) !important;
423
+ background-color: #e5e5e5 !important;
424
+ opacity: 1;
425
+ }
426
+ }
427
+ }
428
+
429
+ &-btn&-btn-primary {
430
+ color: rgb(68, 119, 238);
431
+ background-color: rgb(68, 119, 238);
432
+ &,
433
+ &:hover {
434
+ color: white;
435
+ }
436
+ &:hover {
437
+ border-color: rgb(112, 158, 250);
438
+ background-color: rgb(112, 158, 250);
439
+ }
440
+ }
441
+
442
+ &-footer &-btn {
443
+ margin-left: 8px;
444
+ }
445
+ }