easy3wui 1.4.247 → 1.4.251
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.
- package/assets/flow.css +204 -138
- package/assets/index.css +204 -138
- package/lib/Easy3wFlow/index.js +1 -1
- package/package.json +1 -1
package/assets/flow.css
CHANGED
|
@@ -10,9 +10,210 @@
|
|
|
10
10
|
width: 100%;
|
|
11
11
|
background: #fff;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
.flowtop {
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
.flowtop .floatcenter {
|
|
17
|
+
width: 90%;
|
|
18
|
+
margin: 0 auto;
|
|
19
|
+
/*
|
|
20
|
+
公式: 线宽 (100% / n -22px) / 2
|
|
21
|
+
思路:
|
|
22
|
+
虚拟: 将每个节点 + 左侧线宽 + 右侧线宽看成一个块,所有块组合成整体top 虚拟的每个节点块长度都相等 除了首尾节点 其它节点的宽为: 100% / n
|
|
23
|
+
实际:
|
|
24
|
+
第一个节点: 左侧填充一个线宽 + 节点 + 右侧两个线 (100% / n -22px) / 2 * 3 + 22px 节点 + 3个线宽
|
|
25
|
+
最后一个节点: 节点 + 右侧填充一个线宽 (100% / n -22px) / 2 + 22px 节点 + 1个线宽
|
|
26
|
+
其它节点: 节点 + 右侧两个线 (100% / n -22px) / 2 * 2 + 22px 节点 + 2个线宽
|
|
27
|
+
最终确保: 节点 + 填充 + 线 = top宽
|
|
28
|
+
每个节点都有属于不与其它节点公用的两个线宽的长度
|
|
29
|
+
构图: -o--o--o-
|
|
30
|
+
流程节点:
|
|
31
|
+
节点: 22px
|
|
32
|
+
线宽: (100% / n -22px) / 2
|
|
33
|
+
*/
|
|
34
|
+
}
|
|
35
|
+
.flowtop .floatcenter .renderTopTemp2:first-child {
|
|
36
|
+
width: calc((100% / 2 - 22px) / 2 * 3 + 22px);
|
|
37
|
+
padding-left: calc((100% / 2 - 22px) / 2);
|
|
38
|
+
}
|
|
39
|
+
.flowtop .floatcenter .renderTopTemp2 {
|
|
40
|
+
width: calc(100% / 2);
|
|
41
|
+
float: left;
|
|
42
|
+
}
|
|
43
|
+
.flowtop .floatcenter .renderTopTemp2 .flowline2 {
|
|
44
|
+
float: left;
|
|
45
|
+
margin-top: 15px;
|
|
46
|
+
height: 4px;
|
|
47
|
+
width: calc(100% - 22px);
|
|
48
|
+
}
|
|
49
|
+
.flowtop .floatcenter .renderTopTemp2:last-child {
|
|
50
|
+
width: calc((100% / 2 - 22px) / 2 * 3 + 22px);
|
|
51
|
+
padding-right: calc((100% / 2 - 22px) / 2);
|
|
52
|
+
}
|
|
53
|
+
.flowtop .floatcenter .renderTopTemp3:first-child {
|
|
54
|
+
width: calc((100% / 3 - 22px) / 2 * 3 + 22px);
|
|
55
|
+
padding-left: calc(100% / 3 - 22px / 2);
|
|
56
|
+
}
|
|
57
|
+
.flowtop .floatcenter .renderTopTemp3 {
|
|
58
|
+
width: calc(100% / 3);
|
|
59
|
+
float: left;
|
|
60
|
+
}
|
|
61
|
+
.flowtop .floatcenter .renderTopTemp3 .flowline3 {
|
|
62
|
+
float: left;
|
|
63
|
+
margin-top: 15px;
|
|
64
|
+
height: 4px;
|
|
65
|
+
width: calc(100% - 22px);
|
|
66
|
+
}
|
|
67
|
+
.flowtop .floatcenter .renderTopTemp3:last-child {
|
|
68
|
+
width: calc((100% / 3 - 22px) / 2 * 3 + 22px);
|
|
69
|
+
padding-right: calc((100% / 3 - 22px) / 2);
|
|
70
|
+
}
|
|
71
|
+
.flowtop .floatcenter .renderTopTemp4:first-child {
|
|
72
|
+
width: calc((100% / 4 - 22px) / 2 * 3 + 22px);
|
|
73
|
+
padding-left: calc((100% / 4 - 22px) / 2);
|
|
74
|
+
}
|
|
75
|
+
.flowtop .floatcenter .renderTopTemp4 {
|
|
76
|
+
width: calc(100% / 4);
|
|
77
|
+
float: left;
|
|
78
|
+
}
|
|
79
|
+
.flowtop .floatcenter .renderTopTemp4 .flowline4 {
|
|
80
|
+
float: left;
|
|
81
|
+
margin-top: 15px;
|
|
82
|
+
height: 4px;
|
|
83
|
+
width: calc(100% - 22px);
|
|
84
|
+
}
|
|
85
|
+
.flowtop .floatcenter .renderTopTemp4:last-child {
|
|
86
|
+
width: calc((100% / 4 - 22px) / 2 * 3 + 22px);
|
|
87
|
+
padding-right: calc((100% / 4 - 22px) / 2);
|
|
88
|
+
}
|
|
89
|
+
.flowtop .floatcenter .renderTopTemp5:first-child {
|
|
90
|
+
width: calc((100% / 5 - 22px) / 2 * 3 + 22px);
|
|
91
|
+
padding-left: calc((100% / 5 - 22px) / 2);
|
|
92
|
+
}
|
|
93
|
+
.flowtop .floatcenter .renderTopTemp5 {
|
|
94
|
+
width: calc(100% / 5);
|
|
95
|
+
float: left;
|
|
96
|
+
}
|
|
97
|
+
.flowtop .floatcenter .renderTopTemp5 .flowline5 {
|
|
98
|
+
float: left;
|
|
99
|
+
margin-top: 15px;
|
|
100
|
+
height: 4px;
|
|
101
|
+
width: calc(100% - 22px);
|
|
102
|
+
}
|
|
103
|
+
.flowtop .floatcenter .renderTopTemp5:last-child {
|
|
104
|
+
width: calc((100% / 5 - 22px) / 2 * 3 + 22px);
|
|
105
|
+
padding-right: calc((100% / 5 - 22px) / 2);
|
|
106
|
+
}
|
|
107
|
+
.flowtop .floatcenter .renderTopTemp6:first-child {
|
|
108
|
+
width: calc((100% / 6 - 22px) / 2 * 3 + 22px);
|
|
109
|
+
padding-left: calc((100% / 6 - 22px) / 2);
|
|
110
|
+
}
|
|
111
|
+
.flowtop .floatcenter .renderTopTemp6 {
|
|
112
|
+
width: calc(100% / 6);
|
|
113
|
+
float: left;
|
|
114
|
+
}
|
|
115
|
+
.flowtop .floatcenter .renderTopTemp6 .flowline6 {
|
|
116
|
+
float: left;
|
|
117
|
+
margin-top: 15px;
|
|
118
|
+
height: 4px;
|
|
119
|
+
width: calc(100% - 22px);
|
|
120
|
+
}
|
|
121
|
+
.flowtop .floatcenter .renderTopTemp6:last-child {
|
|
122
|
+
width: calc((100% / 6 - 22px) / 2 * 3 + 22px);
|
|
123
|
+
padding-right: calc((100% / 6 - 22px) / 2);
|
|
124
|
+
}
|
|
125
|
+
.flowtop .floatcenter .renderTopTemp7:first-child {
|
|
126
|
+
width: calc((100% / 7 - 22px) / 2 * 3 + 22px);
|
|
127
|
+
padding-left: calc((100% / 7 - 22px) / 2);
|
|
128
|
+
}
|
|
129
|
+
.flowtop .floatcenter .renderTopTemp7 {
|
|
130
|
+
width: calc(100% / 7);
|
|
131
|
+
float: left;
|
|
132
|
+
}
|
|
133
|
+
.flowtop .floatcenter .renderTopTemp7 .flowline7 {
|
|
134
|
+
float: left;
|
|
135
|
+
margin-top: 15px;
|
|
136
|
+
height: 4px;
|
|
137
|
+
width: calc(100% - 22px);
|
|
138
|
+
}
|
|
139
|
+
.flowtop .floatcenter .renderTopTemp7:last-child {
|
|
140
|
+
width: calc((100% / 7 - 22px) / 2 * 3 + 22px);
|
|
141
|
+
padding-right: calc((100% / 7 - 22px) / 2);
|
|
142
|
+
}
|
|
143
|
+
.flowtop .floatcenter .renderTopTemp8:first-child {
|
|
144
|
+
width: calc((100% / 8 - 22px) / 2 * 3 + 22px);
|
|
145
|
+
padding-left: calc((100% / 8 - 22px) / 2);
|
|
146
|
+
}
|
|
147
|
+
.flowtop .floatcenter .renderTopTemp8 {
|
|
148
|
+
width: calc(100% / 8);
|
|
149
|
+
float: left;
|
|
150
|
+
}
|
|
151
|
+
.flowtop .floatcenter .renderTopTemp8 .flowline8 {
|
|
152
|
+
float: left;
|
|
153
|
+
margin-top: 15px;
|
|
154
|
+
height: 4px;
|
|
155
|
+
width: calc(100% - 22px);
|
|
156
|
+
}
|
|
157
|
+
.flowtop .floatcenter .renderTopTemp8:last-child {
|
|
158
|
+
width: calc((100% / 8 - 22px) / 2 * 3 + 22px);
|
|
159
|
+
padding-right: calc((100% / 8 - 22px) / 2);
|
|
160
|
+
}
|
|
161
|
+
.flowtop .floatcenter .renderTopTemp9:first-child {
|
|
162
|
+
width: calc((100% / 9 - 22px) / 2 * 3 + 22px);
|
|
163
|
+
padding-left: calc((100% / 9 - 22px) / 2);
|
|
164
|
+
}
|
|
165
|
+
.flowtop .floatcenter .renderTopTemp9 {
|
|
166
|
+
width: calc(100% / 9);
|
|
167
|
+
float: left;
|
|
168
|
+
}
|
|
169
|
+
.flowtop .floatcenter .renderTopTemp9 .flowline9 {
|
|
170
|
+
float: left;
|
|
171
|
+
margin-top: 15px;
|
|
172
|
+
height: 4px;
|
|
173
|
+
width: calc(100% - 22px);
|
|
174
|
+
}
|
|
175
|
+
.flowtop .floatcenter .renderTopTemp9:last-child {
|
|
176
|
+
width: calc((100% / 9 - 22px) / 2 * 3 + 22px);
|
|
177
|
+
padding-right: calc((100% / 9 - 22px) / 2);
|
|
178
|
+
}
|
|
179
|
+
.flowmid {
|
|
180
|
+
width: 100%;
|
|
181
|
+
}
|
|
182
|
+
.flowmid .floatcenter {
|
|
183
|
+
width: 90%;
|
|
184
|
+
margin: 0 auto;
|
|
185
|
+
}
|
|
186
|
+
.flowmid .floatcenter div.flowtext2 {
|
|
187
|
+
width: calc(100% / 2);
|
|
188
|
+
float: left;
|
|
189
|
+
}
|
|
190
|
+
.flowmid .floatcenter div.flowtext3 {
|
|
191
|
+
width: calc(100% / 3);
|
|
192
|
+
float: left;
|
|
193
|
+
}
|
|
194
|
+
.flowmid .floatcenter div.flowtext4 {
|
|
195
|
+
width: calc(100% / 4);
|
|
196
|
+
float: left;
|
|
197
|
+
}
|
|
198
|
+
.flowmid .floatcenter div.flowtext5 {
|
|
199
|
+
width: calc(100% / 5);
|
|
200
|
+
float: left;
|
|
201
|
+
}
|
|
202
|
+
.flowmid .floatcenter div.flowtext6 {
|
|
203
|
+
width: calc(100% / 6);
|
|
204
|
+
float: left;
|
|
205
|
+
}
|
|
206
|
+
.flowmid .floatcenter div.flowtext7 {
|
|
207
|
+
width: calc(100% / 7);
|
|
208
|
+
float: left;
|
|
209
|
+
}
|
|
210
|
+
.flowmid .floatcenter div.flowtext8 {
|
|
211
|
+
width: calc(100% / 8);
|
|
212
|
+
float: left;
|
|
213
|
+
}
|
|
214
|
+
.flowmid .floatcenter div.flowtext9 {
|
|
215
|
+
width: calc(100% / 9);
|
|
216
|
+
float: left;
|
|
16
217
|
}
|
|
17
218
|
.floatcenter2_1 {
|
|
18
219
|
position: absolute;
|
|
@@ -304,7 +505,6 @@
|
|
|
304
505
|
color: #fff;
|
|
305
506
|
/*浮动区块居中,必须配合.float-center使用*/
|
|
306
507
|
position: relative;
|
|
307
|
-
left: -50%;
|
|
308
508
|
}
|
|
309
509
|
/* 主节点活动节点样式*/
|
|
310
510
|
.flowmain .flowcircle-active-haierblue {
|
|
@@ -318,7 +518,6 @@
|
|
|
318
518
|
color: #fff;
|
|
319
519
|
/*浮动区块居中,必须配合.float-center使用*/
|
|
320
520
|
position: relative;
|
|
321
|
-
left: -50%;
|
|
322
521
|
}
|
|
323
522
|
.flowmain .flowcircle-active-haierblue::before {
|
|
324
523
|
border-bottom: 2px solid #5867ad;
|
|
@@ -340,7 +539,6 @@
|
|
|
340
539
|
color: #fff;
|
|
341
540
|
/*浮动区块居中,必须配合.float-center使用*/
|
|
342
541
|
position: relative;
|
|
343
|
-
left: -50%;
|
|
344
542
|
}
|
|
345
543
|
.flowmain .flowcircle-active-haierorange::before {
|
|
346
544
|
border-bottom: 2px solid #ad7c59;
|
|
@@ -352,138 +550,6 @@
|
|
|
352
550
|
right: 0;
|
|
353
551
|
}
|
|
354
552
|
/*renderTop有几个大节点时(3-9)*/
|
|
355
|
-
.flowmain .flowline2 {
|
|
356
|
-
float: left;
|
|
357
|
-
margin-top: 15px;
|
|
358
|
-
width: 30.8%;
|
|
359
|
-
height: 4px;
|
|
360
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
361
|
-
position: relative;
|
|
362
|
-
left: -50%;
|
|
363
|
-
}
|
|
364
|
-
.flowmain .flowline3 {
|
|
365
|
-
float: left;
|
|
366
|
-
margin-top: 15px;
|
|
367
|
-
width: 30.6%;
|
|
368
|
-
height: 4px;
|
|
369
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
370
|
-
position: relative;
|
|
371
|
-
left: -50%;
|
|
372
|
-
}
|
|
373
|
-
.flowmain .flowline4 {
|
|
374
|
-
float: left;
|
|
375
|
-
margin-top: 15px;
|
|
376
|
-
width: 19.8%;
|
|
377
|
-
height: 4px;
|
|
378
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
379
|
-
position: relative;
|
|
380
|
-
left: -50%;
|
|
381
|
-
}
|
|
382
|
-
.flowmain .flowline5 {
|
|
383
|
-
float: left;
|
|
384
|
-
margin-top: 15px;
|
|
385
|
-
width: 14.4%;
|
|
386
|
-
height: 4px;
|
|
387
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
388
|
-
position: relative;
|
|
389
|
-
left: -50%;
|
|
390
|
-
}
|
|
391
|
-
.flowmain .flowline6 {
|
|
392
|
-
float: left;
|
|
393
|
-
margin-top: 15px;
|
|
394
|
-
width: 11.2%;
|
|
395
|
-
height: 4px;
|
|
396
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
397
|
-
position: relative;
|
|
398
|
-
left: -50%;
|
|
399
|
-
}
|
|
400
|
-
.flowmain .flowline7 {
|
|
401
|
-
float: left;
|
|
402
|
-
margin-top: 15px;
|
|
403
|
-
width: 9.03%;
|
|
404
|
-
height: 4px;
|
|
405
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
406
|
-
position: relative;
|
|
407
|
-
left: -50%;
|
|
408
|
-
}
|
|
409
|
-
.flowmain .flowline8 {
|
|
410
|
-
float: left;
|
|
411
|
-
margin-top: 15px;
|
|
412
|
-
width: 7.4%;
|
|
413
|
-
height: 4px;
|
|
414
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
415
|
-
position: relative;
|
|
416
|
-
left: -50%;
|
|
417
|
-
}
|
|
418
|
-
.flowmain .flowline9 {
|
|
419
|
-
float: left;
|
|
420
|
-
margin-top: 15px;
|
|
421
|
-
width: 6.348%;
|
|
422
|
-
height: 4px;
|
|
423
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
424
|
-
position: relative;
|
|
425
|
-
left: -50%;
|
|
426
|
-
}
|
|
427
|
-
.flowmid {
|
|
428
|
-
height: 34px;
|
|
429
|
-
}
|
|
430
|
-
/*renderMid下的有几个flowtext(3-9)*/
|
|
431
|
-
.flowmid .flowtext2 {
|
|
432
|
-
width: 32.4%;
|
|
433
|
-
float: left;
|
|
434
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
435
|
-
position: relative;
|
|
436
|
-
left: -65.5%;
|
|
437
|
-
}
|
|
438
|
-
.flowmid .flowtext3 {
|
|
439
|
-
width: 32.4%;
|
|
440
|
-
float: left;
|
|
441
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
442
|
-
position: relative;
|
|
443
|
-
left: -65.5%;
|
|
444
|
-
}
|
|
445
|
-
.flowmid .flowtext4 {
|
|
446
|
-
width: 21.6%;
|
|
447
|
-
float: left;
|
|
448
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
449
|
-
position: relative;
|
|
450
|
-
left: -60%;
|
|
451
|
-
}
|
|
452
|
-
.flowmid .flowtext5 {
|
|
453
|
-
width: 16.2%;
|
|
454
|
-
float: left;
|
|
455
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
456
|
-
position: relative;
|
|
457
|
-
left: -57.5%;
|
|
458
|
-
}
|
|
459
|
-
.flowmid .flowtext6 {
|
|
460
|
-
width: 13.1%;
|
|
461
|
-
float: left;
|
|
462
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
463
|
-
position: relative;
|
|
464
|
-
left: -56%;
|
|
465
|
-
}
|
|
466
|
-
.flowmid .flowtext7 {
|
|
467
|
-
width: 10.8%;
|
|
468
|
-
float: left;
|
|
469
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
470
|
-
position: relative;
|
|
471
|
-
left: -54.8%;
|
|
472
|
-
}
|
|
473
|
-
.flowmid .flowtext8 {
|
|
474
|
-
width: 9.13%;
|
|
475
|
-
float: left;
|
|
476
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
477
|
-
position: relative;
|
|
478
|
-
left: -54%;
|
|
479
|
-
}
|
|
480
|
-
.flowmid .flowtext9 {
|
|
481
|
-
width: 8%;
|
|
482
|
-
float: left;
|
|
483
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
484
|
-
position: relative;
|
|
485
|
-
left: -53%;
|
|
486
|
-
}
|
|
487
553
|
.flowmid .floawt1 {
|
|
488
554
|
text-align: center;
|
|
489
555
|
height: 24px;
|
package/assets/index.css
CHANGED
|
@@ -455,9 +455,210 @@ s {
|
|
|
455
455
|
width: 100%;
|
|
456
456
|
background: #fff;
|
|
457
457
|
}
|
|
458
|
-
.
|
|
459
|
-
|
|
460
|
-
|
|
458
|
+
.flowtop {
|
|
459
|
+
width: 100%;
|
|
460
|
+
}
|
|
461
|
+
.flowtop .floatcenter {
|
|
462
|
+
width: 90%;
|
|
463
|
+
margin: 0 auto;
|
|
464
|
+
/*
|
|
465
|
+
公式: 线宽 (100% / n -22px) / 2
|
|
466
|
+
思路:
|
|
467
|
+
虚拟: 将每个节点 + 左侧线宽 + 右侧线宽看成一个块,所有块组合成整体top 虚拟的每个节点块长度都相等 除了首尾节点 其它节点的宽为: 100% / n
|
|
468
|
+
实际:
|
|
469
|
+
第一个节点: 左侧填充一个线宽 + 节点 + 右侧两个线 (100% / n -22px) / 2 * 3 + 22px 节点 + 3个线宽
|
|
470
|
+
最后一个节点: 节点 + 右侧填充一个线宽 (100% / n -22px) / 2 + 22px 节点 + 1个线宽
|
|
471
|
+
其它节点: 节点 + 右侧两个线 (100% / n -22px) / 2 * 2 + 22px 节点 + 2个线宽
|
|
472
|
+
最终确保: 节点 + 填充 + 线 = top宽
|
|
473
|
+
每个节点都有属于不与其它节点公用的两个线宽的长度
|
|
474
|
+
构图: -o--o--o-
|
|
475
|
+
流程节点:
|
|
476
|
+
节点: 22px
|
|
477
|
+
线宽: (100% / n -22px) / 2
|
|
478
|
+
*/
|
|
479
|
+
}
|
|
480
|
+
.flowtop .floatcenter .renderTopTemp2:first-child {
|
|
481
|
+
width: calc((100% / 2 - 22px) / 2 * 3 + 22px);
|
|
482
|
+
padding-left: calc((100% / 2 - 22px) / 2);
|
|
483
|
+
}
|
|
484
|
+
.flowtop .floatcenter .renderTopTemp2 {
|
|
485
|
+
width: calc(100% / 2);
|
|
486
|
+
float: left;
|
|
487
|
+
}
|
|
488
|
+
.flowtop .floatcenter .renderTopTemp2 .flowline2 {
|
|
489
|
+
float: left;
|
|
490
|
+
margin-top: 15px;
|
|
491
|
+
height: 4px;
|
|
492
|
+
width: calc(100% - 22px);
|
|
493
|
+
}
|
|
494
|
+
.flowtop .floatcenter .renderTopTemp2:last-child {
|
|
495
|
+
width: calc((100% / 2 - 22px) / 2 * 3 + 22px);
|
|
496
|
+
padding-right: calc((100% / 2 - 22px) / 2);
|
|
497
|
+
}
|
|
498
|
+
.flowtop .floatcenter .renderTopTemp3:first-child {
|
|
499
|
+
width: calc((100% / 3 - 22px) / 2 * 3 + 22px);
|
|
500
|
+
padding-left: calc(100% / 3 - 22px / 2);
|
|
501
|
+
}
|
|
502
|
+
.flowtop .floatcenter .renderTopTemp3 {
|
|
503
|
+
width: calc(100% / 3);
|
|
504
|
+
float: left;
|
|
505
|
+
}
|
|
506
|
+
.flowtop .floatcenter .renderTopTemp3 .flowline3 {
|
|
507
|
+
float: left;
|
|
508
|
+
margin-top: 15px;
|
|
509
|
+
height: 4px;
|
|
510
|
+
width: calc(100% - 22px);
|
|
511
|
+
}
|
|
512
|
+
.flowtop .floatcenter .renderTopTemp3:last-child {
|
|
513
|
+
width: calc((100% / 3 - 22px) / 2 * 3 + 22px);
|
|
514
|
+
padding-right: calc((100% / 3 - 22px) / 2);
|
|
515
|
+
}
|
|
516
|
+
.flowtop .floatcenter .renderTopTemp4:first-child {
|
|
517
|
+
width: calc((100% / 4 - 22px) / 2 * 3 + 22px);
|
|
518
|
+
padding-left: calc((100% / 4 - 22px) / 2);
|
|
519
|
+
}
|
|
520
|
+
.flowtop .floatcenter .renderTopTemp4 {
|
|
521
|
+
width: calc(100% / 4);
|
|
522
|
+
float: left;
|
|
523
|
+
}
|
|
524
|
+
.flowtop .floatcenter .renderTopTemp4 .flowline4 {
|
|
525
|
+
float: left;
|
|
526
|
+
margin-top: 15px;
|
|
527
|
+
height: 4px;
|
|
528
|
+
width: calc(100% - 22px);
|
|
529
|
+
}
|
|
530
|
+
.flowtop .floatcenter .renderTopTemp4:last-child {
|
|
531
|
+
width: calc((100% / 4 - 22px) / 2 * 3 + 22px);
|
|
532
|
+
padding-right: calc((100% / 4 - 22px) / 2);
|
|
533
|
+
}
|
|
534
|
+
.flowtop .floatcenter .renderTopTemp5:first-child {
|
|
535
|
+
width: calc((100% / 5 - 22px) / 2 * 3 + 22px);
|
|
536
|
+
padding-left: calc((100% / 5 - 22px) / 2);
|
|
537
|
+
}
|
|
538
|
+
.flowtop .floatcenter .renderTopTemp5 {
|
|
539
|
+
width: calc(100% / 5);
|
|
540
|
+
float: left;
|
|
541
|
+
}
|
|
542
|
+
.flowtop .floatcenter .renderTopTemp5 .flowline5 {
|
|
543
|
+
float: left;
|
|
544
|
+
margin-top: 15px;
|
|
545
|
+
height: 4px;
|
|
546
|
+
width: calc(100% - 22px);
|
|
547
|
+
}
|
|
548
|
+
.flowtop .floatcenter .renderTopTemp5:last-child {
|
|
549
|
+
width: calc((100% / 5 - 22px) / 2 * 3 + 22px);
|
|
550
|
+
padding-right: calc((100% / 5 - 22px) / 2);
|
|
551
|
+
}
|
|
552
|
+
.flowtop .floatcenter .renderTopTemp6:first-child {
|
|
553
|
+
width: calc((100% / 6 - 22px) / 2 * 3 + 22px);
|
|
554
|
+
padding-left: calc((100% / 6 - 22px) / 2);
|
|
555
|
+
}
|
|
556
|
+
.flowtop .floatcenter .renderTopTemp6 {
|
|
557
|
+
width: calc(100% / 6);
|
|
558
|
+
float: left;
|
|
559
|
+
}
|
|
560
|
+
.flowtop .floatcenter .renderTopTemp6 .flowline6 {
|
|
561
|
+
float: left;
|
|
562
|
+
margin-top: 15px;
|
|
563
|
+
height: 4px;
|
|
564
|
+
width: calc(100% - 22px);
|
|
565
|
+
}
|
|
566
|
+
.flowtop .floatcenter .renderTopTemp6:last-child {
|
|
567
|
+
width: calc((100% / 6 - 22px) / 2 * 3 + 22px);
|
|
568
|
+
padding-right: calc((100% / 6 - 22px) / 2);
|
|
569
|
+
}
|
|
570
|
+
.flowtop .floatcenter .renderTopTemp7:first-child {
|
|
571
|
+
width: calc((100% / 7 - 22px) / 2 * 3 + 22px);
|
|
572
|
+
padding-left: calc((100% / 7 - 22px) / 2);
|
|
573
|
+
}
|
|
574
|
+
.flowtop .floatcenter .renderTopTemp7 {
|
|
575
|
+
width: calc(100% / 7);
|
|
576
|
+
float: left;
|
|
577
|
+
}
|
|
578
|
+
.flowtop .floatcenter .renderTopTemp7 .flowline7 {
|
|
579
|
+
float: left;
|
|
580
|
+
margin-top: 15px;
|
|
581
|
+
height: 4px;
|
|
582
|
+
width: calc(100% - 22px);
|
|
583
|
+
}
|
|
584
|
+
.flowtop .floatcenter .renderTopTemp7:last-child {
|
|
585
|
+
width: calc((100% / 7 - 22px) / 2 * 3 + 22px);
|
|
586
|
+
padding-right: calc((100% / 7 - 22px) / 2);
|
|
587
|
+
}
|
|
588
|
+
.flowtop .floatcenter .renderTopTemp8:first-child {
|
|
589
|
+
width: calc((100% / 8 - 22px) / 2 * 3 + 22px);
|
|
590
|
+
padding-left: calc((100% / 8 - 22px) / 2);
|
|
591
|
+
}
|
|
592
|
+
.flowtop .floatcenter .renderTopTemp8 {
|
|
593
|
+
width: calc(100% / 8);
|
|
594
|
+
float: left;
|
|
595
|
+
}
|
|
596
|
+
.flowtop .floatcenter .renderTopTemp8 .flowline8 {
|
|
597
|
+
float: left;
|
|
598
|
+
margin-top: 15px;
|
|
599
|
+
height: 4px;
|
|
600
|
+
width: calc(100% - 22px);
|
|
601
|
+
}
|
|
602
|
+
.flowtop .floatcenter .renderTopTemp8:last-child {
|
|
603
|
+
width: calc((100% / 8 - 22px) / 2 * 3 + 22px);
|
|
604
|
+
padding-right: calc((100% / 8 - 22px) / 2);
|
|
605
|
+
}
|
|
606
|
+
.flowtop .floatcenter .renderTopTemp9:first-child {
|
|
607
|
+
width: calc((100% / 9 - 22px) / 2 * 3 + 22px);
|
|
608
|
+
padding-left: calc((100% / 9 - 22px) / 2);
|
|
609
|
+
}
|
|
610
|
+
.flowtop .floatcenter .renderTopTemp9 {
|
|
611
|
+
width: calc(100% / 9);
|
|
612
|
+
float: left;
|
|
613
|
+
}
|
|
614
|
+
.flowtop .floatcenter .renderTopTemp9 .flowline9 {
|
|
615
|
+
float: left;
|
|
616
|
+
margin-top: 15px;
|
|
617
|
+
height: 4px;
|
|
618
|
+
width: calc(100% - 22px);
|
|
619
|
+
}
|
|
620
|
+
.flowtop .floatcenter .renderTopTemp9:last-child {
|
|
621
|
+
width: calc((100% / 9 - 22px) / 2 * 3 + 22px);
|
|
622
|
+
padding-right: calc((100% / 9 - 22px) / 2);
|
|
623
|
+
}
|
|
624
|
+
.flowmid {
|
|
625
|
+
width: 100%;
|
|
626
|
+
}
|
|
627
|
+
.flowmid .floatcenter {
|
|
628
|
+
width: 90%;
|
|
629
|
+
margin: 0 auto;
|
|
630
|
+
}
|
|
631
|
+
.flowmid .floatcenter div.flowtext2 {
|
|
632
|
+
width: calc(100% / 2);
|
|
633
|
+
float: left;
|
|
634
|
+
}
|
|
635
|
+
.flowmid .floatcenter div.flowtext3 {
|
|
636
|
+
width: calc(100% / 3);
|
|
637
|
+
float: left;
|
|
638
|
+
}
|
|
639
|
+
.flowmid .floatcenter div.flowtext4 {
|
|
640
|
+
width: calc(100% / 4);
|
|
641
|
+
float: left;
|
|
642
|
+
}
|
|
643
|
+
.flowmid .floatcenter div.flowtext5 {
|
|
644
|
+
width: calc(100% / 5);
|
|
645
|
+
float: left;
|
|
646
|
+
}
|
|
647
|
+
.flowmid .floatcenter div.flowtext6 {
|
|
648
|
+
width: calc(100% / 6);
|
|
649
|
+
float: left;
|
|
650
|
+
}
|
|
651
|
+
.flowmid .floatcenter div.flowtext7 {
|
|
652
|
+
width: calc(100% / 7);
|
|
653
|
+
float: left;
|
|
654
|
+
}
|
|
655
|
+
.flowmid .floatcenter div.flowtext8 {
|
|
656
|
+
width: calc(100% / 8);
|
|
657
|
+
float: left;
|
|
658
|
+
}
|
|
659
|
+
.flowmid .floatcenter div.flowtext9 {
|
|
660
|
+
width: calc(100% / 9);
|
|
661
|
+
float: left;
|
|
461
662
|
}
|
|
462
663
|
.floatcenter2_1 {
|
|
463
664
|
position: absolute;
|
|
@@ -749,7 +950,6 @@ s {
|
|
|
749
950
|
color: #fff;
|
|
750
951
|
/*浮动区块居中,必须配合.float-center使用*/
|
|
751
952
|
position: relative;
|
|
752
|
-
left: -50%;
|
|
753
953
|
}
|
|
754
954
|
/* 主节点活动节点样式*/
|
|
755
955
|
.flowmain .flowcircle-active-haierblue {
|
|
@@ -763,7 +963,6 @@ s {
|
|
|
763
963
|
color: #fff;
|
|
764
964
|
/*浮动区块居中,必须配合.float-center使用*/
|
|
765
965
|
position: relative;
|
|
766
|
-
left: -50%;
|
|
767
966
|
}
|
|
768
967
|
.flowmain .flowcircle-active-haierblue::before {
|
|
769
968
|
border-bottom: 2px solid #5867ad;
|
|
@@ -785,7 +984,6 @@ s {
|
|
|
785
984
|
color: #fff;
|
|
786
985
|
/*浮动区块居中,必须配合.float-center使用*/
|
|
787
986
|
position: relative;
|
|
788
|
-
left: -50%;
|
|
789
987
|
}
|
|
790
988
|
.flowmain .flowcircle-active-haierorange::before {
|
|
791
989
|
border-bottom: 2px solid #ad7c59;
|
|
@@ -797,138 +995,6 @@ s {
|
|
|
797
995
|
right: 0;
|
|
798
996
|
}
|
|
799
997
|
/*renderTop有几个大节点时(3-9)*/
|
|
800
|
-
.flowmain .flowline2 {
|
|
801
|
-
float: left;
|
|
802
|
-
margin-top: 15px;
|
|
803
|
-
width: 30.8%;
|
|
804
|
-
height: 4px;
|
|
805
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
806
|
-
position: relative;
|
|
807
|
-
left: -50%;
|
|
808
|
-
}
|
|
809
|
-
.flowmain .flowline3 {
|
|
810
|
-
float: left;
|
|
811
|
-
margin-top: 15px;
|
|
812
|
-
width: 30.6%;
|
|
813
|
-
height: 4px;
|
|
814
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
815
|
-
position: relative;
|
|
816
|
-
left: -50%;
|
|
817
|
-
}
|
|
818
|
-
.flowmain .flowline4 {
|
|
819
|
-
float: left;
|
|
820
|
-
margin-top: 15px;
|
|
821
|
-
width: 19.8%;
|
|
822
|
-
height: 4px;
|
|
823
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
824
|
-
position: relative;
|
|
825
|
-
left: -50%;
|
|
826
|
-
}
|
|
827
|
-
.flowmain .flowline5 {
|
|
828
|
-
float: left;
|
|
829
|
-
margin-top: 15px;
|
|
830
|
-
width: 14.4%;
|
|
831
|
-
height: 4px;
|
|
832
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
833
|
-
position: relative;
|
|
834
|
-
left: -50%;
|
|
835
|
-
}
|
|
836
|
-
.flowmain .flowline6 {
|
|
837
|
-
float: left;
|
|
838
|
-
margin-top: 15px;
|
|
839
|
-
width: 11.2%;
|
|
840
|
-
height: 4px;
|
|
841
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
842
|
-
position: relative;
|
|
843
|
-
left: -50%;
|
|
844
|
-
}
|
|
845
|
-
.flowmain .flowline7 {
|
|
846
|
-
float: left;
|
|
847
|
-
margin-top: 15px;
|
|
848
|
-
width: 9.03%;
|
|
849
|
-
height: 4px;
|
|
850
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
851
|
-
position: relative;
|
|
852
|
-
left: -50%;
|
|
853
|
-
}
|
|
854
|
-
.flowmain .flowline8 {
|
|
855
|
-
float: left;
|
|
856
|
-
margin-top: 15px;
|
|
857
|
-
width: 7.4%;
|
|
858
|
-
height: 4px;
|
|
859
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
860
|
-
position: relative;
|
|
861
|
-
left: -50%;
|
|
862
|
-
}
|
|
863
|
-
.flowmain .flowline9 {
|
|
864
|
-
float: left;
|
|
865
|
-
margin-top: 15px;
|
|
866
|
-
width: 6.348%;
|
|
867
|
-
height: 4px;
|
|
868
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
869
|
-
position: relative;
|
|
870
|
-
left: -50%;
|
|
871
|
-
}
|
|
872
|
-
.flowmid {
|
|
873
|
-
height: 34px;
|
|
874
|
-
}
|
|
875
|
-
/*renderMid下的有几个flowtext(3-9)*/
|
|
876
|
-
.flowmid .flowtext2 {
|
|
877
|
-
width: 32.4%;
|
|
878
|
-
float: left;
|
|
879
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
880
|
-
position: relative;
|
|
881
|
-
left: -65.5%;
|
|
882
|
-
}
|
|
883
|
-
.flowmid .flowtext3 {
|
|
884
|
-
width: 32.4%;
|
|
885
|
-
float: left;
|
|
886
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
887
|
-
position: relative;
|
|
888
|
-
left: -65.5%;
|
|
889
|
-
}
|
|
890
|
-
.flowmid .flowtext4 {
|
|
891
|
-
width: 21.6%;
|
|
892
|
-
float: left;
|
|
893
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
894
|
-
position: relative;
|
|
895
|
-
left: -60%;
|
|
896
|
-
}
|
|
897
|
-
.flowmid .flowtext5 {
|
|
898
|
-
width: 16.2%;
|
|
899
|
-
float: left;
|
|
900
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
901
|
-
position: relative;
|
|
902
|
-
left: -57.5%;
|
|
903
|
-
}
|
|
904
|
-
.flowmid .flowtext6 {
|
|
905
|
-
width: 13.1%;
|
|
906
|
-
float: left;
|
|
907
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
908
|
-
position: relative;
|
|
909
|
-
left: -56%;
|
|
910
|
-
}
|
|
911
|
-
.flowmid .flowtext7 {
|
|
912
|
-
width: 10.8%;
|
|
913
|
-
float: left;
|
|
914
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
915
|
-
position: relative;
|
|
916
|
-
left: -54.8%;
|
|
917
|
-
}
|
|
918
|
-
.flowmid .flowtext8 {
|
|
919
|
-
width: 9.13%;
|
|
920
|
-
float: left;
|
|
921
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
922
|
-
position: relative;
|
|
923
|
-
left: -54%;
|
|
924
|
-
}
|
|
925
|
-
.flowmid .flowtext9 {
|
|
926
|
-
width: 8%;
|
|
927
|
-
float: left;
|
|
928
|
-
/*浮动区块居中,必须配合.float-center使用*/
|
|
929
|
-
position: relative;
|
|
930
|
-
left: -53%;
|
|
931
|
-
}
|
|
932
998
|
.flowmid .floawt1 {
|
|
933
999
|
text-align: center;
|
|
934
1000
|
height: 24px;
|
package/lib/Easy3wFlow/index.js
CHANGED
|
@@ -148,7 +148,7 @@ var Easy3wFlow = function (_Component) {
|
|
|
148
148
|
}
|
|
149
149
|
return _react2['default'].createElement(
|
|
150
150
|
'div',
|
|
151
|
-
|
|
151
|
+
{ className: (0, _classnames2['default'])('renderTopTemp' + flowData.length) },
|
|
152
152
|
_react2['default'].createElement(
|
|
153
153
|
'div',
|
|
154
154
|
{ className:
|