easy3wui 1.4.252 → 1.4.253
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/lib/Easy3wFlow/index.js +3 -3
- package/package.json +1 -1
package/lib/Easy3wFlow/index.js
CHANGED
|
@@ -87,7 +87,7 @@ var Easy3wFlow = function (_Component) {
|
|
|
87
87
|
switch (flowLength) {
|
|
88
88
|
case 2:
|
|
89
89
|
styleflowline = (0, _classnames2['default'])('flowline2');
|
|
90
|
-
styleflowtext = (0, _classnames2['default'])('
|
|
90
|
+
styleflowtext = (0, _classnames2['default'])('flowtext2');
|
|
91
91
|
break;
|
|
92
92
|
case 3:
|
|
93
93
|
styleflowline = (0, _classnames2['default'])('flowline3');
|
|
@@ -142,9 +142,9 @@ var Easy3wFlow = function (_Component) {
|
|
|
142
142
|
var renderTopTemp = flowData.map(function (flow, index) {
|
|
143
143
|
var styleflowcircle = (0, _classnames2['default'])(['flowcircle', 'haiergrey']);
|
|
144
144
|
if (flow.status === '10') {
|
|
145
|
-
styleflowcircle =
|
|
145
|
+
styleflowcircle = flowCurCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active-haierorange', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
|
|
146
146
|
} else if (flow.status === '20' || flow.status === '30') {
|
|
147
|
-
styleflowcircle =
|
|
147
|
+
styleflowcircle = flowCurCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active-haierblue', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
|
|
148
148
|
}
|
|
149
149
|
return _react2['default'].createElement(
|
|
150
150
|
'div',
|