fmui-base 2.2.13 → 2.2.15

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/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.2.15:一网通办打开表单报没有登录权限问题
7
+ - 2.2.14:一网通办首页添加主题色
6
8
  - 2.2.13:单行文本必填校验问题
7
9
  - 2.2.12:表单UI修改
8
10
  - 2.2.11:关联字段编辑方式为编辑时互相冲突问题解决
@@ -106,6 +106,7 @@ var MyGrid = function (_React$Component) {
106
106
  if (!pageTitle || pageTitle == '') {
107
107
  pageTitle = '一网通办管理平台';
108
108
  }
109
+ localStorage.setItem('themeColor', res.themeColor);
109
110
  setPageTitle(pageTitle);
110
111
  _this.setState({
111
112
  data: res.portlet
@@ -569,6 +570,9 @@ var MyGrid = function (_React$Component) {
569
570
  location.hash = url;
570
571
  } else {
571
572
  var fullUrl = window.location.href;
573
+ fullUrl = fullUrl.replace(/clientType/g, "");
574
+ fullUrl = fullUrl.replace(/thirdMenuType/g, "");
575
+ fullUrl = fullUrl.replace(/clientAppType/g, "");
572
576
  var mobilePath = module;
573
577
  if (module.indexOf("_") > 0) {
574
578
  var category = module.split("_")[0];
@@ -621,7 +625,7 @@ var MyGrid = function (_React$Component) {
621
625
  var componentContent = _react2.default.createElement(
622
626
  'div',
623
627
  null,
624
- _react2.default.createElement('img', { className: 't-PL10 t-PR10', style: { height: '88px', margin: 'auto', display: 'block' }, src: '../../../fmui/images/home/nodata.png' })
628
+ _react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
625
629
  );
626
630
  var componentHead = '';
627
631
  if (item.portletCode === 'banner') {
@@ -773,7 +777,7 @@ var MyGrid = function (_React$Component) {
773
777
  ) : _react2.default.createElement(
774
778
  'div',
775
779
  null,
776
- _react2.default.createElement('img', { className: 't-PL10 t-PR10', style: { height: '88px', margin: 'auto', display: 'block' }, src: '../../../fmui/images/home/nodata.png' })
780
+ _react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
777
781
  )
778
782
  ),
779
783
  _react2.default.createElement(
@@ -823,7 +827,7 @@ var MyGrid = function (_React$Component) {
823
827
  ) : _react2.default.createElement(
824
828
  'div',
825
829
  null,
826
- _react2.default.createElement('img', { className: 't-PL10 t-PR10', style: { height: '88px', margin: 'auto', display: 'block' }, src: '../../../fmui/images/home/nodata.png' })
830
+ _react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
827
831
  )
828
832
  )
829
833
  )
@@ -855,7 +859,7 @@ var MyGrid = function (_React$Component) {
855
859
  commonList = _react2.default.createElement(
856
860
  'div',
857
861
  null,
858
- _react2.default.createElement('img', { className: 't-PL10 t-PR10', style: { height: '88px', margin: 'auto', display: 'block' }, src: '../../../fmui/images/home/nodata.png' })
862
+ _react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
859
863
  );
860
864
  }
861
865
  }
@@ -886,7 +890,7 @@ var MyGrid = function (_React$Component) {
886
890
  colectionList = _react2.default.createElement(
887
891
  'div',
888
892
  null,
889
- _react2.default.createElement('img', { className: 't-PL10 t-PR10', style: { height: '88px', margin: 'auto', display: 'block' }, src: '../../../fmui/images/home/nodata.png' })
893
+ _react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
890
894
  );
891
895
  }
892
896
  }
@@ -1118,7 +1122,7 @@ var MyGrid = function (_React$Component) {
1118
1122
  { className: 'info-more-btn', onClick: t.jumpPage.bind(this, "/channelDetail/" + item.channelId + '/' + item.columnId + '/' + item.columnName) },
1119
1123
  '\u67E5\u770B\u66F4\u591A'
1120
1124
  )
1121
- ) : _react2.default.createElement('img', { className: 't-PL10 t-PR10 t-MT16', style: { height: '88px', margin: 'auto', display: 'block' }, src: '../../../fmui/images/home/nodata.png' })
1125
+ ) : _react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10 t-MT16', src: '../../../fmui/images/home/nodata.png' })
1122
1126
  );
1123
1127
  });
1124
1128
  }
@@ -1184,7 +1188,7 @@ var MyGrid = function (_React$Component) {
1184
1188
  gryjContent = _react2.default.createElement(
1185
1189
  'div',
1186
1190
  null,
1187
- _react2.default.createElement('img', { className: 't-PL10 t-PR10', style: { height: '88px', margin: 'auto', display: 'block' }, src: '../../../fmui/images/home/nodata.png' })
1191
+ _react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
1188
1192
  );
1189
1193
  }
1190
1194
  }
@@ -1239,7 +1243,7 @@ var MyGrid = function (_React$Component) {
1239
1243
  ggyjContent = _react2.default.createElement(
1240
1244
  'div',
1241
1245
  null,
1242
- _react2.default.createElement('img', { className: 't-PL10 t-PR10', style: { height: '88px', margin: 'auto', display: 'block' }, src: '../../../fmui/images/home/nodata.png' })
1246
+ _react2.default.createElement('img', { className: 'nodata t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
1243
1247
  );
1244
1248
  }
1245
1249
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.13",
3
+ "version": "2.2.15",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",