@yeepay/fmc-material 0.0.4 → 0.0.6-beta.0

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.
@@ -0,0 +1,35 @@
1
+ .yee-beneficiary-wrapper {
2
+ width: 100%;
3
+ .beneficiary {
4
+ background: #FFFFFF;
5
+ border-radius: 8px;
6
+ padding: 24px;
7
+ .header {
8
+ margin-bottom: 20px;
9
+ display: flex;
10
+ align-items: center;
11
+ .title {
12
+ font-weight: 500;
13
+ font-size: 16px;
14
+ color: #333333;
15
+ line-height: 24px;
16
+ margin-right: 12px;
17
+ }
18
+ .desc {
19
+ font-weight: 400;
20
+ font-size: 12px;
21
+ color: #999999;
22
+ line-height: 24px;
23
+ }
24
+ }
25
+ .footer {
26
+ height: 40px;
27
+ background: #FFFFFF;
28
+ border-radius: 4px;
29
+ border: 1px solid #1E75FF;
30
+ text-align: center;
31
+ line-height: 40px;
32
+ margin-top: 8px;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,17 @@
1
+ .yee-bindMerchant-wrapper {
2
+ width: 100%;
3
+ .bindMerchant {
4
+ .footer {
5
+ height: 40px;
6
+ background: #FFFFFF;
7
+ border-radius: 4px;
8
+ border: 1px solid #1E75FF;
9
+ text-align: center;
10
+ line-height: 40px;
11
+ margin-top: 8px;
12
+ }
13
+ }
14
+ .ant-table-small>.ant-table-content>.ant-table-body {
15
+ margin: 0;
16
+ }
17
+ }
@@ -0,0 +1,9 @@
1
+ .yee-docking-charge-wrapper, .yee-package-charge-wrapper {
2
+ .ant-form-item {
3
+ margin-bottom: 0;
4
+ padding-bottom: 0;
5
+ }
6
+ .ant-table-small .ant-table-body {
7
+ margin: 0 !important;
8
+ }
9
+ }
@@ -1,3 +1,12 @@
1
+ @import 'serviceLevel.less';
1
2
  @import 'upload.less';
3
+ @import 'product.less';
4
+ @import 'beneficiary.less';
5
+ @import 'select.less';
6
+ @import 'charge.less';
7
+ @import 'subCard.less';
8
+ @import 'renewForm.less';
9
+ @import 'bindMerchant.less';
10
+
2
11
 
3
12
  @import 'style.css';
@@ -0,0 +1,542 @@
1
+ .yee-product-wrapper {
2
+ width: 100%;
3
+ @media screen and (max-width: 500px) {
4
+ .offline {
5
+ margin-right: 0 !important;
6
+ }
7
+ .ant-table-small.ant-table-bordered {
8
+ border-right: 1px solid #e8e8e8 !important;
9
+ }
10
+ .ant-table-small.ant-table-bordered .ant-table-content {
11
+ border-right: 0px !important;
12
+ }
13
+ .scene-wrap {
14
+ display: block !important;
15
+ }
16
+ }
17
+ .scene-wrap {
18
+ display: flex;
19
+ flex-wrap: wrap;
20
+ .offline {
21
+ margin-right: 16px;
22
+
23
+ }
24
+ .online,
25
+ .offline {
26
+ display: flex;
27
+ flex: 1;
28
+ cursor: pointer;
29
+ margin-bottom: 16px;
30
+ align-items: center;
31
+ background: #FFFFFF;
32
+ border-radius: 8px;
33
+ padding: 32px 40px;
34
+ box-shadow: 0px 1px 1px 0px rgba(190, 190, 190, 0.5), inset 0px 1px 1px 0px rgba(0, 0, 0, 0.02);
35
+ border-radius: 8px;
36
+
37
+ .icon {
38
+ width: 88px;
39
+ height: 88px;
40
+ border-radius: 50%;
41
+ margin-right: 32px;
42
+ line-height: 88px;
43
+ text-align: center;
44
+ flex-shrink: 0;
45
+ }
46
+
47
+ .content-wrap {
48
+ flex: 1;
49
+ padding-top: 9px;
50
+
51
+ .title {
52
+ font-weight: 500;
53
+ font-size: 24px;
54
+ color: #333333;
55
+ line-height: 32px;
56
+ margin-bottom: 10px;
57
+ }
58
+
59
+ .desc {
60
+ font-weight: 400;
61
+ font-size: 14px;
62
+ color: #666666;
63
+ line-height: 22px;
64
+ }
65
+ }
66
+
67
+ .check-img {
68
+ display: none;
69
+ }
70
+ }
71
+
72
+ .active {
73
+ border: 1px solid #2492FC;
74
+ position: relative;
75
+
76
+ .check-img {
77
+ display: inline-block;
78
+ position: absolute;
79
+ right: 0;
80
+ top: 0;
81
+ width: 40px;
82
+ height: 40px;
83
+ }
84
+ }
85
+
86
+ .disabled {
87
+ background: #FAFAFA;
88
+ box-shadow: 0px 1px 1px 0px rgba(190, 190, 190, 0.5);
89
+ border-image: linear-gradient(360deg, rgba(248, 248, 248, 1), rgba(239, 239, 239, 1)) 1 1;
90
+ }
91
+ }
92
+ .custom-check-box-wrap {
93
+ background: #FFFFFF;
94
+ border-radius: 8px;
95
+ border: 1px solid;
96
+ border-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 1 1;
97
+ padding: 24px;
98
+ padding-bottom: 12px;
99
+ margin-bottom: 16px;
100
+
101
+ .check-box-line {
102
+ border-top: 1px dashed #D8D8D8;
103
+ margin-bottom: 12px;
104
+ }
105
+
106
+ .title {
107
+ font-weight: 500;
108
+ font-size: 16px;
109
+ color: #333333;
110
+ line-height: 24px;
111
+ margin-bottom: 4px;
112
+ display: flex;
113
+ justify-content: space-between;
114
+ align-items: center;
115
+ }
116
+ .title-desc {
117
+ font-size: 12px;
118
+ color: #666;
119
+ margin-bottom: 12px;
120
+ .title-desc-icon {
121
+ color: #1E75FF;
122
+ margin-right: 2px;
123
+ }
124
+ }
125
+ .check-list {
126
+ .check-item {
127
+ margin-bottom: 12px;
128
+ line-height: 22px;
129
+ display: flex;
130
+ align-items: flex-start;
131
+
132
+ .check-label {
133
+ width: 80px;
134
+ font-weight: 500;
135
+ font-size: 14px;
136
+ color: #333333;
137
+ line-height: 22px;
138
+ text-align: left;
139
+ flex-shrink: 0;
140
+ }
141
+ }
142
+ }
143
+ }
144
+
145
+ .qualification-total {
146
+ background: #FFFFFF;
147
+ border-radius: 8px;
148
+ padding: 24px;
149
+ padding-bottom: 16px;
150
+ margin-bottom: 12px;
151
+
152
+ .total-title {
153
+ font-weight: 500;
154
+ font-size: 16px;
155
+ color: #333333;
156
+ line-height: 24px;
157
+ margin-bottom: 12px;
158
+ }
159
+
160
+ .qualification-group-item {
161
+ margin-bottom: 0px;
162
+ padding: 0;
163
+ padding-left: 12px;
164
+ .qualification-group-title {
165
+ font-weight: 500;
166
+ font-size: 16px;
167
+ color: #333333;
168
+ line-height: 24px;
169
+ position: relative;
170
+ &::before {
171
+ content: '';
172
+ position: absolute;
173
+ top: 6px;
174
+ left: -8px;
175
+ width: 2px;
176
+ height: 11px;
177
+ background-color: #40a9ff;
178
+ }
179
+ }
180
+ }
181
+ .qualification-group-item-wrap {
182
+ padding: 12px;
183
+ background-color: #FBFCFF;
184
+ padding-left: 24px;
185
+ margin-bottom: 12px;
186
+ }
187
+ }
188
+
189
+ .qualification-group-item {
190
+ background: #FFFFFF;
191
+ border-radius: 8px;
192
+ padding: 24px;
193
+ padding-bottom: 12px;
194
+ margin-bottom: 12px;
195
+ .total-title {
196
+ font-weight: 500;
197
+ font-size: 16px;
198
+ color: #333333;
199
+ line-height: 24px;
200
+ margin-bottom: 12px;
201
+ }
202
+ .qualification-group-title {
203
+ font-weight: 500;
204
+ font-size: 16px;
205
+ color: #333333;
206
+ line-height: 24px;
207
+ margin-bottom: 12px;
208
+ }
209
+ .ant-form-item {
210
+ margin-bottom: 12px;
211
+ }
212
+ }
213
+
214
+ .qualification-tip {
215
+ font-size: 12px;
216
+ line-height: 20px;
217
+ word-break: break-all;
218
+ }
219
+
220
+ .product-card-content {
221
+ .qualification-group-item {
222
+ padding: 0;
223
+ }
224
+ }
225
+
226
+ .product-card-wrap {
227
+ margin-bottom: 12px;
228
+
229
+ .title {
230
+ font-weight: 500;
231
+ font-size: 14px;
232
+ color: #666666;
233
+ line-height: 20px;
234
+ padding-left: 10px;
235
+ position: relative;
236
+ margin-bottom: 12px;
237
+
238
+ &::before {
239
+ content: '';
240
+ position: absolute;
241
+ left: 0;
242
+ top: 3px;
243
+ width: 2px;
244
+ height: 14px;
245
+ background: #999999;
246
+ }
247
+ }
248
+
249
+ .product-card-content {
250
+ background: #FFFFFF;
251
+ border-radius: 8px;
252
+ padding: 24px;
253
+ margin-bottom: 12px;
254
+
255
+ .sub-title {
256
+ font-weight: 500;
257
+ font-size: 16px;
258
+ color: #333333;
259
+ line-height: 24px;
260
+ margin-bottom: 16px;
261
+ display: flex;
262
+ justify-content: space-between;
263
+ align-items: center;
264
+
265
+ .special-charge {
266
+ font-weight: 400;
267
+ font-size: 14px;
268
+ color: #1E75FF;
269
+ line-height: 22px;
270
+ cursor: pointer;
271
+ display: flex;
272
+ align-items: center;
273
+ cursor: pointer;
274
+
275
+ span {
276
+ margin-right: 4px;
277
+ }
278
+ }
279
+ }
280
+
281
+ .qualification-title {
282
+ font-weight: 400;
283
+ font-size: 14px;
284
+ color: #333333;
285
+ line-height: 20px;
286
+ padding-left: 14px;
287
+ position: relative;
288
+ margin: 24px 0 16px;
289
+
290
+ &::before {
291
+ content: '';
292
+ width: 6px;
293
+ height: 6px;
294
+ position: absolute;
295
+ top: 7px;
296
+ left: 0;
297
+ background: #D8D8D8;
298
+ border-radius: 50%;
299
+ }
300
+ }
301
+ .has-error .ant-form-explain {
302
+ margin-bottom: -8px;
303
+ float: none;
304
+ }
305
+ }
306
+ }
307
+
308
+ tr.ant-table-expanded-row,
309
+ tr.ant-table-expanded-row:hover {
310
+ background-color: #fff !important;
311
+ }
312
+
313
+ .ladder-wrap {
314
+ .ladder-item {
315
+ display: flex;
316
+ align-items: center;
317
+ margin-bottom: 16px;
318
+
319
+ .ladder-left {
320
+ background: #FAFAFA;
321
+ border-radius: 8px;
322
+ padding: 16px 16px;
323
+ display: flex;
324
+ align-items: flex-start;
325
+ margin-right: 14px;
326
+ flex: 1;
327
+
328
+ .tip {
329
+ font-weight: 400;
330
+ font-size: 14px;
331
+ color: #666666;
332
+ line-height: 20px;
333
+ margin-right: 2px;
334
+ width: 25px;
335
+ }
336
+
337
+ .left-content {
338
+ display: grid;
339
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
340
+ grid-gap: 5px;
341
+ flex: 1;
342
+ .top {
343
+ margin-bottom: 8px;
344
+ margin-right: 8px;
345
+ .input-wrap {
346
+ display: flex;
347
+ align-items: center;
348
+
349
+ .split-icon {
350
+ margin: 0 4px;
351
+ }
352
+ }
353
+ }
354
+ .bottom {
355
+ margin-bottom: 8px;
356
+ display: grid;
357
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
358
+ grid-gap: 5px;
359
+ }
360
+ }
361
+ }
362
+
363
+ .ladder-action {
364
+ display: flex;
365
+ align-items: center;
366
+ font-size: 16px;
367
+ color: #1E75FF;
368
+ width: 40px;
369
+ flex-shrink: 0;
370
+ }
371
+ }
372
+ }
373
+
374
+ .rate-input-wrap {
375
+ display: grid;
376
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
377
+ grid-gap: 5px;
378
+ }
379
+
380
+ .special-charge-check {
381
+ display: flex;
382
+ justify-content: space-between;
383
+ align-items: center;
384
+ }
385
+
386
+ .product-table-wrap {
387
+
388
+ .ant-table-expand-icon-th,
389
+ .ant-table-row-expand-icon-cell {
390
+ width: 1px !important;
391
+ padding: 0 !important;
392
+ min-width: 1px !important;
393
+ border: none !important;
394
+ }
395
+ .ant-table-tbody {
396
+ td:nth-child(2), td:nth-child(3) {
397
+ vertical-align: top;
398
+ }
399
+ }
400
+ .ant-table-thead {
401
+ position: sticky;
402
+ top: 0;
403
+ z-index: 99;
404
+ }
405
+ tr.ant-table-expanded-row td:first-child {
406
+ width: 1px !important;
407
+ padding: 0 !important;
408
+ min-width: 1px !important;
409
+ border: none !important;
410
+ }
411
+
412
+ .ant-table-row-expand-icon {
413
+ display: none;
414
+ }
415
+
416
+ .ant-table-thead>tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,
417
+ .ant-table-tbody>tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,
418
+ .ant-table-thead>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,
419
+ .ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td {
420
+ background: none !important;
421
+ }
422
+
423
+ .ant-table-thead>tr>th[colspan]:not([colspan='1']) {
424
+ text-align: left;
425
+ }
426
+
427
+ .ant-form-item {
428
+ margin-bottom: 0;
429
+ padding-bottom: 0;
430
+ width: 100%;
431
+ }
432
+
433
+ .ant-table-small .ant-table-body {
434
+ margin: 0 !important;
435
+ }
436
+ }
437
+
438
+ .more-product-wrap {
439
+ display: flex;
440
+ align-items: flex-start;
441
+ margin: 25px 0;
442
+
443
+ .more-product-title {
444
+ width: 56px;
445
+ height: 20px;
446
+ font-weight: 500;
447
+ font-size: 14px;
448
+ color: #333333;
449
+ flex-shrink: 0;
450
+ margin-right: 32px;
451
+ }
452
+
453
+ .select-all {
454
+ margin-right: 24px;
455
+ flex-shrink: 0;
456
+ }
457
+
458
+ .select-item-wrap {
459
+ display: flex;
460
+ flex-wrap: wrap;
461
+ }
462
+ }
463
+
464
+ .group-render {
465
+ display: flex;
466
+ align-items: center;
467
+ min-height: 40px;
468
+ line-height: 22px;
469
+ position: sticky;
470
+ top: 40px;
471
+ .logo {
472
+ width: 24px;
473
+ margin-right: 8px
474
+ }
475
+
476
+ .operate-btn {
477
+ padding: 8px 4px;
478
+ padding-top: 7px;
479
+
480
+ .anticon {
481
+ margin-left: 0px;
482
+ }
483
+ }
484
+
485
+ .risk-wrap {
486
+ background: rgba(244, 98, 102, 0.1);
487
+ border-radius: 2px;
488
+ line-height: 18px;
489
+ text-align: center;
490
+ font-weight: 500;
491
+ font-size: 12px;
492
+ color: #f46266;
493
+ line-height: 12px;
494
+ padding: 3px 4px;
495
+ margin-left: 4px;
496
+ flex-shrink: 0;
497
+ }
498
+ }
499
+
500
+ .refund-fee-config {
501
+ background-color: #fff;
502
+ margin-bottom: 12px;
503
+ padding: 24px;
504
+
505
+ .title {
506
+ font-weight: 500;
507
+ font-size: 16px;
508
+ color: #333333;
509
+ line-height: 24px;
510
+ margin-bottom: 24px;
511
+ }
512
+ }
513
+ }
514
+
515
+ .special-charge-title {
516
+ font-weight: 500;
517
+ font-size: 14px;
518
+ color: #333333;
519
+ line-height: 20px;
520
+ margin-bottom: 17px
521
+ }
522
+ .custom-table {
523
+ max-height: 50vh;
524
+ overflow-y: auto;
525
+ .ant-table-thead>tr>th[colspan]:not([colspan='1']) {
526
+ text-align: left;
527
+ }
528
+ .ant-table-small > .ant-table-content > .ant-table-body {
529
+ margin: 0;
530
+ }
531
+ }
532
+ .title-dropdown {
533
+ width: 170px;
534
+ height: 62px;
535
+ background: #FFFFFF;
536
+ box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.05);
537
+ border-radius: 8px;
538
+ border: 1px solid #EFEFEF;
539
+ display: flex;
540
+ align-items: center;
541
+ justify-content: center;
542
+ }
@@ -0,0 +1,3 @@
1
+ .yee-renew-wrapper {
2
+ background-color: #fff;
3
+ }
@@ -0,0 +1,25 @@
1
+ .yee-select-wrapper {
2
+ .ant-select {
3
+ &[highlight-type="primary"] {
4
+ .ant-select-selection {
5
+ background-color: #1890ff33;
6
+ }
7
+
8
+ }
9
+ &[highlight-type="success"] {
10
+ .ant-select-selection {
11
+ background-color: #13ce6633;
12
+ }
13
+ }
14
+ &[highlight-type="warning"] {
15
+ .ant-select-selection {
16
+ background-color: #FFBA0033;
17
+ }
18
+ }
19
+ &[highlight-type="danger"] {
20
+ .ant-select-selection {
21
+ background-color: #ff494933;
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,49 @@
1
+ .yee-service-level-wrapper {
2
+ .list {
3
+ display: flex;
4
+ align-items: center;
5
+ .item {
6
+ width: 52px;
7
+ height: 28px;
8
+ margin-right: 8px;
9
+ cursor: pointer;
10
+ display: flex;
11
+ align-items: center;
12
+ :last-child {
13
+ margin-right: 0;
14
+ }
15
+ img {
16
+ width: 100%;
17
+ height: 100%;
18
+ }
19
+ .hover {
20
+ display: none;
21
+ }
22
+ .active {
23
+ display: none;
24
+ }
25
+ &:hover {
26
+ .default {
27
+ display: none;
28
+ }
29
+ .hover {
30
+ display: block;
31
+ }
32
+ }
33
+ }
34
+ .item-active {
35
+ .default {
36
+ display: none;
37
+ }
38
+ .hover {
39
+ display: none !important;
40
+ }
41
+ .active {
42
+ display: block;
43
+ }
44
+ }
45
+ .item-disabled {
46
+ opacity: 0.8;
47
+ }
48
+ }
49
+ }