@titaui/pc 1.5.69-beta.15 → 1.5.69-beta.19

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.
Files changed (34) hide show
  1. package/lib/components/communication/index.js +2 -1
  2. package/lib/components/communication/style.js +1 -1
  3. package/lib/components/create-okr/index.css +4 -0
  4. package/lib/components/create-okr/index.js +43 -31
  5. package/lib/components/dynamic/dynamic-item/components/header/index.js +8 -3
  6. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +3 -1
  7. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +2 -2
  8. package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +10 -29
  9. package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +7 -39
  10. package/lib/components/dynamic/dynamic-item/dynamic-milestone/constant.js +16 -0
  11. package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/milestone.png +0 -0
  12. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +111 -0
  13. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +156 -0
  14. package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +59 -0
  15. package/lib/components/dynamic/dynamic-item/index.css +23 -8
  16. package/lib/components/dynamic/dynamic-item/index.js +14 -5
  17. package/lib/components/dynamic/dynamic-like-ranking/index.css +5 -1
  18. package/lib/components/dynamic/dynamic.css +2 -0
  19. package/lib/components/dynamic/quick-operation/index.css +3 -1
  20. package/lib/components/dynamic/request-api.js +7 -7
  21. package/lib/components/file-list/components/single-file/index.css +3 -3
  22. package/lib/components/grid-page/image/{assistant.svg → Assistant.svg} +0 -0
  23. package/lib/components/grid-page/image/{boss.svg → Boss.svg} +0 -0
  24. package/lib/components/grid-page/image/{default-background.png → Default-background.png} +0 -0
  25. package/lib/components/img-viewer/index.css +1 -1
  26. package/lib/components/mblog/style.js +2 -2
  27. package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +42 -33
  28. package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +8 -3
  29. package/lib/components/upload/style.js +1 -1
  30. package/lib/components/upvote/index.js +14 -7
  31. package/lib/index.js +5 -1
  32. package/lib/pages/like-ranking/index.css +13 -0
  33. package/lib/pages/like-ranking/index.js +8 -6
  34. package/package.json +1 -1
@@ -345,6 +345,7 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
345
345
  userSelectorPopAlign = _this$props8.userSelectorPopAlign,
346
346
  emotionsSelectorPopAlign = _this$props8.emotionsSelectorPopAlign,
347
347
  showAtAll = _this$props8.showAtAll,
348
+ commentCount = _this$props8.commentCount,
348
349
  useCustomMblog = _this$props8.useCustomMblog,
349
350
  _this$props8$submitTe = _this$props8.submitText,
350
351
  submitText = _this$props8$submitTe === void 0 ? "回复" : _this$props8$submitTe,
@@ -357,7 +358,7 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
357
358
  onMouseDown: function onMouseDown() {
358
359
  return _this2.handlerSwitchShowRecord();
359
360
  }
360
- }, "\u5168\u90E8\u6C9F\u901A\xA0", /*#__PURE__*/_react["default"].createElement("span", null, communicationTrackTotal), /*#__PURE__*/_react["default"].createElement("i", {
361
+ }, "\u5168\u90E8\u6C9F\u901A\xA0", /*#__PURE__*/_react["default"].createElement("span", null, communicationTrackTotal), communicationTrackTotal > commentCount && /*#__PURE__*/_react["default"].createElement("i", {
361
362
  className: (0, _classnames["default"])(prefix + "__communication-total-icon", {
362
363
  "tu-icon-APP-xi": isShowAllCommunicationRecord,
363
364
  "tu-icon-arrow-down1": !isShowAllCommunicationRecord
@@ -33,7 +33,7 @@ var ReplyUser = _styledComponents["default"].div(_templateObject4 || (_templateO
33
33
 
34
34
  exports.ReplyUser = ReplyUser;
35
35
 
36
- var CommunicationItem = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-left: -8px;\n padding: 8px 8px 4px 8px;\n margin-bottom: 4px;\n font-size: 12px;\n color: #83898f;\n border-radius: 8px;\n display: flex;\n position: relative;\n\n &:hover {\n background: #eff5fb;\n .communication__actionbar {\n display: inline-block;\n }\n }\n"])));
36
+ var CommunicationItem = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-left: -8px;\n padding: 8px 8px 4px 8px;\n margin-bottom: 4px;\n font-size: 12px;\n color: #83898f;\n border-radius: 8px;\n display: flex;\n position: relative;\n\n &:hover {\n background: #F7F9FB;\n .communication__actionbar {\n display: inline-block;\n }\n }\n"])));
37
37
 
38
38
  exports.CommunicationItem = CommunicationItem;
39
39
 
@@ -405,6 +405,10 @@
405
405
  visibility: hidden;
406
406
  }
407
407
 
408
+ .modal-close-btn > span:hover {
409
+ color: #141c28 !important;
410
+ }
411
+
408
412
  @keyframes create-success-rotate {
409
413
  0% {
410
414
  transform: rotateZ(0);
@@ -107,11 +107,17 @@ function CreateOkrModal(_ref, ref) {
107
107
  userInfo = _ref.userInfo,
108
108
  onSuccess = _ref.onSuccess,
109
109
  _ref$isPerformance = _ref.isPerformance,
110
- isPerformance = _ref$isPerformance === void 0 ? false : _ref$isPerformance;
111
-
112
- var _useState = (0, _react.useState)(false),
110
+ isPerformance = _ref$isPerformance === void 0 ? false : _ref$isPerformance,
111
+ _ref$handleCreatedClo = _ref.handleCreatedClose,
112
+ handleCreatedClose = _ref$handleCreatedClo === void 0 ? function () {} : _ref$handleCreatedClo,
113
+ _ref$visible = _ref.visible,
114
+ visible = _ref$visible === void 0 ? false : _ref$visible,
115
+ _ref$onClose = _ref.onClose,
116
+ onClose = _ref$onClose === void 0 ? function () {} : _ref$onClose;
117
+
118
+ var _useState = (0, _react.useState)(visible),
113
119
  _useState2 = _slicedToArray(_useState, 2),
114
- visible = _useState2[0],
120
+ isVisible = _useState2[0],
115
121
  setVisible = _useState2[1]; // @ts-ignore
116
122
 
117
123
 
@@ -313,8 +319,12 @@ function CreateOkrModal(_ref, ref) {
313
319
  setVisible(true);
314
320
  }, []);
315
321
  var hideCreateOkrModal = (0, _react.useCallback)(function () {
322
+ onClose && onClose();
316
323
  setVisible(false);
317
324
  }, []);
325
+ (0, _react.useEffect)(function () {
326
+ setVisible(visible);
327
+ }, [visible]);
318
328
  (0, _react.useImperativeHandle)(ref, function () {
319
329
  return {
320
330
  setCase: function setCase(data) {
@@ -353,12 +363,6 @@ function CreateOkrModal(_ref, ref) {
353
363
  duration: 3000
354
364
  });
355
365
 
356
- if (!onSuccess) {
357
- _manager["default"].open("okrDetail", {
358
- okrId: data.workId
359
- });
360
- }
361
-
362
366
  onSuccess && onSuccess(data);
363
367
  }
364
368
  }, [userAvatarBase64Url, isApplyTpl]);
@@ -400,7 +404,7 @@ function CreateOkrModal(_ref, ref) {
400
404
  }
401
405
 
402
406
  _popDownNotification.Toast.Error("目标名称不能为空", {
403
- canClose: true
407
+ canClose: false
404
408
  });
405
409
 
406
410
  return _context.abrupt("return");
@@ -412,7 +416,7 @@ function CreateOkrModal(_ref, ref) {
412
416
  }
413
417
 
414
418
  _popDownNotification.Toast.Error("目标名称不能超过500字", {
415
- canClose: true
419
+ canClose: false
416
420
  });
417
421
 
418
422
  return _context.abrupt("return");
@@ -424,7 +428,7 @@ function CreateOkrModal(_ref, ref) {
424
428
  }
425
429
 
426
430
  _popDownNotification.Toast.Error("关键成果不能为空", {
427
- canClose: true
431
+ canClose: false
428
432
  });
429
433
 
430
434
  setKrIsValidate(true);
@@ -441,7 +445,7 @@ function CreateOkrModal(_ref, ref) {
441
445
  }
442
446
 
443
447
  _popDownNotification.Toast.Error("关键成果不能超过500字", {
444
- canClose: true
448
+ canClose: false
445
449
  });
446
450
 
447
451
  return _context.abrupt("return");
@@ -455,7 +459,7 @@ function CreateOkrModal(_ref, ref) {
455
459
  }
456
460
 
457
461
  _popDownNotification.Toast.Error("关键成果总权重不等于100%", {
458
- canClose: true
462
+ canClose: false
459
463
  });
460
464
 
461
465
  return _context.abrupt("return");
@@ -469,8 +473,9 @@ function CreateOkrModal(_ref, ref) {
469
473
  return _context.abrupt("return");
470
474
 
471
475
  case 20:
476
+ handleCreatedClose();
472
477
  visibilityArea = formatVisiableLimit();
473
- _context.next = 23;
478
+ _context.next = 24;
474
479
  return (0, _requestApi.createWidthKr)(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
475
480
  krInfos: krDatas.map(function (kr) {
476
481
  return _objectSpread(_objectSpread({}, kr), {}, {
@@ -492,11 +497,11 @@ function CreateOkrModal(_ref, ref) {
492
497
  }]
493
498
  }, visibilityArea));
494
499
 
495
- case 23:
500
+ case 24:
496
501
  data = _context.sent;
497
502
 
498
503
  if (!(data.Code === 0)) {
499
- _context.next = 27;
504
+ _context.next = 28;
500
505
  break;
501
506
  }
502
507
 
@@ -506,7 +511,7 @@ function CreateOkrModal(_ref, ref) {
506
511
 
507
512
  return _context.abrupt("return");
508
513
 
509
- case 27:
514
+ case 28:
510
515
  hideCreateOkrModal();
511
516
 
512
517
  if (onSuccess || !isPerformance) {
@@ -536,7 +541,7 @@ function CreateOkrModal(_ref, ref) {
536
541
 
537
542
  setIsApplyTpl(false);
538
543
 
539
- case 30:
544
+ case 31:
540
545
  case "end":
541
546
  return _context.stop();
542
547
  }
@@ -570,7 +575,7 @@ function CreateOkrModal(_ref, ref) {
570
575
  };
571
576
 
572
577
  (0, _react.useEffect)(function () {
573
- if (!visible) {
578
+ if (!isVisible) {
574
579
  setKrDatas([{
575
580
  uuid: _uuid["default"].v1(),
576
581
  principalId: Id,
@@ -605,7 +610,7 @@ function CreateOkrModal(_ref, ref) {
605
610
  parentKrId: 0
606
611
  });
607
612
  }
608
- }, [visible]);
613
+ }, [isVisible]);
609
614
  var handleONameSuggestClose = (0, _react.useCallback)(function () {
610
615
  setONameIsInput(false);
611
616
  setCustomCloseOSuggest(true);
@@ -745,21 +750,27 @@ function CreateOkrModal(_ref, ref) {
745
750
  }
746
751
 
747
752
  setShowCreatedSuccessInfo(false);
748
-
749
- _manager["default"].open("okrDetail", {
750
- okrId: workId
751
- });
752
-
753
753
  onSuccess && onSuccess(newOkrDataRef.current);
754
754
  }, []);
755
755
  (0, _react.useEffect)(function () {
756
- // @ts-ignore
756
+ if (!isVisible) return; // @ts-ignore
757
+
757
758
  (0, _requestApi.getImageBase64ByUrl)(user.id).then(function (data) {
758
759
  setUserAvatarBase64Url(data.obj);
759
760
  })["catch"](function (err) {
760
761
  _popDownNotification.Toast.Error(err);
761
762
  });
762
- }, [user]);
763
+ }, [user, isVisible]);
764
+
765
+ var trackAction = function trackAction() {
766
+ // @ts-ignore
767
+ window.titaTracker && window.titaTracker('action').record({
768
+ actionName: '点击【教你写OKR】',
769
+ actionGroup: '创建OKR',
770
+ productName: 'OKR'
771
+ });
772
+ };
773
+
763
774
  var renderFooterTeachWriteOKr = (0, _react.useMemo)(function () {
764
775
  {
765
776
  /*钉钉用 https://wiki.tita.com/pages/viewpage.action?pageId=15696093 */
@@ -767,7 +778,8 @@ function CreateOkrModal(_ref, ref) {
767
778
  return /*#__PURE__*/_react["default"].createElement("a", {
768
779
  className: "teact-write-okr",
769
780
  href: (0, _helpers.isDingDing)() ? "https://wiki.tita.com/pages/viewpage.action?pageId=15696093" : "https://docs.tita.com/question/okr-write/",
770
- target: "_blank"
781
+ target: "_blank",
782
+ onClick: trackAction
771
783
  }, /*#__PURE__*/_react["default"].createElement("img", {
772
784
  className: "teact-write-okr__icon",
773
785
  src: _teachOkr["default"]
@@ -789,7 +801,7 @@ function CreateOkrModal(_ref, ref) {
789
801
  onOk: onModalOkHandler,
790
802
  okText: "\u7ACB\u5373\u521B\u5EFA",
791
803
  title: ModalTitle,
792
- visible: visible,
804
+ visible: isVisible,
793
805
  onCancel: hideCreateOkrModal,
794
806
  maskClosable: false,
795
807
  footerLeftContent: renderFooterTeachWriteOKr
@@ -27,6 +27,8 @@ var _openData = require("../../../../../utils/open-data");
27
27
 
28
28
  var _conditionRender = _interopRequireDefault(require("../../../components/condition-render"));
29
29
 
30
+ var _tooltip = require("../../../../tooltip");
31
+
30
32
  require("./index.css");
31
33
 
32
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -229,9 +231,12 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
229
231
  }, /*#__PURE__*/_react["default"].createElement("span", {
230
232
  className: (0, _classnames["default"])(prefix + "-desc-user", _defineProperty({}, prefix + "-desc-user--not-link", !url)),
231
233
  onClick: handleOpenUserPage
232
- }, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
233
- name: publishUser.name,
234
- id: publishUser.userId
234
+ }, /*#__PURE__*/_react["default"].createElement(_tooltip.TooltipText, {
235
+ maxWidth: 98,
236
+ text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
237
+ name: publishUser.name,
238
+ id: publishUser.userId
239
+ })
235
240
  })), desc), /*#__PURE__*/_react["default"].createElement("div", {
236
241
  className: prefix + "-desc-time"
237
242
  }, createDate))), /*#__PURE__*/_react["default"].createElement("div", {
@@ -3,11 +3,13 @@
3
3
  }
4
4
 
5
5
  .titaui-dynamic-create-o-item__content {
6
+ display: flex;
7
+ flex-direction: column;
6
8
  margin-left: 69px;
7
9
  }
8
10
 
9
11
  .titaui-dynamic-create-o-item__infos-wrapper {
10
- margin-top: 8px;
12
+ margin-top: 12px;
11
13
  }
12
14
 
13
15
  .titaui-dynamic-create-o-item__okr {
@@ -107,12 +107,12 @@ var DynamicCreateO = function DynamicCreateO(_ref) {
107
107
  var Classify = (0, _react.useMemo)(function () {
108
108
  var _classNames;
109
109
 
110
- if (Number(classify) == 0) {
110
+ if (+classify == 0) {
111
111
  return;
112
112
  }
113
113
 
114
114
  return /*#__PURE__*/_react["default"].createElement("span", {
115
- className: (0, _classnames["default"])("".concat(prefix, "__classify"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefix, "__classify--desire"), classify == 1), _defineProperty(_classNames, "".concat(prefix, "__classify--promise"), classify == 2), _classNames))
115
+ className: (0, _classnames["default"])("".concat(prefix, "__classify"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefix, "__classify--desire"), classify == 2), _defineProperty(_classNames, "".concat(prefix, "__classify--promise"), classify == 1), _classNames))
116
116
  });
117
117
  }, [classify]);
118
118
  var renderDesc = (0, _react.useMemo)(function () {
@@ -6,41 +6,22 @@
6
6
  margin-left: 69px;
7
7
  }
8
8
 
9
- .titaui-dynamic-kr-item__title {
9
+ .titaui-dynamic-kr-item__content-time-range {
10
10
  display: flex;
11
11
  align-items: center;
12
- overflow: hidden;
13
- }
14
-
15
- .titaui-dynamic-kr-item__description {
16
- font-size: 14px;
17
- color: #3F4755;
18
- line-height: 22px;
19
- display: flex;
20
- margin-top: 12px;
21
- }
22
-
23
- .titaui-dynamic-kr-item__description-quoto {
24
- width: 12px;
25
- height: 12px;
26
- }
27
-
28
- .titaui-dynamic-kr-item__description-quoto--left {
29
- margin-right: 8px;
30
- margin-top: -6px;
31
- }
32
-
33
- .titaui-dynamic-kr-item__description-quoto--right {
34
- margin-left: 8px;
35
- margin-top: 4px;
12
+ font-size: 12px;
13
+ color: #89919f;
14
+ line-height: 18px;
36
15
  }
37
16
 
38
- .titaui-dynamic-kr-item__status-left {
39
- margin-left: 12px;
17
+ .titaui-dynamic-kr-item__content-time-range-icon {
18
+ margin-right: 4px;
40
19
  }
41
20
 
42
- .titaui-dynamic-kr-item__percent-left {
43
- margin-left: 8px;
21
+ .titaui-dynamic-kr-item__title {
22
+ display: flex;
23
+ align-items: center;
24
+ overflow: hidden;
44
25
  }
45
26
 
46
27
  .titaui-dynamic-kr-item__object-name {
@@ -11,24 +11,12 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
- var _dynamicLeftQuoto = _interopRequireDefault(require("../../img/dynamic-left-quoto.svg"));
15
-
16
- var _dynamicRightQuoto = _interopRequireDefault(require("../../img/dynamic-right-quoto.svg"));
17
-
18
14
  var _manager = _interopRequireDefault(require("../../../drawer/manager"));
19
15
 
20
- var _context = require("../../context");
21
-
22
- var _searchKeyHandle = _interopRequireDefault(require("../../../search-key-handle"));
23
-
24
16
  var _header = _interopRequireDefault(require("../components/header"));
25
17
 
26
18
  var _title = _interopRequireDefault(require("../../components/title"));
27
19
 
28
- var _percent = _interopRequireDefault(require("../../components/percent"));
29
-
30
- var _objStatus = _interopRequireDefault(require("../../components/obj-status"));
31
-
32
20
  var _util = require("../../util");
33
21
 
34
22
  var _constant = require("../../constant");
@@ -57,16 +45,11 @@ var DynamicKr = function DynamicKr(_ref) {
57
45
  var data = _ref.data,
58
46
  restProps = _objectWithoutProperties(_ref, _excluded);
59
47
 
60
- var progress = data.progress,
61
- progressDescription = data.progressDescription,
62
- progressGrow = data.progressGrow,
63
- riskLevel = data.riskLevel,
48
+ var deadline = data.deadline,
49
+ startDate = data.startDate,
64
50
  name = data.name,
65
51
  krId = data.krId;
66
52
 
67
- var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
68
- searchKeyWord = _useContext.searchKeyWord;
69
-
70
53
  var _getFeedTypeAndTypeCo = (0, _util.getFeedTypeAndTypeColor)(data.feedType),
71
54
  feedTypeText = _getFeedTypeAndTypeCo.feedTypeText,
72
55
  feedTypeColor = _getFeedTypeAndTypeCo.feedTypeColor;
@@ -114,26 +97,11 @@ var DynamicKr = function DynamicKr(_ref) {
114
97
  }, /*#__PURE__*/_react["default"].createElement(_title["default"], {
115
98
  content: "KR\uFF1A".concat(name),
116
99
  onClickTitle: handleClickKrTitle
117
- }), /*#__PURE__*/_react["default"].createElement(_objStatus["default"], {
118
- oStatus: 1,
119
- riskLevel: riskLevel,
120
- extraClass: "".concat(prefix, "__status-left")
121
- }), /*#__PURE__*/_react["default"].createElement(_percent["default"], {
122
- percent: progress,
123
- growPercent: progressGrow,
124
- extraClass: "".concat(prefix, "__percent-left")
125
- })), progressDescription && /*#__PURE__*/_react["default"].createElement("div", {
126
- className: prefix + "__description"
127
- }, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("img", {
128
- className: (0, _classnames["default"])(prefix + "__description-quoto", prefix + "__description-quoto--left"),
129
- src: _dynamicLeftQuoto["default"]
130
- })), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_searchKeyHandle["default"], {
131
- str: progressDescription,
132
- keyWord: searchKeyWord
133
- }), /*#__PURE__*/_react["default"].createElement("img", {
134
- className: (0, _classnames["default"])(prefix + "__description-quoto", prefix + "__description-quoto--right"),
135
- src: _dynamicRightQuoto["default"]
136
- })))));
100
+ }), /*#__PURE__*/_react["default"].createElement("div", {
101
+ className: "".concat(prefix, "__content-time-range")
102
+ }, /*#__PURE__*/_react["default"].createElement("i", {
103
+ className: (0, _classnames["default"])("tu-icon-deferred", "".concat(prefix, "__content-time-range-icon"))
104
+ }), /*#__PURE__*/_react["default"].createElement("span", null, startDate, "-", deadline)))));
137
105
  };
138
106
 
139
107
  var _default = DynamicKr;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.EStatusClass2StatusTypeText = void 0;
7
+ var EStatusClass2StatusTypeText = {
8
+ 2: '已完成',
9
+ 1: '进行中',
10
+ 4: '已取消',
11
+ 3: '已延迟',
12
+ 6: '暂停中',
13
+ 0: '未开始',
14
+ 5: '未接受'
15
+ };
16
+ exports.EStatusClass2StatusTypeText = EStatusClass2StatusTypeText;
@@ -0,0 +1,111 @@
1
+ .titaui-dynamic-milestone-item {
2
+ border-radius: 12px;
3
+ box-shadow: 0px 0px 8px 0px rgba(127, 145, 180, 0.1);
4
+ background: #ffffff;
5
+ box-sizing: border-box;
6
+ overflow: hidden;
7
+ font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
8
+ }
9
+
10
+ .titaui-dynamic-milestone-item__content {
11
+ height: 78px;
12
+ display: flex;
13
+ align-items: center;
14
+ border-radius: 8px;
15
+ background: #f6f7f9;
16
+ padding: 16px 12px 16px 16px;
17
+ box-sizing: border-box;
18
+ margin-left: 69px;
19
+ }
20
+
21
+ .titaui-dynamic-milestone-item__content-info {
22
+ flex: 1;
23
+ display: flex;
24
+ flex-direction: column;
25
+ margin-left: 16px;
26
+ overflow: hidden;
27
+ }
28
+
29
+ .titaui-dynamic-milestone-item__content-status-and-time-range {
30
+ display: flex;
31
+ align-items: center;
32
+ font-size: 12px;
33
+ font-weight: 400;
34
+ color: #89919f;
35
+ line-height: 18px;
36
+ }
37
+
38
+ .titaui-dynamic-milestone-item__content-status-text {
39
+ margin-left: 4px;
40
+ margin-right: 20px;
41
+ }
42
+
43
+ .titaui-dynamic-milestone-item__content-time-range {
44
+ margin-left: 4px;
45
+ }
46
+
47
+ .titaui-dynamic-milestone-item__content-title {
48
+ flex: 1;
49
+ word-break: keep-all;
50
+ white-space: nowrap;
51
+ overflow: hidden;
52
+ font-size: 16px;
53
+ font-weight: 600;
54
+ color: #3f4755;
55
+ line-height: 24px;
56
+ }
57
+
58
+ .titaui-dynamic-milestone-item__content-title-text {
59
+ cursor: pointer;
60
+ }
61
+
62
+ .titaui-dynamic-milestone-item__content-title-text:hover {
63
+ color: #2879ff;
64
+ }
65
+
66
+ .titaui-dynamic-milestone-item__content-title-priority {
67
+ width: 18px;
68
+ height: 26px;
69
+ margin-right: 4px;
70
+ }
71
+
72
+ .titaui-dynamic-milestone-item__object-name {
73
+ font-size: 14px;
74
+ color: #2879ff;
75
+ line-height: 22px;
76
+ margin: 0 4px;
77
+ overflow: hidden;
78
+ }
79
+
80
+ .titaui-dynamic-milestone-item__object-name:hover {
81
+ cursor: pointer;
82
+ color: #5c8eff;
83
+ }
84
+
85
+ .titaui-dynamic-milestone-item__operate-desc {
86
+ font-size: 14px;
87
+ font-weight: 400;
88
+ color: #89919f;
89
+ line-height: 22px;
90
+ margin: 0 8px 0 4px;
91
+ overflow: hidden;
92
+ }
93
+
94
+ .titaui-dynamic-milestone-item__operate-desc-wrapper {
95
+ display: flex;
96
+ }
97
+
98
+ .titaui-dynamic-milestone-item-desc-operate-type {
99
+ display: inline-flex;
100
+ align-items: center;
101
+ justify-content: center;
102
+ width: 40px;
103
+ height: 18px;
104
+ min-width: 40px;
105
+ clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
106
+ -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0, 15% 0);
107
+ border-radius: 14px 10px 10px 4px;
108
+ font-size: 12px;
109
+ color: #ffffff;
110
+ line-height: 18px;
111
+ }