fmui-base 2.2.3 → 2.2.4

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,7 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.2.4:统一待办样式
6
7
  - 2.2.3:流程表单样式
7
8
  - 2.2.2:表单多行文本支持浮点型判断
8
9
  - 2.2.1:表单关联增加行隐藏参数
@@ -1070,28 +1070,27 @@ var PageHome = function (_React$Component2) {
1070
1070
  props.id + ' ' + props.name
1071
1071
  );
1072
1072
  };
1073
+ // let undoDiv = <div> 待办{this.state.titleCount.undo == 0 ? '' : <span style={{ color: 'red' }}>({this.state.titleCount.undo})</span>}</div>;
1074
+ // let unreadDiv = <div> 待阅{this.state.titleCount.unread == 0 ? '' : <span style={{ color: 'red' }}>({this.state.titleCount.unread})</span>}</div>;
1075
+
1073
1076
  var undoDiv = _react2.default.createElement(
1074
1077
  'div',
1075
- null,
1078
+ { className: 't-badge' },
1076
1079
  ' \u5F85\u529E',
1077
1080
  this.state.titleCount.undo == 0 ? '' : _react2.default.createElement(
1078
1081
  'span',
1079
- { style: { color: 'red' } },
1080
- '(',
1081
- this.state.titleCount.undo,
1082
- ')'
1082
+ { className: 'badge-inner' },
1083
+ this.state.titleCount.undo
1083
1084
  )
1084
1085
  );
1085
1086
  var unreadDiv = _react2.default.createElement(
1086
1087
  'div',
1087
- null,
1088
+ { className: 't-badge' },
1088
1089
  ' \u5F85\u9605',
1089
1090
  this.state.titleCount.unread == 0 ? '' : _react2.default.createElement(
1090
1091
  'span',
1091
- { style: { color: 'red' } },
1092
- '(',
1093
- this.state.titleCount.unread,
1094
- ')'
1092
+ { className: 'badge-inner' },
1093
+ this.state.titleCount.unread
1095
1094
  )
1096
1095
  );
1097
1096
  return _react2.default.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",