@fle-ui/plus-im-record 0.0.8-beta.6 → 0.0.8-beta.7

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.
@@ -86,7 +86,11 @@ var ChatMessageItem = function ChatMessageItem(_ref) {
86
86
  className: "".concat(prefix, "-box")
87
87
  }, /*#__PURE__*/React.createElement("div", {
88
88
  className: classNames("".concat(prefix, "-date"), _defineProperty({}, "".concat(prefix, "-date-self"), isSelf))
89
- }, renderMsgDate()), /*#__PURE__*/React.createElement("div", {
89
+ }, !!msg.isOfflineMsg && /*#__PURE__*/React.createElement("span", {
90
+ className: "".concat(prefix, "-date-tag")
91
+ }, "\u7559"), accountInfo.type === 1 && /*#__PURE__*/React.createElement("span", {
92
+ className: "".concat(prefix, "-date-tag")
93
+ }, "\u5BA2\u670D-".concat(accountInfo.nickname)), renderMsgDate()), /*#__PURE__*/React.createElement("div", {
90
94
  className: "".concat(prefix, "-body"),
91
95
  style: {
92
96
  background: [imMsgTypes.video, imMsgTypes.order, imMsgTypes.product].includes(attach.type) ? 'transparent' : ''
@@ -79,6 +79,13 @@
79
79
  font-size: 12px;
80
80
  color: #aaa;
81
81
  margin-bottom: 4px;
82
+ &-tag {
83
+ background-color: rgba(239, 106, 15, 0.1);
84
+ color: #ef6a0f;
85
+ margin: 0 4px;
86
+ line-height: 1;
87
+ padding: 0 4px;
88
+ }
82
89
  }
83
90
  }
84
91
  // 对话-自己
@@ -92,7 +92,11 @@ var ChatMessageItem = function ChatMessageItem(_ref) {
92
92
  className: "".concat(prefix, "-box")
93
93
  }, /*#__PURE__*/_react.default.createElement("div", {
94
94
  className: (0, _classnames.default)("".concat(prefix, "-date"), _defineProperty({}, "".concat(prefix, "-date-self"), isSelf))
95
- }, renderMsgDate()), /*#__PURE__*/_react.default.createElement("div", {
95
+ }, !!msg.isOfflineMsg && /*#__PURE__*/_react.default.createElement("span", {
96
+ className: "".concat(prefix, "-date-tag")
97
+ }, "\u7559"), accountInfo.type === 1 && /*#__PURE__*/_react.default.createElement("span", {
98
+ className: "".concat(prefix, "-date-tag")
99
+ }, "\u5BA2\u670D-".concat(accountInfo.nickname)), renderMsgDate()), /*#__PURE__*/_react.default.createElement("div", {
96
100
  className: "".concat(prefix, "-body"),
97
101
  style: {
98
102
  background: [_const.imMsgTypes.video, _const.imMsgTypes.order, _const.imMsgTypes.product].includes(attach.type) ? 'transparent' : ''
@@ -79,6 +79,13 @@
79
79
  font-size: 12px;
80
80
  color: #aaa;
81
81
  margin-bottom: 4px;
82
+ &-tag {
83
+ background-color: rgba(239, 106, 15, 0.1);
84
+ color: #ef6a0f;
85
+ margin: 0 4px;
86
+ line-height: 1;
87
+ padding: 0 4px;
88
+ }
82
89
  }
83
90
  }
84
91
  // 对话-自己
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fle-ui/plus-im-record",
3
- "version": "0.0.8-beta.6",
3
+ "version": "0.0.8-beta.7",
4
4
  "description": "@fle-ui/plus-im-record",
5
5
  "keywords": [
6
6
  "fle-ui",
@@ -45,5 +45,5 @@
45
45
  "peerDependencies": {
46
46
  "react": ">=17.0.0"
47
47
  },
48
- "gitHead": "52aeefee080d3d3b254239c6dc0f79161e5635cd"
48
+ "gitHead": "a1178f92f20df51e4418dae926373bf58b22a9a7"
49
49
  }