easy3wui 1.4.206 → 1.4.210

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 CHANGED
@@ -307,7 +307,7 @@
307
307
  left: -50%;
308
308
  }
309
309
  /* 主节点活动节点样式*/
310
- .flowmain .flowcircle-active {
310
+ .flowmain .flowcircle-active-haierblue {
311
311
  float: left;
312
312
  margin-top: 5px;
313
313
  width: 22px;
@@ -320,8 +320,30 @@
320
320
  position: relative;
321
321
  left: -50%;
322
322
  }
323
- .flowmain .flowcircle-active::before {
324
- border-bottom: 2px solid;
323
+ .flowmain .flowcircle-active-haierblue::before {
324
+ border-bottom: 2px solid #5867ad;
325
+ content: '';
326
+ height: 2px;
327
+ width: 100%;
328
+ position: absolute;
329
+ bottom: -4px;
330
+ right: 0;
331
+ }
332
+ .flowmain .flowcircle-active-haierorange {
333
+ float: left;
334
+ margin-top: 5px;
335
+ width: 22px;
336
+ height: 22px;
337
+ line-height: 22px;
338
+ text-align: center;
339
+ border-radius: 50%;
340
+ color: #fff;
341
+ /*浮动区块居中,必须配合.float-center使用*/
342
+ position: relative;
343
+ left: -50%;
344
+ }
345
+ .flowmain .flowcircle-active-haierorange::before {
346
+ border-bottom: 2px solid #ad7c59;
325
347
  content: '';
326
348
  height: 2px;
327
349
  width: 100%;
package/assets/index.css CHANGED
@@ -752,7 +752,7 @@ s {
752
752
  left: -50%;
753
753
  }
754
754
  /* 主节点活动节点样式*/
755
- .flowmain .flowcircle-active {
755
+ .flowmain .flowcircle-active-haierblue {
756
756
  float: left;
757
757
  margin-top: 5px;
758
758
  width: 22px;
@@ -765,8 +765,30 @@ s {
765
765
  position: relative;
766
766
  left: -50%;
767
767
  }
768
- .flowmain .flowcircle-active::before {
769
- border-bottom: 2px solid;
768
+ .flowmain .flowcircle-active-haierblue::before {
769
+ border-bottom: 2px solid #5867ad;
770
+ content: '';
771
+ height: 2px;
772
+ width: 100%;
773
+ position: absolute;
774
+ bottom: -4px;
775
+ right: 0;
776
+ }
777
+ .flowmain .flowcircle-active-haierorange {
778
+ float: left;
779
+ margin-top: 5px;
780
+ width: 22px;
781
+ height: 22px;
782
+ line-height: 22px;
783
+ text-align: center;
784
+ border-radius: 50%;
785
+ color: #fff;
786
+ /*浮动区块居中,必须配合.float-center使用*/
787
+ position: relative;
788
+ left: -50%;
789
+ }
790
+ .flowmain .flowcircle-active-haierorange::before {
791
+ border-bottom: 2px solid #ad7c59;
770
792
  content: '';
771
793
  height: 2px;
772
794
  width: 100%;
@@ -128,12 +128,15 @@ var Easy3wFlow = function (_Component) {
128
128
  picTrianglePath = _this$props.picTrianglePath,
129
129
  flowCurMainCode = _this$props.flowCurMainCode;
130
130
 
131
+
131
132
  var renderTopTemp = flowData.map(function (flow, index) {
132
133
  var styleflowcircle = (0, _classnames2['default'])(['flowcircle', 'haiergrey']);
133
134
  if (flow.status === '10') {
134
- styleflowcircle = flowCurMainCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
135
+ var initMainCode = flowCurMainCode || flow.code;
136
+ styleflowcircle = initMainCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active-haierorange', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
135
137
  } else if (flow.status === '20' || flow.status === '30') {
136
- styleflowcircle = flowCurMainCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
138
+ var _initMainCode = flowCurMainCode || flowData[0].code;
139
+ styleflowcircle = _initMainCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active-haierblue', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
137
140
  }
138
141
  return _react2['default'].createElement(
139
142
  'div',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.4.206",
3
+ "version": "1.4.210",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",