easy3wui 1.4.260 → 1.4.261
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/formPage.css +2 -0
- package/assets/index.css +2 -0
- package/lib/Easy3wFormPage/index.js +17 -9
- package/package.json +1 -1
package/assets/formPage.css
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
.e3wFormPageNoBorder > div > .ant-row .ant-btn {
|
|
19
19
|
height: 24px;
|
|
20
|
+
color: blue;
|
|
20
21
|
}
|
|
21
22
|
.e3wFormPage {
|
|
22
23
|
border-top: 1px solid #e8e8e8;
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
}
|
|
31
32
|
.e3wFormPage > div > .ant-row .ant-btn {
|
|
32
33
|
height: 24px;
|
|
34
|
+
color: blue;
|
|
33
35
|
}
|
|
34
36
|
.e3wFormItem .ant-form-item {
|
|
35
37
|
margin-bottom: 8px;
|
package/assets/index.css
CHANGED
|
@@ -1617,6 +1617,7 @@ s {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
.e3wFormPageNoBorder > div > .ant-row .ant-btn {
|
|
1619
1619
|
height: 24px;
|
|
1620
|
+
color: blue;
|
|
1620
1621
|
}
|
|
1621
1622
|
.e3wFormPage {
|
|
1622
1623
|
border-top: 1px solid #e8e8e8;
|
|
@@ -1630,6 +1631,7 @@ s {
|
|
|
1630
1631
|
}
|
|
1631
1632
|
.e3wFormPage > div > .ant-row .ant-btn {
|
|
1632
1633
|
height: 24px;
|
|
1634
|
+
color: blue;
|
|
1633
1635
|
}
|
|
1634
1636
|
.e3wFormItem .ant-form-item {
|
|
1635
1637
|
margin-bottom: 8px;
|
|
@@ -1770,7 +1770,7 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1770
1770
|
var value = item.value;
|
|
1771
1771
|
|
|
1772
1772
|
return value;
|
|
1773
|
-
}, _this.btnHandler = function (obj,
|
|
1773
|
+
}, _this.btnHandler = function (obj, btnType) {
|
|
1774
1774
|
var func = obj.func,
|
|
1775
1775
|
cName = obj.cName,
|
|
1776
1776
|
confirmContent = obj.confirmContent;
|
|
@@ -1783,8 +1783,12 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1783
1783
|
} },
|
|
1784
1784
|
_react2['default'].createElement(
|
|
1785
1785
|
_button2['default'],
|
|
1786
|
-
{ className: (0, _classnames2['default'])([
|
|
1787
|
-
|
|
1786
|
+
{ className: (0, _classnames2['default'])([btnType === 'afterBtn' ? '' : 'e3wFootBtn']), size: 'small' },
|
|
1787
|
+
_react2['default'].createElement(
|
|
1788
|
+
'a',
|
|
1789
|
+
null,
|
|
1790
|
+
cName
|
|
1791
|
+
)
|
|
1788
1792
|
)
|
|
1789
1793
|
);
|
|
1790
1794
|
}
|
|
@@ -1794,12 +1798,16 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1794
1798
|
onClick: function onClick(e) {
|
|
1795
1799
|
return _this.onClickFunc(e, func);
|
|
1796
1800
|
},
|
|
1797
|
-
className: (0, _classnames2['default'])([
|
|
1801
|
+
className: (0, _classnames2['default'])([btnType === 'afterBtn' ? '' : 'e3wFootBtn']),
|
|
1798
1802
|
size: 'small'
|
|
1799
1803
|
},
|
|
1800
|
-
|
|
1804
|
+
_react2['default'].createElement(
|
|
1805
|
+
'a',
|
|
1806
|
+
null,
|
|
1807
|
+
cName
|
|
1808
|
+
)
|
|
1801
1809
|
);
|
|
1802
|
-
}, _this.aHandler = function (obj,
|
|
1810
|
+
}, _this.aHandler = function (obj, btnType) {
|
|
1803
1811
|
var func = obj.func,
|
|
1804
1812
|
cName = obj.cName;
|
|
1805
1813
|
|
|
@@ -1809,18 +1817,18 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1809
1817
|
onClick: function onClick(e) {
|
|
1810
1818
|
return _this.onClickFunc(e, func);
|
|
1811
1819
|
},
|
|
1812
|
-
className: (0, _classnames2['default'])([
|
|
1820
|
+
className: (0, _classnames2['default'])([btnType === 'afterBtn' ? '' : 'e3wFootBtn'])
|
|
1813
1821
|
},
|
|
1814
1822
|
cName
|
|
1815
1823
|
);
|
|
1816
|
-
}, _this.strHandler = function (obj,
|
|
1824
|
+
}, _this.strHandler = function (obj, btnType) {
|
|
1817
1825
|
var cName = obj.cName,
|
|
1818
1826
|
color = obj.color;
|
|
1819
1827
|
|
|
1820
1828
|
return _react2['default'].createElement(
|
|
1821
1829
|
'span',
|
|
1822
1830
|
{
|
|
1823
|
-
className: (0, _classnames2['default'])([
|
|
1831
|
+
className: (0, _classnames2['default'])([btnType === 'afterBtn' ? '' : 'e3wFootBtn']),
|
|
1824
1832
|
style: { color: color || '' }
|
|
1825
1833
|
},
|
|
1826
1834
|
cName
|