@titaui/pc 1.6.11 → 1.6.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/lib/components/button/icon-btn/index.css +2 -0
- package/lib/components/button/index.js +1 -9
- package/lib/components/button/rect-btn/index.css +41 -8
- package/lib/components/button/rect-btn/index.js +8 -8
- package/lib/components/button/text-btn/index.css +33 -0
- package/lib/components/button/text-btn/index.js +52 -2
- package/lib/components/dynamic/components/title/index.css +2 -2
- package/lib/components/dynamic/constant.js +2 -1
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +8 -0
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/dynamic-milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +4 -21
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +4 -0
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/dynamic-project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +4 -7
- package/lib/components/dynamic/dynamic-item/dynamic-task/constant.js +1 -35
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/dynamic-task.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +17 -7
- package/lib/components/dynamic/dynamic-like-ranking/index.css +1 -2
- package/lib/components/dynamic/dynamic-like-ranking/index.js +11 -6
- package/lib/components/dynamic/dynamic-liking/index.css +0 -1
- package/lib/components/dynamic/dynamic-liking/item.js +2 -20
- package/lib/components/dynamic/dynamic.js +4 -1
- package/lib/components/dynamic/new-ui.css +206 -0
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-task/index.js +2 -2
- package/lib/components/dynamic/quick-operation/img/okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/send-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/send-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/task.png +0 -0
- package/lib/components/dynamic/util.js +1 -1
- package/lib/components/file-list/components/single-file/index.css +2 -2
- package/lib/components/file-list/components/single-file/index.js +1 -1
- package/lib/components/form/form-fields/radios/index.css +5 -0
- package/lib/components/form/form-fields/radios/index.js +34 -5
- package/lib/components/help-card/image/canceled.svg +13 -0
- package/lib/components/help-card/image/helpzx.svg +8 -0
- package/lib/components/help-card/image/kefu.svg +18 -0
- package/lib/components/help-card/image/kefu1.svg +8 -0
- package/lib/components/help-card/image/okr-shequ.svg +14 -0
- package/lib/components/help-card/image/question.svg +20 -0
- package/lib/components/help-card/image/yuyueyanshi.svg +8 -0
- package/lib/components/help-card/index.css +219 -0
- package/lib/components/help-card/index.js +286 -0
- package/lib/components/help-card/request-api.js +34 -0
- package/lib/components/img-viewer/index.css +4 -0
- package/lib/components/img-viewer/index.js +2 -1
- package/lib/components/menus/components/drag-resize/index.css +4 -4
- package/lib/components/menus/components/drag-resize/index.js +35 -30
- package/lib/components/menus/components/flip-menu-card/index.css +7 -2
- package/lib/components/menus/components/flip-menu-card/index.js +17 -15
- package/lib/components/menus/components/menu-card/index.js +1 -6
- package/lib/components/menus/components/menu-close-btn/index.css +2 -1
- package/lib/components/menus/components/menu-tree/images/loading-node.gif +0 -0
- package/lib/components/menus/components/menu-tree/index.js +4 -3
- package/lib/components/menus/components/menu-tree/tree-node/avatar/index.css +50 -0
- package/lib/components/menus/components/menu-tree/tree-node/avatar/index.js +72 -0
- package/lib/components/menus/components/menu-tree/tree-node/compony-node/index.js +3 -1
- package/lib/components/menus/components/menu-tree/tree-node/depart-node/index.js +8 -4
- package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.css +48 -0
- package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.js +65 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.css +72 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.js +19 -0
- package/lib/components/{button/admin-button/primary.js → menus/components/menu-tree/tree-node/loading-node.js} +7 -14
- package/lib/components/menus/components/menu-tree/tree-node/no-follower-node.js +24 -0
- package/lib/components/menus/components/menu-tree/tree-node/user-concern-node.js +7 -3
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.css +3 -0
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.js +9 -42
- package/lib/components/menus/export-modules/appraisal-menus/datas.js +45 -18
- package/lib/components/menus/export-modules/depart-menus/index.js +34 -7
- package/lib/components/menus/export-modules/okr-menus/datas.js +102 -2
- package/lib/components/menus/export-modules/okr-menus/index.css +0 -3
- package/lib/components/menus/export-modules/okr-menus/index.js +73 -20
- package/lib/components/menus/export-modules/subordinate-menus/index.js +3 -2
- package/lib/components/menus/request-apis.js +22 -5
- package/lib/components/nav-top/components/menu/index.js +7 -5
- package/lib/components/nav-top/components/user-message/components/inform/index.css +28 -6
- package/lib/components/nav-top/components/user-message/components/inform/index.js +184 -22
- package/lib/components/nav-top/components/user-message/components/red-pack/index.css +40 -0
- package/lib/components/nav-top/components/user-message/components/red-pack/index.js +105 -0
- package/lib/components/nav-top/components/user-message/components/red-pack/request-api.js +14 -0
- package/lib/components/nav-top/components/user-message/components/remind/index.css +25 -8
- package/lib/components/nav-top/components/user-message/components/remind/index.js +74 -21
- package/lib/components/nav-top/components/user-message/components/reply/index.css +27 -6
- package/lib/components/nav-top/components/user-message/components/reply/index.js +129 -24
- package/lib/components/nav-top/components/user-message/components/tab-title/index.js +4 -8
- package/lib/components/nav-top/components/user-message/components/todos/index.css +25 -12
- package/lib/components/nav-top/components/user-message/components/todos/index.js +147 -23
- package/lib/components/nav-top/components/user-message/constant.js +11 -1
- package/lib/components/nav-top/components/user-message/images/loading.gif +0 -0
- package/lib/components/nav-top/components/user-message/images/msg-reward.png +0 -0
- package/lib/components/nav-top/components/user-message/index.css +37 -0
- package/lib/components/nav-top/components/user-message/index.js +86 -72
- package/lib/components/nav-top/components/user-message/msg/index.js +17 -24
- package/lib/components/nav-top/components/user-message/utils.js +14 -0
- package/lib/components/nav-top/components/user-own-menu/index.js +3 -4
- package/lib/components/nav-top/components/user-own-menu/utils.js +77 -0
- package/lib/components/nav-top/constant.js +1 -1
- package/lib/components/nav-top/index.js +12 -12
- package/lib/components/nav-top/request.apis.js +52 -0
- package/lib/components/nav-top/utils.js +10 -70
- package/lib/components/okr-filter-drawer/filter-button.js +1 -0
- package/lib/components/okr-filter-drawer/filter-form.js +163 -0
- package/lib/components/okr-filter-drawer/index.css +45 -0
- package/lib/components/okr-filter-drawer/index.js +42 -0
- package/lib/components/pagination/index.css +6 -12
- package/lib/components/photo-card/components/card/index.css +78 -105
- package/lib/components/photo-card/components/card/index.js +133 -40
- package/lib/components/photo-card/data.js +5 -5
- package/lib/components/photo-card/images/assistant.svg +40 -0
- package/lib/components/photo-card/images/back-manager.svg +40 -0
- package/lib/components/photo-card/images/boss.svg +38 -0
- package/lib/components/photo-card/images/depart-leader.svg +40 -0
- package/lib/components/photo-card/images/super-manager.svg +40 -0
- package/lib/components/photo-card/index.css +12 -12
- package/lib/components/photo-card/index.js +17 -13
- package/lib/components/point-demo/drop-down-box/index.css +98 -0
- package/lib/components/point-demo/drop-down-box/index.js +159 -0
- package/lib/components/point-demo/image/demo-bcg.png +0 -0
- package/lib/components/point-demo/image/down.svg +14 -0
- package/lib/components/point-demo/image/icon-canceled.svg +7 -0
- package/lib/components/point-demo/image/logo.svg +64 -0
- package/lib/components/point-demo/index.css +348 -0
- package/lib/components/point-demo/index.js +657 -0
- package/lib/components/point-demo/input/index.css +74 -0
- package/lib/components/point-demo/input/index.js +176 -0
- package/lib/components/point-demo/point-demo.js +93 -0
- package/lib/components/point-demo/popup/index.css +7 -0
- package/lib/components/point-demo/popup/index.js +113 -0
- package/lib/components/point-demo/popup/placement.js +44 -0
- package/lib/components/point-demo/popup/rc-trigger.css +127 -0
- package/lib/components/tree/index.js +0 -2
- package/lib/components/update-modal/img/background.png +0 -0
- package/lib/components/update-modal/img/rocket.png +0 -0
- package/lib/components/update-modal/index.css +80 -0
- package/lib/components/update-modal/index.js +83 -0
- package/lib/components/update-modal/request-api.js +17 -0
- package/lib/hooks/useLocalStorage.js +37 -0
- package/lib/index.js +22 -2
- package/lib/pages/aha2021/index.css +16 -1
- package/lib/pages/aha2021/index.js +15 -5
- package/lib/pages/new-okr-list/context.js +14 -0
- package/lib/{components/button/export-button/index.js → pages/new-okr-list/header/create-okr.js} +24 -44
- package/lib/pages/new-okr-list/header/depart-title.js +19 -0
- package/lib/pages/new-okr-list/header/filter.js +58 -0
- package/lib/pages/new-okr-list/header/index.css +31 -0
- package/lib/pages/new-okr-list/header/index.js +94 -0
- package/lib/pages/new-okr-list/header/user-title.js +19 -0
- package/lib/pages/new-okr-list/index.css +10 -0
- package/lib/pages/new-okr-list/index.js +127 -0
- package/lib/pages/new-okr-list/keyword-search/index.css +71 -0
- package/lib/{components/button/admin-button/drop-down-arrow.js → pages/new-okr-list/keyword-search/index.js} +54 -47
- package/lib/pages/new-okr-list/list/index.css +0 -0
- package/lib/pages/new-okr-list/list/index.js +48 -0
- package/lib/pages/new-okr-list/precls.js +8 -0
- package/lib/pages/new-okr-list/request-api.js +57 -0
- package/lib/pages/new-okr-list/theme.css +3 -0
- package/lib/pages/okr-map/hooks/useStorage.js +1 -1
- package/lib/pages/okr-map/utils.js +11 -7
- package/lib/pages/personal-info/index.js +5 -3
- package/lib/utils/bs-global.js +16 -1
- package/package.json +2 -1
- package/lib/components/button/admin-button/default.js +0 -35
- package/lib/components/button/admin-button/index.css +0 -86
- package/lib/components/button/admin-button/index.js +0 -40
- package/lib/components/button/admin-button/secondary.js +0 -35
- package/lib/components/button/export-button/index.css +0 -51
- package/lib/components/dynamic/dynamic-item/components/icon/index.css +0 -10
- package/lib/components/dynamic/dynamic-item/components/icon/index.js +0 -35
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-cancel.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-delay.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-done.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-pause.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-progress.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unaccept.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unstart.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-task.png +0 -0
- package/lib/components/nav-top/mock.js +0 -36
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
6
8
|
exports["default"] = void 0;
|
|
7
9
|
|
|
8
|
-
var _react =
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
11
|
|
|
10
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
13
|
|
|
12
|
-
var
|
|
14
|
+
var _rcVirtualList = _interopRequireDefault(require("rc-virtual-list"));
|
|
13
15
|
|
|
14
16
|
var _tooltipText = _interopRequireDefault(require("../../../../../tooltip/tooltip-text"));
|
|
15
17
|
|
|
@@ -17,22 +19,54 @@ var _conditionRender = _interopRequireDefault(require("../../../../../dynamic/co
|
|
|
17
19
|
|
|
18
20
|
var _request = require("../../../../../../utils/request");
|
|
19
21
|
|
|
22
|
+
var _request2 = require("../../../../request.apis");
|
|
23
|
+
|
|
20
24
|
var _empty = _interopRequireDefault(require("../empty"));
|
|
21
25
|
|
|
22
26
|
var _appTixing = _interopRequireDefault(require("../../images/app-tixing.svg"));
|
|
23
27
|
|
|
28
|
+
var _loading = _interopRequireDefault(require("../../images/loading.gif"));
|
|
29
|
+
|
|
24
30
|
require("./index.css");
|
|
25
31
|
|
|
26
32
|
var _constant = require("../../constant");
|
|
27
33
|
|
|
28
34
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
35
|
|
|
36
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
37
|
+
|
|
38
|
+
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; }
|
|
39
|
+
|
|
40
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
41
|
+
|
|
42
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
43
|
+
|
|
44
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
45
|
+
|
|
46
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
47
|
+
|
|
48
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
49
|
+
|
|
50
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
51
|
+
|
|
30
52
|
var preCls = "titaui-user-message-msg-remind";
|
|
31
53
|
|
|
32
54
|
var Remind = function Remind(props) {
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
55
|
+
var onItemClick = props.onItemClick;
|
|
56
|
+
|
|
57
|
+
var _useState = (0, _react.useState)([]),
|
|
58
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
59
|
+
reminds = _useState2[0],
|
|
60
|
+
setReminds = _useState2[1];
|
|
61
|
+
|
|
62
|
+
var _useState3 = (0, _react.useState)(true),
|
|
63
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
64
|
+
isLoading = _useState4[0],
|
|
65
|
+
setIsLoading = _useState4[1];
|
|
66
|
+
|
|
67
|
+
var handleRemindClick = function handleRemindClick() {
|
|
68
|
+
onItemClick && onItemClick(false);
|
|
69
|
+
};
|
|
36
70
|
|
|
37
71
|
var deleteTask = function deleteTask(remind) {
|
|
38
72
|
var remindpath = "remind/close?remindId=".concat(remind.id);
|
|
@@ -41,7 +75,10 @@ var Remind = function Remind(props) {
|
|
|
41
75
|
};
|
|
42
76
|
|
|
43
77
|
var handleDelete = function handleDelete(id) {
|
|
44
|
-
|
|
78
|
+
var deletereminds = reminds.filter(function (remind) {
|
|
79
|
+
return remind.id !== id;
|
|
80
|
+
});
|
|
81
|
+
setReminds(deletereminds);
|
|
45
82
|
};
|
|
46
83
|
|
|
47
84
|
var deleteAll = function deleteAll(reminds) {
|
|
@@ -51,21 +88,36 @@ var Remind = function Remind(props) {
|
|
|
51
88
|
};
|
|
52
89
|
|
|
53
90
|
var handleDeleteAll = function handleDeleteAll() {
|
|
54
|
-
|
|
91
|
+
setReminds([]);
|
|
55
92
|
};
|
|
56
93
|
|
|
94
|
+
(0, _react.useEffect)(function () {
|
|
95
|
+
(0, _request2.getReminds)().then(function (res) {
|
|
96
|
+
if (res.Data.length) {
|
|
97
|
+
setReminds(res.Data);
|
|
98
|
+
setIsLoading(false);
|
|
99
|
+
} else {
|
|
100
|
+
setIsLoading(false);
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}, []);
|
|
57
104
|
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
105
|
+
condition: isLoading
|
|
106
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
107
|
+
src: _loading["default"],
|
|
108
|
+
className: (0, _classnames["default"])("".concat(preCls, "__loading"))
|
|
109
|
+
})), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
58
110
|
condition: reminds.length !== 0
|
|
59
|
-
}, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactPerfectScrollbar["default"], {
|
|
60
|
-
options: {
|
|
61
|
-
suppressScrollX: true
|
|
62
|
-
}
|
|
63
111
|
}, /*#__PURE__*/_react["default"].createElement("ul", {
|
|
64
112
|
className: (0, _classnames["default"])("".concat(preCls, "__items"))
|
|
65
|
-
},
|
|
113
|
+
}, /*#__PURE__*/_react["default"].createElement(_rcVirtualList["default"], {
|
|
114
|
+
data: reminds,
|
|
115
|
+
height: 386,
|
|
116
|
+
itemKey: "id"
|
|
117
|
+
}, function (item) {
|
|
66
118
|
return /*#__PURE__*/_react["default"].createElement("li", {
|
|
67
119
|
className: (0, _classnames["default"])("".concat(preCls, "__item")),
|
|
68
|
-
key:
|
|
120
|
+
key: item.id
|
|
69
121
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
70
122
|
src: _appTixing["default"],
|
|
71
123
|
className: (0, _classnames["default"])("".concat(preCls, "__item-photo"))
|
|
@@ -75,11 +127,11 @@ var Remind = function Remind(props) {
|
|
|
75
127
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-name"))
|
|
76
128
|
}, /*#__PURE__*/_react["default"].createElement("span", null, "\u4EFB\u52A1"), /*#__PURE__*/_react["default"].createElement("span", {
|
|
77
129
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-name-status"))
|
|
78
|
-
},
|
|
130
|
+
}, item.content)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
79
131
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-content"))
|
|
80
132
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
81
133
|
overlayClassName: "".concat(preCls, "__item-right-content-tooltip"),
|
|
82
|
-
text:
|
|
134
|
+
text: item.objName,
|
|
83
135
|
isPercent: true,
|
|
84
136
|
mouseEnterDelay: 0.8
|
|
85
137
|
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -87,26 +139,27 @@ var Remind = function Remind(props) {
|
|
|
87
139
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
88
140
|
className: (0, _classnames["default"])("".concat(preCls, "__item-handle-ignore")),
|
|
89
141
|
onClick: function onClick() {
|
|
90
|
-
return deleteTask(
|
|
142
|
+
return deleteTask(item);
|
|
91
143
|
}
|
|
92
144
|
}, "\u5FFD\u7565"), /*#__PURE__*/_react["default"].createElement("a", {
|
|
93
145
|
target: "_blank",
|
|
94
|
-
href: "".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/taskinfo?Id=").concat(
|
|
146
|
+
href: "".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/taskinfo?Id=").concat(item.objId),
|
|
147
|
+
onClick: handleRemindClick
|
|
95
148
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
96
149
|
className: (0, _classnames["default"])("".concat(preCls, "__item-handle-deal")),
|
|
97
150
|
onClick: function onClick() {
|
|
98
|
-
return deleteTask(
|
|
151
|
+
return deleteTask(item);
|
|
99
152
|
}
|
|
100
153
|
}, "\u53BB\u5904\u7406"))));
|
|
101
|
-
}))
|
|
154
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
102
155
|
className: (0, _classnames["default"])("".concat(preCls, "__footer"))
|
|
103
156
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
104
157
|
className: (0, _classnames["default"])("".concat(preCls, "__footer-all")),
|
|
105
158
|
onClick: function onClick() {
|
|
106
159
|
return deleteAll(reminds);
|
|
107
160
|
}
|
|
108
|
-
}, "\u5168\u90E8\u5FFD\u7565")))
|
|
109
|
-
condition: reminds.length === 0
|
|
161
|
+
}, "\u5168\u90E8\u5FFD\u7565"))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
162
|
+
condition: isLoading === false && reminds.length === 0
|
|
110
163
|
}, /*#__PURE__*/_react["default"].createElement(_empty["default"], null)));
|
|
111
164
|
};
|
|
112
165
|
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
.titaui-user-message-msg-reply__loading {
|
|
2
|
+
width: 80px;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
margin: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
1
11
|
.titaui-user-message-msg-reply__items {
|
|
2
12
|
width: 420px;
|
|
3
|
-
margin-top: 8px;
|
|
4
13
|
}
|
|
5
14
|
|
|
6
15
|
.titaui-user-message-msg-reply__item {
|
|
@@ -11,7 +20,14 @@
|
|
|
11
20
|
border-radius: 12px;
|
|
12
21
|
margin-bottom: 4px;
|
|
13
22
|
margin-left: 12px;
|
|
14
|
-
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.titaui-user-message-msg-reply__item:first-of-type {
|
|
26
|
+
margin-top: 8px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.titaui-user-message-msg-reply__item:last-of-type {
|
|
30
|
+
margin-bottom: 0;
|
|
15
31
|
}
|
|
16
32
|
|
|
17
33
|
.titaui-user-message-msg-reply__item-symbol {
|
|
@@ -113,6 +129,10 @@
|
|
|
113
129
|
position: absolute;
|
|
114
130
|
bottom: 0;
|
|
115
131
|
left: 0;
|
|
132
|
+
box-sizing: border-box;
|
|
133
|
+
padding-right: 24px;
|
|
134
|
+
display: flex;
|
|
135
|
+
align-items: center;
|
|
116
136
|
width: 420px;
|
|
117
137
|
height: 50px;
|
|
118
138
|
background: #ffffff;
|
|
@@ -120,13 +140,14 @@
|
|
|
120
140
|
}
|
|
121
141
|
|
|
122
142
|
.titaui-user-message-msg-reply__footer-all {
|
|
123
|
-
|
|
124
|
-
margin: 16px 24px 16px 348px;
|
|
125
|
-
width: 48px;
|
|
126
|
-
height: 18px;
|
|
143
|
+
margin-left: auto;
|
|
127
144
|
font-size: 12px;
|
|
128
145
|
font-family: Resource-Han-Rounded-CN-Regular, Resource-Han-Rounded-CN;
|
|
129
146
|
font-weight: 400;
|
|
130
147
|
color: #2879ff;
|
|
131
148
|
line-height: 18px;
|
|
132
149
|
}
|
|
150
|
+
|
|
151
|
+
.titaui-user-message-msg-reply__footer-all:hover {
|
|
152
|
+
color: #2879ff;
|
|
153
|
+
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
6
8
|
exports["default"] = void 0;
|
|
7
9
|
|
|
8
|
-
var _react =
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
11
|
|
|
10
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
13
|
|
|
12
|
-
var
|
|
14
|
+
var _rcVirtualList = _interopRequireDefault(require("rc-virtual-list"));
|
|
13
15
|
|
|
14
16
|
var _default2 = _interopRequireDefault(require("../../../../../../components/avatar/default"));
|
|
15
17
|
|
|
@@ -19,73 +21,176 @@ var _tooltipText = _interopRequireDefault(require("../../../../../tooltip/toolti
|
|
|
19
21
|
|
|
20
22
|
var _empty = _interopRequireDefault(require("../empty"));
|
|
21
23
|
|
|
24
|
+
var _request = require("../../../../request.apis");
|
|
25
|
+
|
|
26
|
+
var _loading = _interopRequireDefault(require("../../images/loading.gif"));
|
|
27
|
+
|
|
22
28
|
require("./index.css");
|
|
23
29
|
|
|
24
30
|
var _constant = require("../../constant");
|
|
25
31
|
|
|
26
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
33
|
|
|
34
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
35
|
+
|
|
36
|
+
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; }
|
|
37
|
+
|
|
38
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
39
|
+
|
|
40
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
41
|
+
|
|
42
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
43
|
+
|
|
44
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
45
|
+
|
|
46
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
47
|
+
|
|
48
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
49
|
+
|
|
50
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
51
|
+
|
|
52
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
53
|
+
|
|
54
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
55
|
+
|
|
56
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
57
|
+
|
|
28
58
|
var preCls = "titaui-user-message-msg-reply";
|
|
29
59
|
|
|
30
60
|
var Reply = function Reply(props) {
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
61
|
+
var onItemClick = props.onItemClick;
|
|
62
|
+
|
|
63
|
+
var _useState = (0, _react.useState)([]),
|
|
64
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
65
|
+
replys = _useState2[0],
|
|
66
|
+
setReplys = _useState2[1];
|
|
67
|
+
|
|
68
|
+
var _useState3 = (0, _react.useState)(0),
|
|
69
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
70
|
+
replysData = _useState4[0],
|
|
71
|
+
setReplysData = _useState4[1];
|
|
72
|
+
|
|
73
|
+
var _useState5 = (0, _react.useState)(true),
|
|
74
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
75
|
+
isLoading = _useState6[0],
|
|
76
|
+
setIsLoading = _useState6[1];
|
|
77
|
+
|
|
78
|
+
var _useState7 = (0, _react.useState)(1),
|
|
79
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
80
|
+
pageNum = _useState8[0],
|
|
81
|
+
setPageNum = _useState8[1];
|
|
82
|
+
|
|
83
|
+
var _useState9 = (0, _react.useState)(false),
|
|
84
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
85
|
+
isRequest = _useState10[0],
|
|
86
|
+
setIsRequest = _useState10[1];
|
|
87
|
+
|
|
88
|
+
var handleReplyClick = function handleReplyClick() {
|
|
89
|
+
onItemClick && onItemClick(false);
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
var onScrollBottom = function onScrollBottom(e) {
|
|
93
|
+
var _e$target = e.target,
|
|
94
|
+
offsetHeight = _e$target.offsetHeight,
|
|
95
|
+
scrollTop = _e$target.scrollTop,
|
|
96
|
+
scrollHeight = _e$target.scrollHeight;
|
|
97
|
+
|
|
98
|
+
if (offsetHeight + scrollTop >= scrollHeight - 100) {
|
|
99
|
+
setPageNum(pageNum + 1);
|
|
100
|
+
|
|
101
|
+
if (!isRequest) {
|
|
102
|
+
setIsRequest(true);
|
|
103
|
+
|
|
104
|
+
if (pageNum <= Math.ceil(replysData / 20)) {
|
|
105
|
+
(0, _request.getReplys)(pageNum).then(function (res) {
|
|
106
|
+
if (res.Code === 1) {
|
|
107
|
+
setReplys([].concat(_toConsumableArray(replys), _toConsumableArray(res.Data.todos)));
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
setIsRequest(false);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
}
|
|
38
114
|
}
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
(0, _react.useEffect)(function () {
|
|
118
|
+
(0, _request.getReplys)(1).then(function (res) {
|
|
119
|
+
if (res.Code === 1) {
|
|
120
|
+
if (res.Data.total || res.Data.messages && res.Data.messages.length) {
|
|
121
|
+
setReplys(res.Data.messages);
|
|
122
|
+
setReplysData(res.Data.total);
|
|
123
|
+
setIsLoading(false);
|
|
124
|
+
} else {
|
|
125
|
+
setIsLoading(false);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}, []);
|
|
130
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
131
|
+
condition: isLoading
|
|
132
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
133
|
+
src: _loading["default"],
|
|
134
|
+
className: (0, _classnames["default"])("".concat(preCls, "__loading"))
|
|
135
|
+
})), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
136
|
+
condition: replys.length !== 0
|
|
39
137
|
}, /*#__PURE__*/_react["default"].createElement("ul", {
|
|
40
138
|
className: (0, _classnames["default"])("".concat(preCls, "__items"))
|
|
41
|
-
},
|
|
139
|
+
}, /*#__PURE__*/_react["default"].createElement(_rcVirtualList["default"], {
|
|
140
|
+
data: replys,
|
|
141
|
+
height: 386,
|
|
142
|
+
itemKey: "feedId",
|
|
143
|
+
onScroll: function onScroll(e) {
|
|
144
|
+
return onScrollBottom(e);
|
|
145
|
+
}
|
|
146
|
+
}, function (item, index) {
|
|
42
147
|
return /*#__PURE__*/_react["default"].createElement("li", {
|
|
43
148
|
className: (0, _classnames["default"])("".concat(preCls, "__item")),
|
|
44
149
|
key: index
|
|
45
150
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
46
151
|
className: (0, _classnames["default"])("".concat(preCls, "__item-photo"))
|
|
47
152
|
}, /*#__PURE__*/_react["default"].createElement(_default2["default"], {
|
|
48
|
-
userId:
|
|
49
|
-
name:
|
|
50
|
-
color:
|
|
51
|
-
src:
|
|
153
|
+
userId: item.feed.user.userId,
|
|
154
|
+
name: item.feed.user.name,
|
|
155
|
+
color: item.feed.user.avatar.color,
|
|
156
|
+
src: item.feed.user.avatar.big
|
|
52
157
|
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
53
158
|
className: (0, _classnames["default"])("".concat(preCls, "__item-symbol"))
|
|
54
159
|
}, "\u201C"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
55
160
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right"))
|
|
56
161
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
57
162
|
target: "_blank",
|
|
58
|
-
href: "".concat(_constant.apiServer, "/").concat(_constant.userId, "/ITalentHome#more/shareinfo?id=").concat(
|
|
163
|
+
href: "".concat(_constant.apiServer, "/").concat(_constant.userId, "/ITalentHome#more/shareinfo?id=").concat(item.feed.feedId),
|
|
164
|
+
onClick: handleReplyClick
|
|
59
165
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
166
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header"))
|
|
61
167
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
62
168
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header-name"))
|
|
63
169
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
64
170
|
overlayClassName: "".concat(preCls, "__item-right-header-name-tooltip"),
|
|
65
|
-
text:
|
|
171
|
+
text: item.user.name,
|
|
66
172
|
maxWidth: 100,
|
|
67
173
|
mouseEnterDelay: 0.8
|
|
68
174
|
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
69
175
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header-status"))
|
|
70
|
-
},
|
|
176
|
+
}, item.content.trim().substr(0, 1) === "@" ? "@我" : "回复我")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
71
177
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-content"))
|
|
72
178
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
73
179
|
overlayClassName: "".concat(preCls, "__item-right-content-tooltip"),
|
|
74
|
-
text: (0, _constant.htmlToText)(
|
|
180
|
+
text: (0, _constant.htmlToText)(item.content),
|
|
75
181
|
isPercent: true,
|
|
76
182
|
mouseEnterDelay: 0.8
|
|
77
183
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
78
184
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-time"))
|
|
79
|
-
},
|
|
80
|
-
}))
|
|
185
|
+
}, item.createDate))));
|
|
186
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
81
187
|
className: (0, _classnames["default"])("".concat(preCls, "__footer"))
|
|
82
188
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
83
189
|
target: "_blank",
|
|
84
|
-
href: "".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/messages?messageType=
|
|
85
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
190
|
+
href: "".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/messages?messageType=1&isRead=1&autoApply=true"),
|
|
86
191
|
className: (0, _classnames["default"])("".concat(preCls, "__footer-all"))
|
|
87
|
-
}, "\u67E5\u770B\u5168\u90E8")))
|
|
88
|
-
condition: replys.
|
|
192
|
+
}, "\u67E5\u770B\u5168\u90E8"))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
193
|
+
condition: isLoading === false && replys.length === 0
|
|
89
194
|
}, /*#__PURE__*/_react["default"].createElement(_empty["default"], null)));
|
|
90
195
|
};
|
|
91
196
|
|
|
@@ -9,22 +9,18 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
|
|
10
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
11
|
|
|
12
|
-
var _conditionRender = _interopRequireDefault(require("../../../../../dynamic/components/condition-render"));
|
|
13
|
-
|
|
14
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
13
|
|
|
16
14
|
var prefixCls = "titaui-user-message-msg";
|
|
17
15
|
|
|
18
16
|
var TabTitle = function TabTitle(props) {
|
|
19
|
-
var
|
|
20
|
-
|
|
17
|
+
var title = props.title,
|
|
18
|
+
tab = props.tab;
|
|
21
19
|
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
22
20
|
className: (0, _classnames["default"])("".concat(prefixCls, "__tabs-").concat(tab))
|
|
23
|
-
}, title, /*#__PURE__*/_react["default"].createElement(
|
|
24
|
-
condition: tab.total !== 0 && tab.length !== 0
|
|
25
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
21
|
+
}, title, /*#__PURE__*/_react["default"].createElement("span", {
|
|
26
22
|
className: (0, _classnames["default"])("".concat(prefixCls, "__tabs-total"))
|
|
27
|
-
},
|
|
23
|
+
}, "12")));
|
|
28
24
|
};
|
|
29
25
|
|
|
30
26
|
var _default = TabTitle;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
.titaui-user-message-msg-todos__loading {
|
|
2
|
+
width: 80px;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
margin: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
1
11
|
.titaui-user-message-msg-todos__items {
|
|
2
12
|
width: 420px;
|
|
3
|
-
margin-top: 8px;
|
|
4
13
|
}
|
|
5
14
|
|
|
6
15
|
.titaui-user-message-msg-todos__item {
|
|
@@ -11,7 +20,14 @@
|
|
|
11
20
|
border-radius: 12px;
|
|
12
21
|
margin-bottom: 4px;
|
|
13
22
|
margin-left: 12px;
|
|
14
|
-
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.titaui-user-message-msg-todos__item:first-of-type {
|
|
26
|
+
margin-top: 8px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.titaui-user-message-msg-todos__item:last-of-type {
|
|
30
|
+
margin-bottom: 0;
|
|
15
31
|
}
|
|
16
32
|
|
|
17
33
|
.titaui-user-message-msg-todos__item-photo {
|
|
@@ -102,6 +118,10 @@
|
|
|
102
118
|
position: absolute;
|
|
103
119
|
bottom: 0;
|
|
104
120
|
left: 0;
|
|
121
|
+
box-sizing: border-box;
|
|
122
|
+
padding-right: 24px;
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
105
125
|
width: 420px;
|
|
106
126
|
height: 50px;
|
|
107
127
|
background: #ffffff;
|
|
@@ -109,10 +129,7 @@
|
|
|
109
129
|
}
|
|
110
130
|
|
|
111
131
|
.titaui-user-message-msg-todos__footer-all {
|
|
112
|
-
|
|
113
|
-
margin: 16px 24px 16px 348px;
|
|
114
|
-
width: 48px;
|
|
115
|
-
height: 18px;
|
|
132
|
+
margin-left: auto;
|
|
116
133
|
font-size: 12px;
|
|
117
134
|
font-family: Resource-Han-Rounded-CN-Regular, Resource-Han-Rounded-CN;
|
|
118
135
|
font-weight: 400;
|
|
@@ -120,10 +137,6 @@
|
|
|
120
137
|
line-height: 18px;
|
|
121
138
|
}
|
|
122
139
|
|
|
123
|
-
.titaui-user-message-msg
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.titaui-user-message-msg .titaui-tabs .scrollbar-container .ps__rail-y .ps__thumb-y {
|
|
128
|
-
width: 4px;
|
|
140
|
+
.titaui-user-message-msg-todos__footer-all:hover {
|
|
141
|
+
color: #2879ff;
|
|
129
142
|
}
|