easy3wui 1.4.260 → 1.4.264

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.
@@ -17,6 +17,7 @@
17
17
  }
18
18
  .e3wFormPageNoBorder > div > .ant-row .ant-btn {
19
19
  height: 24px;
20
+ color: #5468b2;
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: #5468b2;
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: #5468b2;
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: #5468b2;
1633
1635
  }
1634
1636
  .e3wFormItem .ant-form-item {
1635
1637
  margin-bottom: 8px;
@@ -450,13 +450,13 @@ var Easy3wFormPage = function (_Component) {
450
450
  if (afterBtn) {
451
451
  var allBtn = afterBtn.map(function (btn) {
452
452
  if (btn.objType === 'btn') {
453
- return _this.btnHandler(btn, true);
453
+ return _this.btnHandler(btn, 'afterBtn');
454
454
  }
455
455
  if (btn.objType === 'a') {
456
- return _this.aHandler(btn, true);
456
+ return _this.aHandler(btn, 'afterBtn');
457
457
  }
458
458
  if (btn.objType === 'string') {
459
- return _this.strHandler(btn, true);
459
+ return _this.strHandler(btn, 'afterBtn');
460
460
  }
461
461
  return {};
462
462
  });
@@ -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, noMarginFlag) {
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'])([noMarginFlag ? '' : 'e3wFootBtn']), size: 'small' },
1787
- cName
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'])([noMarginFlag ? '' : 'e3wFootBtn']),
1801
+ className: (0, _classnames2['default'])([btnType === 'afterBtn' ? '' : 'e3wFootBtn']),
1798
1802
  size: 'small'
1799
1803
  },
1800
- cName
1804
+ _react2['default'].createElement(
1805
+ 'a',
1806
+ null,
1807
+ cName
1808
+ )
1801
1809
  );
1802
- }, _this.aHandler = function (obj, noMarginFlag) {
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'])([noMarginFlag ? '' : 'e3wFootBtn'])
1820
+ className: (0, _classnames2['default'])([btnType === 'afterBtn' ? '' : 'e3wFootBtn'])
1813
1821
  },
1814
1822
  cName
1815
1823
  );
1816
- }, _this.strHandler = function (obj, noMarginFlag) {
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'])([noMarginFlag ? '' : 'e3wFootBtn']),
1831
+ className: (0, _classnames2['default'])([btnType === 'afterBtn' ? '' : 'e3wFootBtn']),
1824
1832
  style: { color: color || '' }
1825
1833
  },
1826
1834
  cName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.4.260",
3
+ "version": "1.4.264",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",