@titaui/pc 1.10.9 → 1.10.10
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/lib/components/change-okr-modal/index.js +108 -87
- package/lib/components/communication/CommunicationRecord.js +21 -15
- package/lib/components/communication/index.css +50 -10
- package/lib/components/communication/index.js +67 -28
- package/lib/components/communication/style.js +8 -6
- package/lib/components/create-okr-modal/fields/okr-parent.js +1 -5
- package/lib/components/dynamic/components/obj-status/index.css +3 -19
- package/lib/components/dynamic/components/obj-status/index.js +7 -8
- package/lib/components/dynamic/components/obj-status/utils.js +37 -0
- package/lib/components/dynamic/components/percent/index.css +1 -1
- package/lib/components/dynamic/components/title/index.css +21 -22
- package/lib/components/dynamic/components/title/index.js +20 -8
- package/lib/components/dynamic/dynamic-item/components/header/index.css +8 -7
- package/lib/components/dynamic/dynamic-item/components/header/index.js +12 -6
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align-kr.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align-o.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +41 -32
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +49 -31
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +6 -34
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.js +6 -32
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +59 -19
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +27 -19
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +52 -41
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +53 -43
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +41 -29
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +23 -29
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +33 -16
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +11 -24
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.css +26 -41
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.js +10 -29
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.css +26 -41
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.js +13 -30
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +15 -57
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +31 -80
- package/lib/components/dynamic/dynamic-item/dynamic-progress/utils.js +72 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +36 -29
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +10 -23
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela-kr.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela-o.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela-project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela-task.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela.svg +23 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +52 -35
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +55 -35
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.css +20 -18
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.js +11 -17
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +21 -23
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +31 -27
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.css +4 -4
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.js +8 -18
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +6 -21
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +6 -36
- package/lib/components/dynamic/dynamic-item/dynamic-share-to-dynamic/img/dynamic-share-course.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-share-to-dynamic/index.css +11 -19
- package/lib/components/dynamic/dynamic-item/dynamic-share-to-dynamic/index.js +9 -25
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +34 -30
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +10 -24
- package/lib/components/dynamic/dynamic-item/index.css +4 -4
- package/lib/components/dynamic/dynamic-item/index.js +38 -8
- package/lib/components/dynamic/img/dynamic-point.svg +13 -0
- package/lib/components/dynamic/util.js +41 -81
- package/lib/components/file-list/components/single-file/index.css +9 -8
- package/lib/components/file-list/components/single-file/index.js +1 -1
- package/lib/components/follower-visitor/index.js +6 -4
- package/lib/components/mblog/context.js +3 -1
- package/lib/components/mblog/index.css +7 -0
- package/lib/components/mblog/index.js +31 -4
- package/lib/components/mblog/style.js +4 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +21 -12
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-empty.js +7 -4
- package/lib/components/okr-detail/okr-list/index.js +1 -5
- package/lib/components/progress/circle-progress/index.css +1 -0
- package/lib/components/progress/circle-progress/index.js +8 -3
- package/lib/components/search-key-handle/index.js +7 -2
- package/lib/utils/bs-global.js +13 -9
- package/lib/utils/tools.js +11 -2
- package/package.json +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-relative.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/dynamic-milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/img/okrs-icon.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/img/plan-icon.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/dynamic-project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-relative.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-share-to-dynamic/img/guanlian.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-icon.png +0 -0
|
@@ -19,18 +19,26 @@ var _openData = require("../../../../utils/open-data");
|
|
|
19
19
|
|
|
20
20
|
var _constant = require("../../constant");
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _dynamicRela = _interopRequireDefault(require("./img/dynamic-rela.svg"));
|
|
23
23
|
|
|
24
24
|
var _drawerManager = _interopRequireDefault(require("../../../drawer-manager"));
|
|
25
25
|
|
|
26
|
-
var _util = require("../../util");
|
|
27
|
-
|
|
28
26
|
var _context = require("../../context");
|
|
29
27
|
|
|
30
28
|
var _searchKeyHandle = _interopRequireDefault(require("../../../search-key-handle"));
|
|
31
29
|
|
|
32
30
|
var _getLocale = require("../../../../utils/getLocale");
|
|
33
31
|
|
|
32
|
+
var _dynamicRelaO = _interopRequireDefault(require("./img/dynamic-rela-o.png"));
|
|
33
|
+
|
|
34
|
+
var _dynamicRelaKr = _interopRequireDefault(require("./img/dynamic-rela-kr.png"));
|
|
35
|
+
|
|
36
|
+
var _dynamicRelaProject = _interopRequireDefault(require("./img/dynamic-rela-project.png"));
|
|
37
|
+
|
|
38
|
+
var _dynamicRelaTask = _interopRequireDefault(require("./img/dynamic-rela-task.png"));
|
|
39
|
+
|
|
40
|
+
var _dynamicPoint = _interopRequireDefault(require("../../img/dynamic-point.svg"));
|
|
41
|
+
|
|
34
42
|
require("./index.css");
|
|
35
43
|
|
|
36
44
|
var _excluded = ["data"];
|
|
@@ -41,6 +49,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
41
49
|
|
|
42
50
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
43
51
|
|
|
52
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
53
|
+
|
|
44
54
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
45
55
|
|
|
46
56
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
@@ -50,6 +60,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
50
60
|
var prefix = "titaui-dynamic-relative-item";
|
|
51
61
|
|
|
52
62
|
var DynamicRelative = function DynamicRelative(_ref) {
|
|
63
|
+
var _classNames, _classNames2;
|
|
64
|
+
|
|
53
65
|
var data = _ref.data,
|
|
54
66
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
55
67
|
|
|
@@ -68,10 +80,6 @@ var DynamicRelative = function DynamicRelative(_ref) {
|
|
|
68
80
|
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
69
81
|
searchKeyWord = _useContext.searchKeyWord;
|
|
70
82
|
|
|
71
|
-
var _getFeedTypeAndTypeCo = (0, _util.getFeedTypeAndTypeColor)(data.feedType),
|
|
72
|
-
feedTypeText = _getFeedTypeAndTypeCo.feedTypeText,
|
|
73
|
-
feedTypeColor = _getFeedTypeAndTypeCo.feedTypeColor;
|
|
74
|
-
|
|
75
83
|
var handleClickTitle = function handleClickTitle(id, type) {
|
|
76
84
|
if (type === _constant.EObjType.Kr) {
|
|
77
85
|
_drawerManager["default"].open("krDetail", {
|
|
@@ -86,7 +94,7 @@ var DynamicRelative = function DynamicRelative(_ref) {
|
|
|
86
94
|
}
|
|
87
95
|
|
|
88
96
|
if (type === _constant.EObjType.Project) {
|
|
89
|
-
window.open(window.location.href.replace(location.hash, "#work?iTalentNavCode=tita-work&work_id=".concat(id)));
|
|
97
|
+
window.open(window.location.href.replace(window.location.hash, "#work?iTalentNavCode=tita-work&work_id=".concat(id)));
|
|
90
98
|
}
|
|
91
99
|
|
|
92
100
|
if (type === _constant.EObjType.Task) {
|
|
@@ -105,14 +113,9 @@ var DynamicRelative = function DynamicRelative(_ref) {
|
|
|
105
113
|
text = "".concat((0, _getLocale.getLocale)("Mod_Connected")).concat((0, _getLocale.getLocale)("Mod_Objective"));
|
|
106
114
|
}
|
|
107
115
|
|
|
108
|
-
return /*#__PURE__*/_react["default"].createElement(
|
|
116
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
109
117
|
className: "".concat(prefix, "__operate-desc")
|
|
110
|
-
}, text)
|
|
111
|
-
className: "".concat(prefix, "-desc-operate-type"),
|
|
112
|
-
style: {
|
|
113
|
-
background: feedTypeColor
|
|
114
|
-
}
|
|
115
|
-
}, feedTypeText));
|
|
118
|
+
}, text);
|
|
116
119
|
}, []);
|
|
117
120
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
118
121
|
className: prefix
|
|
@@ -127,12 +130,15 @@ var DynamicRelative = function DynamicRelative(_ref) {
|
|
|
127
130
|
className: "".concat(prefix, "__obj")
|
|
128
131
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
129
132
|
className: "".concat(prefix, "__obj-base-info")
|
|
130
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
131
|
-
className: (0, _classnames["default"])("".concat(prefix, "__obj-base-info-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
134
|
+
className: (0, _classnames["default"])("".concat(prefix, "__obj-base-info-left"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefix, "__obj-base-info-left--o"), relateObjType === _constant.EObjType.O), _defineProperty(_classNames, "".concat(prefix, "__obj-base-info-left--kr"), relateObjType === _constant.EObjType.Kr), _classNames))
|
|
135
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
136
|
+
alt: "",
|
|
137
|
+
className: "".concat(prefix, "__obj-base-info-left-img"),
|
|
138
|
+
src: relateObjType === _constant.EObjType.O ? _dynamicRelaO["default"] : _dynamicRelaKr["default"]
|
|
139
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
140
|
+
className: "".concat(prefix, "__obj-base-info-right")
|
|
141
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
136
142
|
className: "".concat(prefix, "__obj-title"),
|
|
137
143
|
onClick: function onClick() {
|
|
138
144
|
handleClickTitle(relateObjId, relateObjType);
|
|
@@ -143,28 +149,37 @@ var DynamicRelative = function DynamicRelative(_ref) {
|
|
|
143
149
|
str: relateObjName,
|
|
144
150
|
keyWord: searchKeyWord
|
|
145
151
|
})
|
|
146
|
-
}))
|
|
152
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
153
|
+
className: "".concat(prefix, "__obj-other-info")
|
|
154
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
147
155
|
className: "".concat(prefix, "__obj-principal-user")
|
|
148
156
|
}, rObjprincipalUser && /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
149
157
|
id: rObjprincipalUser.userId,
|
|
150
158
|
name: rObjprincipalUser.name
|
|
151
|
-
})), /*#__PURE__*/_react["default"].createElement("
|
|
159
|
+
})), /*#__PURE__*/_react["default"].createElement("img", {
|
|
160
|
+
src: _dynamicPoint["default"],
|
|
161
|
+
alt: ""
|
|
162
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
152
163
|
className: "".concat(prefix, "__obj-cycle")
|
|
153
|
-
}, rObjCycleName))), /*#__PURE__*/_react["default"].createElement("img", {
|
|
154
|
-
className: "".concat(prefix, "
|
|
155
|
-
src:
|
|
164
|
+
}, rObjCycleName))))), /*#__PURE__*/_react["default"].createElement("img", {
|
|
165
|
+
className: "".concat(prefix, "__rela-img"),
|
|
166
|
+
src: _dynamicRela["default"],
|
|
167
|
+
alt: ""
|
|
156
168
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
157
169
|
className: "".concat(prefix, "__space")
|
|
158
170
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
159
171
|
className: "".concat(prefix, "__obj")
|
|
160
172
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
161
173
|
className: "".concat(prefix, "__obj-base-info")
|
|
162
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
163
|
-
className: (0, _classnames["default"])("".concat(prefix, "__obj-base-info-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
174
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
175
|
+
className: (0, _classnames["default"])("".concat(prefix, "__obj-base-info-left"), (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefix, "__obj-base-info-left--task"), objType === _constant.EObjType.Task), _defineProperty(_classNames2, "".concat(prefix, "__obj-base-info-left--project"), objType === _constant.EObjType.Project), _classNames2))
|
|
176
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
177
|
+
alt: "",
|
|
178
|
+
className: "".concat(prefix, "__obj-base-info-left-img"),
|
|
179
|
+
src: objType === _constant.EObjType.Task ? _dynamicRelaTask["default"] : _dynamicRelaProject["default"]
|
|
180
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
181
|
+
className: "".concat(prefix, "__obj-base-info-right")
|
|
182
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
168
183
|
className: "".concat(prefix, "__obj-title"),
|
|
169
184
|
onClick: function onClick() {
|
|
170
185
|
handleClickTitle(objId, objType);
|
|
@@ -172,14 +187,19 @@ var DynamicRelative = function DynamicRelative(_ref) {
|
|
|
172
187
|
}, /*#__PURE__*/_react["default"].createElement(_tooltip["default"].Text, {
|
|
173
188
|
isPercent: true,
|
|
174
189
|
text: objName
|
|
175
|
-
}))
|
|
190
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
191
|
+
className: "".concat(prefix, "__obj-other-info")
|
|
192
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
176
193
|
className: "".concat(prefix, "__obj-principal-user")
|
|
177
194
|
}, objPrincipalUser && /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
178
195
|
id: objPrincipalUser.userId,
|
|
179
196
|
name: objPrincipalUser.name
|
|
180
|
-
})), /*#__PURE__*/_react["default"].createElement("
|
|
197
|
+
})), /*#__PURE__*/_react["default"].createElement("img", {
|
|
198
|
+
src: _dynamicPoint["default"],
|
|
199
|
+
alt: ""
|
|
200
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
181
201
|
className: "".concat(prefix, "__obj-cycle")
|
|
182
|
-
}, objCycleName)))));
|
|
202
|
+
}, objCycleName)))))));
|
|
183
203
|
};
|
|
184
204
|
|
|
185
205
|
var _default = DynamicRelative;
|
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-reply-item__content {
|
|
6
|
-
margin-left:
|
|
6
|
+
margin-left: 88px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.titaui-dynamic-reply-item__content-title {
|
|
10
|
+
display: flex;
|
|
11
|
+
overflow: hidden;
|
|
7
12
|
}
|
|
8
13
|
|
|
9
14
|
.titaui-dynamic-reply-item__detail {
|
|
10
|
-
margin-top:
|
|
15
|
+
margin-top: 14px;
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
.titaui-dynamic-reply-item__detail-gain {
|
|
@@ -18,6 +23,10 @@
|
|
|
18
23
|
margin-bottom: 16px;
|
|
19
24
|
}
|
|
20
25
|
|
|
26
|
+
.titaui-dynamic-reply-item__detail-drawback:last-of-type {
|
|
27
|
+
margin-bottom: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
21
30
|
.titaui-dynamic-reply-item__detail-tasks-item {
|
|
22
31
|
display: flex;
|
|
23
32
|
align-items: center;
|
|
@@ -43,25 +52,15 @@
|
|
|
43
52
|
}
|
|
44
53
|
|
|
45
54
|
.titaui-dynamic-reply-item__detail-block-title {
|
|
46
|
-
font-size:
|
|
55
|
+
font-size: 16px;
|
|
47
56
|
font-weight: 600;
|
|
48
57
|
color: #3f4755;
|
|
49
|
-
line-height:
|
|
58
|
+
line-height: 24px;
|
|
50
59
|
display: flex;
|
|
51
60
|
align-items: center;
|
|
52
61
|
margin-bottom: 8px;
|
|
53
62
|
}
|
|
54
63
|
|
|
55
|
-
.titaui-dynamic-reply-item__detail-block-title::before {
|
|
56
|
-
content: '';
|
|
57
|
-
display: inline-block;
|
|
58
|
-
width: 4px;
|
|
59
|
-
height: 12px;
|
|
60
|
-
background: linear-gradient(180deg, #2879ff 0%, #9fbfff 100%);
|
|
61
|
-
border-radius: 2px;
|
|
62
|
-
margin-right: 4px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
64
|
.titaui-dynamic-reply-item__detail-block-title--sub {
|
|
66
65
|
display: flex;
|
|
67
66
|
align-items: center;
|
|
@@ -90,10 +89,13 @@
|
|
|
90
89
|
color: #6f7886;
|
|
91
90
|
line-height: 22px;
|
|
92
91
|
margin-bottom: 4px;
|
|
93
|
-
margin-left: 8px;
|
|
94
92
|
white-space: pre-wrap;
|
|
95
93
|
}
|
|
96
94
|
|
|
95
|
+
.titaui-dynamic-reply-item__detail-block-content:last-of-type {
|
|
96
|
+
margin-bottom: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
97
99
|
.titaui-dynamic-reply-item__detail-block-content--sub {
|
|
98
100
|
margin-left: 20px;
|
|
99
101
|
}
|
|
@@ -112,11 +114,11 @@
|
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
.titaui-dynamic-reply-item__operate-desc {
|
|
115
|
-
font-size:
|
|
117
|
+
font-size: 16px;
|
|
116
118
|
font-weight: 400;
|
|
117
119
|
color: #89919f;
|
|
118
|
-
line-height:
|
|
119
|
-
margin:
|
|
120
|
+
line-height: 24px;
|
|
121
|
+
margin-left: 4px;
|
|
120
122
|
overflow: hidden;
|
|
121
123
|
}
|
|
122
124
|
|
|
@@ -23,8 +23,6 @@ var _constant = require("../../constant");
|
|
|
23
23
|
|
|
24
24
|
var _title = _interopRequireDefault(require("../../components/title"));
|
|
25
25
|
|
|
26
|
-
var _util = require("../../util");
|
|
27
|
-
|
|
28
26
|
var _tooltip = _interopRequireDefault(require("../../../tooltip"));
|
|
29
27
|
|
|
30
28
|
var _getLocale = require("../../../../utils/getLocale");
|
|
@@ -57,13 +55,8 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
57
55
|
searchKeyWord = _useContext.searchKeyWord;
|
|
58
56
|
|
|
59
57
|
var replayObjType = data.replayObjType,
|
|
60
|
-
feedType = data.feedType,
|
|
61
58
|
publishUser = data.publishUser;
|
|
62
59
|
|
|
63
|
-
var _getFeedTypeAndTypeCo = (0, _util.getFeedTypeAndTypeColor)(feedType),
|
|
64
|
-
feedTypeText = _getFeedTypeAndTypeCo.feedTypeText,
|
|
65
|
-
feedTypeColor = _getFeedTypeAndTypeCo.feedTypeColor;
|
|
66
|
-
|
|
67
60
|
var handleShowTaskDrawer = function handleShowTaskDrawer(taskId) {
|
|
68
61
|
window.Talent.app.vent.trigger("global-pull-screen", taskId, "task");
|
|
69
62
|
};
|
|
@@ -107,14 +100,9 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
107
100
|
})), "\u4E0B\u5173\u952E\u6210\u679C\u7684\u590D\u76D8");
|
|
108
101
|
}
|
|
109
102
|
|
|
110
|
-
return /*#__PURE__*/_react["default"].createElement(
|
|
103
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
111
104
|
className: "".concat(prefix, "__operate-desc")
|
|
112
|
-
}, dom)
|
|
113
|
-
className: "".concat(prefix, "-desc-operate-type"),
|
|
114
|
-
style: {
|
|
115
|
-
background: feedTypeColor
|
|
116
|
-
}
|
|
117
|
-
}, feedTypeText));
|
|
105
|
+
}, dom);
|
|
118
106
|
}, []);
|
|
119
107
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
120
108
|
className: prefix
|
|
@@ -125,10 +113,16 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
125
113
|
user: publishUser
|
|
126
114
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
127
115
|
className: "".concat(prefix, "__content")
|
|
116
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
117
|
+
className: "".concat(prefix, "__content-title")
|
|
128
118
|
}, /*#__PURE__*/_react["default"].createElement(_title["default"], {
|
|
129
|
-
content:
|
|
130
|
-
onClickTitle: handleClickTitle
|
|
131
|
-
|
|
119
|
+
content: data.replayObjName,
|
|
120
|
+
onClickTitle: handleClickTitle,
|
|
121
|
+
type: "".concat(data.replayObjType === 65 ? "KR" : (0, _getLocale.getLocale)("Mod_Objective")),
|
|
122
|
+
typeBgColor: "".concat(data.replayObjType === 65 ? "rgba(90, 216, 166, 0.5)" : "rgba(40, 121, 255, 0.5)"),
|
|
123
|
+
titleBgColor: "".concat(data.replayObjType === 65 ? "rgba(90, 216, 166, 0.1)" : "rgba(40, 121, 255, 0.1)"),
|
|
124
|
+
contentColor: "".concat(data.replayObjType === 65 ? "#5AD8A6" : "#2879FF")
|
|
125
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
132
126
|
className: "".concat(prefix, "__detail")
|
|
133
127
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
134
128
|
className: "".concat(prefix, "__detail-gain")
|
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-report-item__content {
|
|
6
|
-
margin-left:
|
|
6
|
+
margin-left: 88px;
|
|
7
7
|
line-height: 24px;
|
|
8
8
|
word-wrap: break-word;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
.titaui-dynamic-report-item__content-title {
|
|
12
|
+
display: flex;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
}
|
|
15
|
+
|
|
11
16
|
.titaui-dynamic-report-item__content ul {
|
|
12
17
|
list-style-type: disc;
|
|
13
18
|
padding-left: 20px;
|
|
@@ -81,11 +86,11 @@
|
|
|
81
86
|
}
|
|
82
87
|
|
|
83
88
|
.titaui-dynamic-report-item__block-title::before {
|
|
84
|
-
content:
|
|
89
|
+
content: '';
|
|
85
90
|
display: inline-block;
|
|
86
91
|
width: 4px;
|
|
87
92
|
height: 12px;
|
|
88
|
-
background:
|
|
93
|
+
background: #2879ff;
|
|
89
94
|
border-radius: 2px;
|
|
90
95
|
margin-right: 4px;
|
|
91
96
|
}
|
|
@@ -97,32 +102,38 @@
|
|
|
97
102
|
.titaui-dynamic-report-item__complete-type {
|
|
98
103
|
display: flex;
|
|
99
104
|
align-items: center;
|
|
100
|
-
font-size:
|
|
101
|
-
line-height:
|
|
105
|
+
font-size: 12px;
|
|
106
|
+
line-height: 18px;
|
|
102
107
|
margin-left: 8px;
|
|
108
|
+
border-radius: 12px;
|
|
109
|
+
padding: 2px 8px;
|
|
103
110
|
}
|
|
104
111
|
|
|
105
112
|
.titaui-dynamic-report-item__complete-type-icon {
|
|
106
113
|
margin-right: 4px;
|
|
107
114
|
display: inline-block;
|
|
108
|
-
width:
|
|
109
|
-
height:
|
|
115
|
+
width: 14px;
|
|
116
|
+
height: 14px;
|
|
110
117
|
}
|
|
111
118
|
|
|
112
119
|
.titaui-dynamic-report-item__complete-type-icon--normal {
|
|
113
120
|
background: url("../../img/dynamic-submit-normal.svg") no-repeat;
|
|
121
|
+
background-size: 14px;
|
|
114
122
|
}
|
|
115
123
|
|
|
116
124
|
.titaui-dynamic-report-item__complete-type-icon--delay {
|
|
117
125
|
background: url("../../img/dynamic-submit-delay.svg") no-repeat;
|
|
126
|
+
background-size: 14px;
|
|
118
127
|
}
|
|
119
128
|
|
|
120
129
|
.titaui-dynamic-report-item__complete-type--normal {
|
|
121
130
|
color: #5ad8a6;
|
|
131
|
+
background-color: rgba(90, 216, 166, 0.16);
|
|
122
132
|
}
|
|
123
133
|
|
|
124
134
|
.titaui-dynamic-report-item__complete-type--delay {
|
|
125
135
|
color: #624dff;
|
|
136
|
+
background-color: rgba(98, 77, 255, 0.16);
|
|
126
137
|
}
|
|
127
138
|
|
|
128
139
|
.titaui-dynamic-report-item .highlight {
|
|
@@ -130,23 +141,10 @@
|
|
|
130
141
|
}
|
|
131
142
|
|
|
132
143
|
.titaui-dynamic-report-item__operate-desc {
|
|
133
|
-
font-size:
|
|
144
|
+
font-size: 16px;
|
|
134
145
|
font-weight: 400;
|
|
135
146
|
color: #89919f;
|
|
136
|
-
line-height:
|
|
137
|
-
margin:
|
|
147
|
+
line-height: 24px;
|
|
148
|
+
margin-left: 4px;
|
|
138
149
|
overflow: hidden;
|
|
139
150
|
}
|
|
140
|
-
|
|
141
|
-
.titaui-dynamic-report-item-desc-operate-type {
|
|
142
|
-
display: inline-flex;
|
|
143
|
-
align-items: center;
|
|
144
|
-
justify-content: center;
|
|
145
|
-
padding: 0 6px;
|
|
146
|
-
height: 18px;
|
|
147
|
-
min-width: 40px;
|
|
148
|
-
border-radius: 10px 10px 10px 2px;
|
|
149
|
-
font-size: 12px;
|
|
150
|
-
color: #ffffff;
|
|
151
|
-
line-height: 18px;
|
|
152
|
-
}
|
|
@@ -21,12 +21,10 @@ var _tools = require("../../../../utils/tools");
|
|
|
21
21
|
|
|
22
22
|
var _title = _interopRequireDefault(require("../../components/title"));
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _getLocale = require("../../../../utils/getLocale");
|
|
25
25
|
|
|
26
26
|
require("./index.css");
|
|
27
27
|
|
|
28
|
-
var _getLocale = require("../../../../utils/getLocale");
|
|
29
|
-
|
|
30
28
|
var _excluded = ["data"];
|
|
31
29
|
|
|
32
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -43,11 +41,15 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
43
41
|
|
|
44
42
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
45
43
|
|
|
46
|
-
var
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
var getEReportType = function getEReportType(type) {
|
|
45
|
+
var reportTextMap = {
|
|
46
|
+
8: (0, _getLocale.getLocale)("Rep_Tab_Dailynewspaper"),
|
|
47
|
+
26: (0, _getLocale.getLocale)("Rep_Tab_Weeklynewspaper"),
|
|
48
|
+
27: (0, _getLocale.getLocale)("Rep_Tab_MonthlyReport")
|
|
49
|
+
};
|
|
50
|
+
return reportTextMap[type];
|
|
50
51
|
};
|
|
52
|
+
|
|
51
53
|
var prefix = "titaui-dynamic-report-item";
|
|
52
54
|
|
|
53
55
|
var DynamicReply = function DynamicReply(_ref) {
|
|
@@ -56,21 +58,17 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
56
58
|
|
|
57
59
|
var submitState = data.submitState,
|
|
58
60
|
feedId = data.feedId,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
publishUser = data.publishUser,
|
|
62
|
+
reportType = data.reportType;
|
|
61
63
|
var contentRichTextRef = (0, _react.useRef)();
|
|
62
64
|
var workPlanRichTextRef = (0, _react.useRef)();
|
|
63
65
|
|
|
64
66
|
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
65
67
|
searchKeyWord = _useContext.searchKeyWord;
|
|
66
68
|
|
|
67
|
-
var _getFeedTypeAndTypeCo = (0, _util.getFeedTypeAndTypeColor)(feedType),
|
|
68
|
-
feedTypeText = _getFeedTypeAndTypeCo.feedTypeText,
|
|
69
|
-
feedTypeColor = _getFeedTypeAndTypeCo.feedTypeColor;
|
|
70
|
-
|
|
71
69
|
var handleClickTitle = function handleClickTitle() {
|
|
72
70
|
// @ts-ignore
|
|
73
|
-
Talent.app.vent.trigger("global-daily-detail-pull-screen", feedId);
|
|
71
|
+
window.Talent.app.vent.trigger("global-daily-detail-pull-screen", feedId);
|
|
74
72
|
};
|
|
75
73
|
|
|
76
74
|
var renderSuffix = (0, _react.useMemo)(function () {
|
|
@@ -80,17 +78,17 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
80
78
|
className: (0, _classnames["default"])("".concat(prefix, "__complete-type"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefix, "__complete-type--normal"), submitState === 1), _defineProperty(_classNames, "".concat(prefix, "__complete-type--delay"), submitState === 2), _classNames))
|
|
81
79
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
82
80
|
className: (0, _classnames["default"])("".concat(prefix, "__complete-type-icon"), (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefix, "__complete-type-icon--normal"), submitState === 1), _defineProperty(_classNames2, "".concat(prefix, "__complete-type-icon--delay"), submitState === 2), _classNames2))
|
|
83
|
-
}), submitState === 1 ? (0, _getLocale.getLocale)("Rep_Tab_Mys_Submitontime") : (0, _getLocale.getLocale)("
|
|
81
|
+
}), submitState === 1 ? (0, _getLocale.getLocale)("Rep_Tab_Mys_Submitontime") : (0, _getLocale.getLocale)("Tasks_Tab_DelaSubmission"));
|
|
84
82
|
}, []);
|
|
85
83
|
var renderDesc = (0, _react.useMemo)(function () {
|
|
86
|
-
|
|
84
|
+
var reportTextMap = {
|
|
85
|
+
8: (0, _getLocale.getLocale)("Rep_Tab_Mys_Dailynewsp"),
|
|
86
|
+
26: (0, _getLocale.getLocale)("Rep_Tab_Mys_sweeklyReport"),
|
|
87
|
+
27: (0, _getLocale.getLocale)("Rep_Tab_Sub_monthlyeport")
|
|
88
|
+
};
|
|
89
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
87
90
|
className: "".concat(prefix, "__operate-desc")
|
|
88
|
-
},
|
|
89
|
-
className: "".concat(prefix, "-desc-operate-type"),
|
|
90
|
-
style: {
|
|
91
|
-
background: feedTypeColor
|
|
92
|
-
}
|
|
93
|
-
}, feedTypeText));
|
|
91
|
+
}, reportTextMap[reportType]);
|
|
94
92
|
}, []);
|
|
95
93
|
(0, _react.useEffect)(function () {
|
|
96
94
|
(0, _tools.highLightWord)({
|
|
@@ -108,14 +106,20 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
108
106
|
data: data
|
|
109
107
|
}, restProps, {
|
|
110
108
|
desc: renderDesc,
|
|
111
|
-
user: publishUser
|
|
109
|
+
user: publishUser,
|
|
110
|
+
suffixContent: renderSuffix
|
|
112
111
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
113
112
|
className: "".concat(prefix, "__content")
|
|
113
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
114
|
+
className: "".concat(prefix, "__content-title")
|
|
114
115
|
}, /*#__PURE__*/_react["default"].createElement(_title["default"], {
|
|
115
|
-
content:
|
|
116
|
+
content: data.name,
|
|
116
117
|
onClickTitle: handleClickTitle,
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
type: getEReportType(reportType),
|
|
119
|
+
typeBgColor: "rgba(92, 142, 255, 0.5)",
|
|
120
|
+
titleBgColor: "rgba(92, 142, 255, 0.1)",
|
|
121
|
+
contentColor: "#5C8EFF"
|
|
122
|
+
})), data.contentRichText && /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
123
|
className: "".concat(prefix, "__summary")
|
|
120
124
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
121
125
|
className: "".concat(prefix, "__block-title")
|
|
@@ -128,7 +132,7 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
128
132
|
className: "".concat(prefix, "__work-plan")
|
|
129
133
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
130
134
|
className: "".concat(prefix, "__block-title")
|
|
131
|
-
}, "
|
|
135
|
+
}, (0, _getLocale.getLocale)("Rep_Tab_Mys_NextWorkPlans")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
132
136
|
className: "".concat(prefix, "__content-text"),
|
|
133
137
|
ref: workPlanRichTextRef
|
|
134
138
|
}, /*#__PURE__*/_react["default"].createElement(_dangerousHtml["default"], {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.titaui-dynamic-reward-item__content {
|
|
6
|
-
margin-left:
|
|
6
|
+
margin-left: 88px;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.titaui-dynamic-reward-item__title {
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.titaui-dynamic-reward-item__operate-desc {
|
|
56
|
-
font-size:
|
|
56
|
+
font-size: 16px;
|
|
57
57
|
font-weight: 400;
|
|
58
58
|
color: #89919f;
|
|
59
|
-
line-height:
|
|
60
|
-
margin:
|
|
59
|
+
line-height: 24px;
|
|
60
|
+
margin-left: 4px;
|
|
61
61
|
overflow: hidden;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -31,8 +31,6 @@ var _tools = require("../../../../utils/tools");
|
|
|
31
31
|
|
|
32
32
|
var _openData = require("../../../../utils/open-data");
|
|
33
33
|
|
|
34
|
-
var _util = require("../../util");
|
|
35
|
-
|
|
36
34
|
var _getLocale = require("../../../../utils/getLocale");
|
|
37
35
|
|
|
38
36
|
require("./index.css");
|
|
@@ -63,17 +61,12 @@ var DynamicReward = function DynamicReward(_ref) {
|
|
|
63
61
|
rewardTags = data.rewardTags,
|
|
64
62
|
obj = data.obj,
|
|
65
63
|
classify = data.classify,
|
|
66
|
-
feedType = data.feedType,
|
|
67
64
|
rewardUser = data.rewardUser,
|
|
68
65
|
publishUser = data.publishUser;
|
|
69
66
|
|
|
70
67
|
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
71
68
|
searchKeyWord = _useContext.searchKeyWord;
|
|
72
69
|
|
|
73
|
-
var _getFeedTypeAndTypeCo = (0, _util.getFeedTypeAndTypeColor)(feedType),
|
|
74
|
-
feedTypeText = _getFeedTypeAndTypeCo.feedTypeText,
|
|
75
|
-
feedTypeColor = _getFeedTypeAndTypeCo.feedTypeColor;
|
|
76
|
-
|
|
77
70
|
var handleClickTitle = function handleClickTitle() {
|
|
78
71
|
if (!obj) {
|
|
79
72
|
return;
|
|
@@ -93,10 +86,10 @@ var DynamicReward = function DynamicReward(_ref) {
|
|
|
93
86
|
} else if (objType === _constant.EObjType.Task) {
|
|
94
87
|
window.Talent.app.vent.trigger("global-pull-screen", objId, "task");
|
|
95
88
|
} else if (objType === _constant.EObjType.Project) {
|
|
96
|
-
window.open(window.location.href.replace(location.hash, "#work?iTalentNavCode=tita-work&work_id=".concat(objId)));
|
|
89
|
+
window.open(window.location.href.replace(window.location.hash, "#work?iTalentNavCode=tita-work&work_id=".concat(objId)));
|
|
97
90
|
} else if (objType === _constant.EObjType.Assess) {
|
|
98
91
|
var assessId = data.url.split("assessId=")[1];
|
|
99
|
-
window.open(window.location.href.replace(location.hash, "#performance?reactRouterName=detail&formId=".concat(assessId)));
|
|
92
|
+
window.open(window.location.href.replace(window.location.hash, "#performance?reactRouterName=detail&formId=".concat(assessId)));
|
|
100
93
|
}
|
|
101
94
|
};
|
|
102
95
|
|
|
@@ -133,8 +126,8 @@ var DynamicReward = function DynamicReward(_ref) {
|
|
|
133
126
|
var Classify = (0, _react.useMemo)(function () {
|
|
134
127
|
var _classNames;
|
|
135
128
|
|
|
136
|
-
if (!classify || Number(classify)
|
|
137
|
-
return;
|
|
129
|
+
if (!classify || Number(classify) === 0) {
|
|
130
|
+
return "";
|
|
138
131
|
}
|
|
139
132
|
|
|
140
133
|
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -152,7 +145,7 @@ var DynamicReward = function DynamicReward(_ref) {
|
|
|
152
145
|
window.open(url, "_blank");
|
|
153
146
|
};
|
|
154
147
|
|
|
155
|
-
return /*#__PURE__*/_react["default"].createElement(
|
|
148
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
156
149
|
className: "".concat(prefix, "__operate-desc")
|
|
157
150
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
158
151
|
className: "".concat(prefix, "__reward")
|
|
@@ -162,12 +155,7 @@ var DynamicReward = function DynamicReward(_ref) {
|
|
|
162
155
|
}, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
163
156
|
name: rewardUser.name,
|
|
164
157
|
id: rewardUser.userId
|
|
165
|
-
})), (0, _getLocale.getLocale)("OKR_MyO_E_Reward")))
|
|
166
|
-
className: "".concat(prefix, "-desc-operate-type"),
|
|
167
|
-
style: {
|
|
168
|
-
background: feedTypeColor
|
|
169
|
-
}
|
|
170
|
-
}, feedTypeText));
|
|
158
|
+
})), (0, _getLocale.getLocale)("OKR_MyO_E_Reward")));
|
|
171
159
|
}, []);
|
|
172
160
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
173
161
|
className: prefix
|
|
@@ -190,12 +178,14 @@ var DynamicReward = function DynamicReward(_ref) {
|
|
|
190
178
|
}
|
|
191
179
|
}, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("img", {
|
|
192
180
|
className: (0, _classnames["default"])("".concat(prefix, "__description-quoto"), "".concat(prefix, "__description-quoto--left")),
|
|
181
|
+
alt: "",
|
|
193
182
|
src: _dynamicLeftQuoto["default"]
|
|
194
183
|
})), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_searchKeyHandle["default"], {
|
|
195
184
|
str: rewardContent,
|
|
196
185
|
keyWord: searchKeyWord
|
|
197
186
|
}), /*#__PURE__*/_react["default"].createElement("img", {
|
|
198
187
|
className: (0, _classnames["default"])("".concat(prefix, "__description-quoto"), "".concat(prefix, "__description-quoto--right")),
|
|
188
|
+
alt: "",
|
|
199
189
|
src: _dynamicRightQuoto["default"]
|
|
200
190
|
}), rewardTags && rewardTags.length && rewardTags.map(function (reward) {
|
|
201
191
|
return /*#__PURE__*/_react["default"].createElement("span", {
|