@titaui/pc 1.11.60 → 1.11.63
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/contact-kefu/index.css +1 -1
- package/lib/components/create-okr-modal/index.js +3 -1
- package/lib/components/dynamic/constant.js +1 -1
- package/lib/components/dynamic/dynamic-list/index.js +14 -7
- package/lib/components/dynamic/index.js +9 -12
- package/lib/components/dynamic/request-api.js +7 -68
- package/lib/components/menus/export-modules/appraisal-menus/menus.js +11 -9
- package/lib/components/nav-top/components/menu/index.js +16 -14
- package/lib/components/nav-top/index.js +2 -2
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +16 -10
- package/lib/components/task-relation-modal/search/principal.js +20 -18
- package/lib/components/task-relation-modal/tree/category-tree/index.css +3 -3
- package/lib/components/task-relation-modal/tree/okr-tree/index.css +1 -1
- package/lib/components/task-relation-modal/tree/work-tree/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/category-node/index.css +1 -1
- package/lib/components/user-selector/category-selector-panel/index.js +6 -1
- package/lib/components/{dynamic/quick-operation/components/create-task/index.js → user-selector/category-selector-panel/subordinate-tree.js} +37 -20
- package/lib/components/user-selector/constant.js +10 -2
- package/lib/components/user-selector/empty/index.css +5 -0
- package/lib/components/user-selector/empty/index.js +9 -3
- package/lib/components/user-selector/export-modules/depart-search-selector/index.js +45 -17
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +3 -1
- package/lib/components/user-selector/images/no-auth.png +0 -0
- package/lib/components/user-selector/request-apis.js +28 -9
- package/lib/components/user-selector/searched-panel/index.js +21 -7
- package/package.json +2 -2
- package/lib/components/dynamic/advertise/components/next-btn/index.css +0 -27
- package/lib/components/dynamic/advertise/components/next-btn/index.js +0 -32
- package/lib/components/dynamic/advertise/components/pre-btn/index.css +0 -26
- package/lib/components/dynamic/advertise/components/pre-btn/index.js +0 -32
- package/lib/components/dynamic/advertise/index.css +0 -21
- package/lib/components/dynamic/advertise/index.js +0 -126
- package/lib/components/dynamic/advertise/interface.js +0 -5
- package/lib/components/dynamic/advertise/util.js +0 -28
- package/lib/components/dynamic/components/dynamic-search-input/index.css +0 -81
- package/lib/components/dynamic/components/dynamic-search-input/index.js +0 -203
- package/lib/components/dynamic/components/first-level-tabs/index.css +0 -101
- package/lib/components/dynamic/components/first-level-tabs/index.js +0 -131
- package/lib/components/dynamic/dynamic-like-ranking/image/like-ranking.svg +0 -23
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-1.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-2.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-3.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-empty.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/index.css +0 -146
- package/lib/components/dynamic/dynamic-like-ranking/index.js +0 -180
- package/lib/components/dynamic/dynamic-like-ranking/item.js +0 -105
- package/lib/components/dynamic/dynamic-like-ranking/mock.js +0 -84
- package/lib/components/dynamic/dynamic-liking/image/like-dynamic.svg +0 -30
- package/lib/components/dynamic/dynamic-liking/index.css +0 -81
- package/lib/components/dynamic/dynamic-liking/index.js +0 -79
- package/lib/components/dynamic/dynamic-liking/item.js +0 -75
- package/lib/components/dynamic/dynamic-liking/mock.js +0 -83
- package/lib/components/dynamic/dynamic-topping/image/quotation-mark.svg +0 -16
- package/lib/components/dynamic/dynamic-topping/image/top-icon.svg +0 -30
- package/lib/components/dynamic/dynamic-topping/index.css +0 -141
- package/lib/components/dynamic/dynamic-topping/index.js +0 -82
- package/lib/components/dynamic/dynamic-topping/interface.js +0 -5
- package/lib/components/dynamic/dynamic-topping/item.js +0 -153
- package/lib/components/dynamic/dynamic-topping/request-api.js +0 -36
- package/lib/components/dynamic/dynamic.css +0 -173
- package/lib/components/dynamic/dynamic.js +0 -428
- package/lib/components/dynamic/export-module/index.js +0 -37
- package/lib/components/dynamic/img/dynamic-top.svg +0 -14
- package/lib/components/dynamic/my-team/img/add-subordinate.png +0 -0
- package/lib/components/dynamic/my-team/img/line.png +0 -0
- package/lib/components/dynamic/my-team/img/team.png +0 -0
- package/lib/components/dynamic/my-team/index.css +0 -184
- package/lib/components/dynamic/my-team/index.js +0 -263
- package/lib/components/dynamic/my-team/request-api.js +0 -52
- package/lib/components/dynamic/my-team/util.js +0 -20
- package/lib/components/dynamic/new-ui.css +0 -192
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.css +0 -58
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.js +0 -68
- package/lib/components/dynamic/online-broadcast/data.js +0 -95
- package/lib/components/dynamic/online-broadcast/img/broadcast.svg +0 -14
- package/lib/components/dynamic/online-broadcast/img/new.png +0 -0
- package/lib/components/dynamic/online-broadcast/img/preview.png +0 -0
- package/lib/components/dynamic/online-broadcast/index.css +0 -46
- package/lib/components/dynamic/online-broadcast/index.js +0 -61
- package/lib/components/dynamic/online-broadcast/interfact.js +0 -5
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-okr/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-share/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-task/index.css +0 -25
- package/lib/components/dynamic/quick-operation/img/new-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-task.png +0 -0
- package/lib/components/dynamic/quick-operation/index.css +0 -51
- package/lib/components/dynamic/quick-operation/index.js +0 -120
|
@@ -1,428 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
-
|
|
14
|
-
var _dynamicList = _interopRequireDefault(require("./dynamic-list"));
|
|
15
|
-
|
|
16
|
-
var _context = require("./context");
|
|
17
|
-
|
|
18
|
-
var _dynamicSearchInput = _interopRequireDefault(require("./components/dynamic-search-input"));
|
|
19
|
-
|
|
20
|
-
var _requestApi = require("./request-api");
|
|
21
|
-
|
|
22
|
-
var _quickOperation = _interopRequireDefault(require("./quick-operation"));
|
|
23
|
-
|
|
24
|
-
var _dynamicTopping = _interopRequireDefault(require("./dynamic-topping"));
|
|
25
|
-
|
|
26
|
-
var _dynamicLikeRanking = _interopRequireDefault(require("./dynamic-like-ranking"));
|
|
27
|
-
|
|
28
|
-
var _dynamicLiking = _interopRequireDefault(require("./dynamic-liking"));
|
|
29
|
-
|
|
30
|
-
var _dynamicLoading = _interopRequireDefault(require("./img/dynamic-loading.gif"));
|
|
31
|
-
|
|
32
|
-
var _advertise = _interopRequireDefault(require("./advertise"));
|
|
33
|
-
|
|
34
|
-
var _conditionRender = _interopRequireDefault(require("../condition-render"));
|
|
35
|
-
|
|
36
|
-
var _util = require("./util");
|
|
37
|
-
|
|
38
|
-
var _toast = _interopRequireDefault(require("../toast"));
|
|
39
|
-
|
|
40
|
-
var _firstLevelTabs = _interopRequireDefault(require("./components/first-level-tabs"));
|
|
41
|
-
|
|
42
|
-
var _onlineBroadcast = _interopRequireDefault(require("./online-broadcast"));
|
|
43
|
-
|
|
44
|
-
var _myTeam = _interopRequireDefault(require("./my-team"));
|
|
45
|
-
|
|
46
|
-
var _getLocale = require("../../utils/getLocale");
|
|
47
|
-
|
|
48
|
-
var _bsGlobal = require("../../utils/bs-global");
|
|
49
|
-
|
|
50
|
-
require("./dynamic.css");
|
|
51
|
-
|
|
52
|
-
require("./new-ui.css");
|
|
53
|
-
|
|
54
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
55
|
-
|
|
56
|
-
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); }
|
|
57
|
-
|
|
58
|
-
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; }
|
|
59
|
-
|
|
60
|
-
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; }
|
|
61
|
-
|
|
62
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
63
|
-
|
|
64
|
-
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."); }
|
|
65
|
-
|
|
66
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
67
|
-
|
|
68
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
69
|
-
|
|
70
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
71
|
-
|
|
72
|
-
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."); }
|
|
73
|
-
|
|
74
|
-
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); }
|
|
75
|
-
|
|
76
|
-
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; }
|
|
77
|
-
|
|
78
|
-
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; }
|
|
79
|
-
|
|
80
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
81
|
-
|
|
82
|
-
var prefix = (0, _bsGlobal.getBSGlobal)("tenantInfo").isNewIndex ? "titaui-new-ui-dynamic" : "titaui-dynamic";
|
|
83
|
-
var requestId = 0;
|
|
84
|
-
|
|
85
|
-
var Dynamic = function Dynamic() {
|
|
86
|
-
var _useState = (0, _react.useState)([]),
|
|
87
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
88
|
-
dynamicData = _useState2[0],
|
|
89
|
-
setDynamicData = _useState2[1];
|
|
90
|
-
|
|
91
|
-
var _useState3 = (0, _react.useState)(),
|
|
92
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
93
|
-
activeFirstLevelTabKey = _useState4[0],
|
|
94
|
-
setActiveFirstLevelTabKey = _useState4[1];
|
|
95
|
-
|
|
96
|
-
var _useState5 = (0, _react.useState)(),
|
|
97
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
98
|
-
activeSecondLevelTabKey = _useState6[0],
|
|
99
|
-
setActiveSecondLevelTabKey = _useState6[1];
|
|
100
|
-
|
|
101
|
-
var _useState7 = (0, _react.useState)(""),
|
|
102
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
103
|
-
searchKeyWord = _useState8[0],
|
|
104
|
-
setSearchKeyWord = _useState8[1];
|
|
105
|
-
|
|
106
|
-
var _useState9 = (0, _react.useState)(""),
|
|
107
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
108
|
-
searchKeyType = _useState10[0],
|
|
109
|
-
setSearchKeyType = _useState10[1];
|
|
110
|
-
|
|
111
|
-
var _useState11 = (0, _react.useState)([]),
|
|
112
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
113
|
-
tabsInfo = _useState12[0],
|
|
114
|
-
setTabsInfo = _useState12[1];
|
|
115
|
-
|
|
116
|
-
var _useState13 = (0, _react.useState)(),
|
|
117
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
118
|
-
searchUser = _useState14[0],
|
|
119
|
-
setSearchUser = _useState14[1];
|
|
120
|
-
|
|
121
|
-
var _useState15 = (0, _react.useState)(true),
|
|
122
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
123
|
-
isLoading = _useState16[0],
|
|
124
|
-
setIsLoading = _useState16[1];
|
|
125
|
-
|
|
126
|
-
var _useState17 = (0, _react.useState)(false),
|
|
127
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
128
|
-
isLoadingMore = _useState18[0],
|
|
129
|
-
setIsLoadingMore = _useState18[1];
|
|
130
|
-
|
|
131
|
-
var _useState19 = (0, _react.useState)(false),
|
|
132
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
133
|
-
isChangeConditionLoading = _useState20[0],
|
|
134
|
-
setIsChangeConditionLoading = _useState20[1];
|
|
135
|
-
|
|
136
|
-
var _useState21 = (0, _react.useState)(-1),
|
|
137
|
-
_useState22 = _slicedToArray(_useState21, 2),
|
|
138
|
-
rightContentHeight = _useState22[0],
|
|
139
|
-
setRightContentHeight = _useState22[1];
|
|
140
|
-
|
|
141
|
-
var _useState23 = (0, _react.useState)([]),
|
|
142
|
-
_useState24 = _slicedToArray(_useState23, 2),
|
|
143
|
-
secondTabs = _useState24[0],
|
|
144
|
-
setSecondTabs = _useState24[1];
|
|
145
|
-
|
|
146
|
-
var _useState25 = (0, _react.useState)(false),
|
|
147
|
-
_useState26 = _slicedToArray(_useState25, 2),
|
|
148
|
-
noMoreData = _useState26[0],
|
|
149
|
-
setNoMoreData = _useState26[1];
|
|
150
|
-
|
|
151
|
-
var _useState27 = (0, _react.useState)(false),
|
|
152
|
-
_useState28 = _slicedToArray(_useState27, 2),
|
|
153
|
-
notFixedTop = _useState28[0],
|
|
154
|
-
setNotFixedTop = _useState28[1];
|
|
155
|
-
|
|
156
|
-
var contentRef = (0, _react.useRef)(document.createElement("div"));
|
|
157
|
-
var currentPage = (0, _react.useRef)(1);
|
|
158
|
-
var loginUser = window.BSGlobal.loginUserInfo;
|
|
159
|
-
|
|
160
|
-
var resetValue = function resetValue() {
|
|
161
|
-
if (contentRef.current && contentRef.current.scrollTo) {
|
|
162
|
-
contentRef.current.scrollTo(0, 0);
|
|
163
|
-
} else {
|
|
164
|
-
contentRef.current.scrollTop = 0;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
currentPage.current = 1;
|
|
168
|
-
setIsLoadingMore(false);
|
|
169
|
-
setNoMoreData(false);
|
|
170
|
-
setNotFixedTop(false);
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
var handleChangeTabActive = function handleChangeTabActive(key) {
|
|
174
|
-
setActiveFirstLevelTabKey(key); // @ts-ignore
|
|
175
|
-
|
|
176
|
-
var secondTabsArr = tabsInfo.find(function (item) {
|
|
177
|
-
return item.CodeId === key;
|
|
178
|
-
}).ChildMenus;
|
|
179
|
-
setSecondTabs(secondTabsArr);
|
|
180
|
-
setActiveSecondLevelTabKey(secondTabsArr[0].CodeId);
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
var handleSubTabsChange = function handleSubTabsChange(key) {
|
|
184
|
-
setActiveSecondLevelTabKey(key);
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
var handleDeleteFeed = function handleDeleteFeed(feedId) {
|
|
188
|
-
var newDatas = dynamicData.filter(function (item) {
|
|
189
|
-
return item.feedId !== feedId;
|
|
190
|
-
});
|
|
191
|
-
setDynamicData([]); // 动画效果如果直接设置新的数据,diff时间会比较长,所以直接清空再赋值,这样不会出现删除时等待长时间空白
|
|
192
|
-
|
|
193
|
-
setTimeout(function () {
|
|
194
|
-
setDynamicData(_toConsumableArray(newDatas));
|
|
195
|
-
}, 0);
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
var getDynamicData = function getDynamicData(needResetValue) {
|
|
199
|
-
requestId += 1;
|
|
200
|
-
var reqId = requestId;
|
|
201
|
-
setIsLoadingMore(true);
|
|
202
|
-
(0, _requestApi.getDynamicFeedList)({
|
|
203
|
-
PageSize: 20,
|
|
204
|
-
PageNum: currentPage.current,
|
|
205
|
-
KeyWord: searchKeyType === "person" && searchUser ? "UserId:".concat(searchUser.userId) : searchKeyWord,
|
|
206
|
-
ChannelIds: "".concat(activeFirstLevelTabKey, ".").concat(activeSecondLevelTabKey),
|
|
207
|
-
Domain: "",
|
|
208
|
-
TitaHost: "",
|
|
209
|
-
RequestSource: 0,
|
|
210
|
-
CommentCount: 3
|
|
211
|
-
}).then(function (resp) {
|
|
212
|
-
setIsLoadingMore(false);
|
|
213
|
-
setIsChangeConditionLoading(false);
|
|
214
|
-
if (requestId !== reqId) return;
|
|
215
|
-
|
|
216
|
-
if (resp.Code === 1) {
|
|
217
|
-
if (!resp.Data.isEnd) {
|
|
218
|
-
currentPage.current += 1;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
setNoMoreData(resp.Data.isEnd);
|
|
222
|
-
|
|
223
|
-
if (needResetValue) {
|
|
224
|
-
setDynamicData([]);
|
|
225
|
-
setTimeout(function () {
|
|
226
|
-
setDynamicData(resp.Data.feeds);
|
|
227
|
-
}, 0);
|
|
228
|
-
} else {
|
|
229
|
-
setDynamicData(JSON.parse(JSON.stringify([].concat(_toConsumableArray(dynamicData), _toConsumableArray(resp.Data.feeds)))));
|
|
230
|
-
}
|
|
231
|
-
} else {
|
|
232
|
-
_toast["default"].Error(resp.Message, {
|
|
233
|
-
canClose: false
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
});
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
var setTabsToPublish = function setTabsToPublish() {
|
|
240
|
-
var _tabsInfo$find;
|
|
241
|
-
|
|
242
|
-
setActiveFirstLevelTabKey(1004);
|
|
243
|
-
setActiveSecondLevelTabKey(1018); // @ts-ignore
|
|
244
|
-
|
|
245
|
-
var secondTabsArr = ((_tabsInfo$find = tabsInfo.find(function (item) {
|
|
246
|
-
return item.CodeId === 1004;
|
|
247
|
-
})) === null || _tabsInfo$find === void 0 ? void 0 : _tabsInfo$find.ChildMenus) || [];
|
|
248
|
-
setSecondTabs(secondTabsArr);
|
|
249
|
-
resetValue();
|
|
250
|
-
setIsChangeConditionLoading(true);
|
|
251
|
-
getDynamicData(true);
|
|
252
|
-
};
|
|
253
|
-
|
|
254
|
-
var handleContentScroll = function handleContentScroll() {
|
|
255
|
-
var contentDom = contentRef.current;
|
|
256
|
-
|
|
257
|
-
if (contentDom) {
|
|
258
|
-
if (contentDom.scrollTop > 0) {
|
|
259
|
-
setNotFixedTop(true);
|
|
260
|
-
} else {
|
|
261
|
-
setNotFixedTop(false);
|
|
262
|
-
} // 为了解决列表数据过少右侧内容过多滚动的问题
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
if (dynamicData.length === 0) {
|
|
266
|
-
// 防止出现重复设置高度导致一直能往下滚动的问题
|
|
267
|
-
if (rightContentHeight > 0) return; // 48是二级菜单高度,10是二级菜单到列表的间距
|
|
268
|
-
|
|
269
|
-
setRightContentHeight(contentDom.scrollHeight - 48 - 10);
|
|
270
|
-
} else {
|
|
271
|
-
setRightContentHeight(-1);
|
|
272
|
-
} // 滚动到距离底部40px之后加载新的数据
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
if (contentDom.scrollHeight - contentDom.scrollTop <= contentDom.offsetHeight + 40) {
|
|
276
|
-
// 滚动加载防止重复请求
|
|
277
|
-
if (noMoreData || isLoadingMore) {
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
getDynamicData(false);
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
var handleScrollToTop = (0, _react.useCallback)(function () {
|
|
287
|
-
if (contentRef.current && contentRef.current.scrollTo) {
|
|
288
|
-
contentRef.current.scrollTo({
|
|
289
|
-
top: 0,
|
|
290
|
-
left: 0,
|
|
291
|
-
behavior: "smooth"
|
|
292
|
-
});
|
|
293
|
-
} else {
|
|
294
|
-
contentRef.current.scrollTop = 0;
|
|
295
|
-
}
|
|
296
|
-
}, []);
|
|
297
|
-
(0, _react.useEffect)(function () {
|
|
298
|
-
document.title = (0, _getLocale.getLocale)("Menu_Title_Feed");
|
|
299
|
-
}, []);
|
|
300
|
-
(0, _react.useEffect)(function () {
|
|
301
|
-
(0, _requestApi.getMenu)().then(function (resp) {
|
|
302
|
-
if (resp.Code === 1) {
|
|
303
|
-
var data = (0, _util.formatMenu)(resp.Data);
|
|
304
|
-
setTabsInfo(data);
|
|
305
|
-
var localFirstLevelTabKey = sessionStorage.getItem("tita-dynamic-first-level-tab__".concat(loginUser.Id));
|
|
306
|
-
var localSecondLevelTabKey = sessionStorage.getItem("tita-dynamic-second-level-tab__".concat(loginUser.Id));
|
|
307
|
-
var nowFirstLevelLocalMenu = data.find(function (item) {
|
|
308
|
-
return item.CodeId === Number(localFirstLevelTabKey);
|
|
309
|
-
});
|
|
310
|
-
|
|
311
|
-
if (localFirstLevelTabKey && nowFirstLevelLocalMenu) {
|
|
312
|
-
setActiveFirstLevelTabKey(Number(localFirstLevelTabKey));
|
|
313
|
-
var secondTabsArr = nowFirstLevelLocalMenu.ChildMenus;
|
|
314
|
-
setSecondTabs(secondTabsArr);
|
|
315
|
-
} else {
|
|
316
|
-
setActiveFirstLevelTabKey(data[0].CodeId);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
var nowSecondLevelTabExist = localSecondLevelTabKey && nowFirstLevelLocalMenu && nowFirstLevelLocalMenu.ChildMenus.find(function (item) {
|
|
320
|
-
return item.CodeId === Number(localSecondLevelTabKey);
|
|
321
|
-
});
|
|
322
|
-
|
|
323
|
-
if (localSecondLevelTabKey && nowFirstLevelLocalMenu && nowSecondLevelTabExist) {
|
|
324
|
-
setActiveSecondLevelTabKey(Number(localSecondLevelTabKey));
|
|
325
|
-
} else {
|
|
326
|
-
setSecondTabs(data[0].ChildMenus);
|
|
327
|
-
setActiveSecondLevelTabKey(data[0].ChildMenus[0].CodeId);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
setIsLoading(false);
|
|
332
|
-
});
|
|
333
|
-
}, []);
|
|
334
|
-
(0, _react.useEffect)(function () {
|
|
335
|
-
if (searchKeyWord || searchKeyType || searchUser) {
|
|
336
|
-
setIsChangeConditionLoading(true);
|
|
337
|
-
resetValue();
|
|
338
|
-
getDynamicData(true);
|
|
339
|
-
}
|
|
340
|
-
}, [searchKeyWord, searchKeyType, searchUser]);
|
|
341
|
-
(0, _react.useEffect)(function () {
|
|
342
|
-
if (!activeSecondLevelTabKey || !activeFirstLevelTabKey) return;
|
|
343
|
-
sessionStorage.setItem("tita-dynamic-first-level-tab__".concat(loginUser.Id), "".concat(activeFirstLevelTabKey));
|
|
344
|
-
sessionStorage.setItem("tita-dynamic-second-level-tab__".concat(loginUser.Id), "".concat(activeSecondLevelTabKey));
|
|
345
|
-
resetValue();
|
|
346
|
-
setIsChangeConditionLoading(true);
|
|
347
|
-
getDynamicData(true);
|
|
348
|
-
}, [activeFirstLevelTabKey, activeSecondLevelTabKey]); // @ts-ignore
|
|
349
|
-
|
|
350
|
-
window.setTabsToPublish = setTabsToPublish;
|
|
351
|
-
return /*#__PURE__*/_react["default"].createElement(_context.SearchKeyContext.Provider, {
|
|
352
|
-
value: {
|
|
353
|
-
searchKeyWord: searchKeyType === "dynamic" ? searchKeyWord : ""
|
|
354
|
-
}
|
|
355
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
356
|
-
className: prefix
|
|
357
|
-
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
358
|
-
condition: isLoading
|
|
359
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
360
|
-
className: "".concat(prefix, "__loading")
|
|
361
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
362
|
-
className: "".concat(prefix, "__loading-img"),
|
|
363
|
-
src: _dynamicLoading["default"],
|
|
364
|
-
alt: ""
|
|
365
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
366
|
-
className: (0, _classnames["default"])("".concat(prefix, "__header"), _defineProperty({}, "".concat(prefix, "__header--content-scroll"), notFixedTop))
|
|
367
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
368
|
-
className: (0, _classnames["default"])("".concat(prefix, "__header-tabs"))
|
|
369
|
-
}, /*#__PURE__*/_react["default"].createElement(_firstLevelTabs["default"], {
|
|
370
|
-
tabsInfo: tabsInfo,
|
|
371
|
-
activeTab: activeFirstLevelTabKey,
|
|
372
|
-
onTabsChange: handleChangeTabActive
|
|
373
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
374
|
-
className: "".concat(prefix, "__header-search")
|
|
375
|
-
}, /*#__PURE__*/_react["default"].createElement(_dynamicSearchInput["default"], {
|
|
376
|
-
setSearchUser: setSearchUser,
|
|
377
|
-
setSearchKey: setSearchKeyWord,
|
|
378
|
-
setSearchKeyType: setSearchKeyType
|
|
379
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
380
|
-
className: "".concat(prefix, "__content"),
|
|
381
|
-
onScroll: handleContentScroll,
|
|
382
|
-
ref: contentRef
|
|
383
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
384
|
-
className: "".concat(prefix, "__content-left")
|
|
385
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
386
|
-
className: "".concat(prefix, "__content-left-tabs")
|
|
387
|
-
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
388
|
-
condition: secondTabs.length > 0
|
|
389
|
-
}, secondTabs.map(function (item) {
|
|
390
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
391
|
-
key: item.CodeId + item.MenuName,
|
|
392
|
-
className: (0, _classnames["default"])("".concat(prefix, "__content-left-tab"), _defineProperty({}, "".concat(prefix, "__content-left-tab--active"), item.CodeId === activeSecondLevelTabKey)),
|
|
393
|
-
onClick: function onClick() {
|
|
394
|
-
handleSubTabsChange(item.CodeId);
|
|
395
|
-
}
|
|
396
|
-
}, item.MenuName);
|
|
397
|
-
}))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
398
|
-
condition: isChangeConditionLoading
|
|
399
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
400
|
-
className: "".concat(prefix, "__empty-loading-block")
|
|
401
|
-
})), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
402
|
-
condition: !isChangeConditionLoading
|
|
403
|
-
}, /*#__PURE__*/_react["default"].createElement(_dynamicList["default"], {
|
|
404
|
-
height: rightContentHeight,
|
|
405
|
-
onDeleteFeed: handleDeleteFeed,
|
|
406
|
-
data: dynamicData
|
|
407
|
-
})), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
408
|
-
condition: isLoadingMore || isChangeConditionLoading
|
|
409
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
410
|
-
className: "".concat(prefix, "__content-left-loading")
|
|
411
|
-
})), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
412
|
-
condition: dynamicData.length > 0 && noMoreData
|
|
413
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
414
|
-
className: "".concat(prefix, "__no-more-data")
|
|
415
|
-
}, (0, _getLocale.getLocale)("Mod_Nomore")))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
416
|
-
className: (0, _classnames["default"])("".concat(prefix, "__content-right"))
|
|
417
|
-
}, /*#__PURE__*/_react["default"].createElement(_quickOperation["default"], null), /*#__PURE__*/_react["default"].createElement(_advertise["default"], null), /*#__PURE__*/_react["default"].createElement(_dynamicTopping["default"], null), /*#__PURE__*/_react["default"].createElement(_dynamicLikeRanking["default"], null), /*#__PURE__*/_react["default"].createElement(_dynamicLiking["default"], null), /*#__PURE__*/_react["default"].createElement(_myTeam["default"], null), /*#__PURE__*/_react["default"].createElement(_onlineBroadcast["default"], null))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
418
|
-
condition: notFixedTop
|
|
419
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
420
|
-
className: "".concat(prefix, "__go-to-top"),
|
|
421
|
-
onClick: handleScrollToTop
|
|
422
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
423
|
-
className: "".concat(prefix, "__go-to-top-img")
|
|
424
|
-
})))));
|
|
425
|
-
};
|
|
426
|
-
|
|
427
|
-
var _default = Dynamic;
|
|
428
|
-
exports["default"] = _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = exports.DynamicTopping = exports.DynamicQuickOperation = exports.DynamicList = exports.DynamicLiking = exports.DynamicLikeRanking = exports.DynamicItem = void 0;
|
|
7
|
-
|
|
8
|
-
var _quickOperation = _interopRequireDefault(require("../quick-operation"));
|
|
9
|
-
|
|
10
|
-
var _dynamic = _interopRequireDefault(require("../dynamic"));
|
|
11
|
-
|
|
12
|
-
var _dynamicList = _interopRequireDefault(require("../dynamic-list"));
|
|
13
|
-
|
|
14
|
-
var _dynamicItem = _interopRequireDefault(require("../dynamic-item"));
|
|
15
|
-
|
|
16
|
-
var _dynamicTopping = _interopRequireDefault(require("../dynamic-topping"));
|
|
17
|
-
|
|
18
|
-
var _dynamicLiking = _interopRequireDefault(require("../dynamic-liking"));
|
|
19
|
-
|
|
20
|
-
var _dynamicLikeRanking = _interopRequireDefault(require("../dynamic-like-ranking"));
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
24
|
-
var _default = _dynamic["default"];
|
|
25
|
-
exports["default"] = _default;
|
|
26
|
-
var DynamicList = _dynamicList["default"];
|
|
27
|
-
exports.DynamicList = DynamicList;
|
|
28
|
-
var DynamicQuickOperation = _quickOperation["default"];
|
|
29
|
-
exports.DynamicQuickOperation = DynamicQuickOperation;
|
|
30
|
-
var DynamicItem = _dynamicItem["default"];
|
|
31
|
-
exports.DynamicItem = DynamicItem;
|
|
32
|
-
var DynamicTopping = _dynamicTopping["default"];
|
|
33
|
-
exports.DynamicTopping = DynamicTopping;
|
|
34
|
-
var DynamicLiking = _dynamicLiking["default"];
|
|
35
|
-
exports.DynamicLiking = DynamicLiking;
|
|
36
|
-
var DynamicLikeRanking = _dynamicLikeRanking["default"];
|
|
37
|
-
exports.DynamicLikeRanking = DynamicLikeRanking;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>top</title>
|
|
4
|
-
<g id="页面-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
-
<g id="关键成果" transform="translate(-1306.000000, -1911.000000)" fill="#141C28">
|
|
6
|
-
<g id="编组-9" transform="translate(1292.000000, 1897.000000)">
|
|
7
|
-
<g id="top" transform="translate(14.000000, 14.000000)">
|
|
8
|
-
<path d="M12.0142136,5.6 C12.2358884,5.6 12.4365049,5.69016094 12.5813929,5.83581246 C12.640826,5.86963662 12.6972878,5.91247294 12.7485281,5.96371324 L12.7485281,5.96371324 L18.9710678,12.1862529 C19.2834872,12.4986723 19.2834872,13.0052043 18.9710678,13.3176238 C18.6586484,13.6300432 18.1521164,13.6300432 17.839697,13.3176238 L17.839697,13.3176238 L12.8140447,8.292 L12.8142136,20.8 C12.8142136,21.2418278 12.4560414,21.6 12.0142136,21.6 C11.5723858,21.6 11.2142136,21.2418278 11.2142136,20.8 L11.2140447,8.292 L6.18873016,13.3176238 C5.87631073,13.6300432 5.36977875,13.6300432 5.05735931,13.3176238 C4.74493988,13.0052043 4.74493988,12.4986723 5.05735931,12.1862529 L11.279899,5.96371324 C11.3309062,5.91270599 11.3870877,5.87002645 11.4467538,5.83567462 C11.5910041,5.69057405 11.7920315,5.6 12.0142136,5.6 Z" id="形状结合"></path>
|
|
9
|
-
<path d="M12,-5.8 C12.4418278,-5.8 12.8,-5.4418278 12.8,-5 L12.8,11.4 C12.8,11.8418278 12.4418278,12.2 12,12.2 C11.5581722,12.2 11.2,11.8418278 11.2,11.4 L11.2,-5 C11.2,-5.4418278 11.5581722,-5.8 12,-5.8 Z" id="矩形" transform="translate(12.000000, 3.200000) rotate(-270.000000) translate(-12.000000, -3.200000) "></path>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
.titaui-dynamic-my-team__container {
|
|
2
|
-
border-radius: 12px;
|
|
3
|
-
box-shadow: 0px 2px 12px 0px rgba(127, 145, 180, 0.2);
|
|
4
|
-
background: #ffffff;
|
|
5
|
-
padding-bottom: 12px;
|
|
6
|
-
margin-top: 10px;
|
|
7
|
-
width: 278px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.titaui-dynamic-my-team__container .titaui-pc-avator-container {
|
|
11
|
-
display: inline-flex;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.titaui-dynamic-my-team__header {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
padding: 16px 16px 0 16px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.titaui-dynamic-my-team__header-icon {
|
|
21
|
-
width: 20px;
|
|
22
|
-
height: 20px;
|
|
23
|
-
margin-right: 4px;
|
|
24
|
-
border-radius: 50%;
|
|
25
|
-
background: #2879ff;
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.titaui-dynamic-my-team__header-icon-img {
|
|
32
|
-
width: 16px;
|
|
33
|
-
height: 16px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.titaui-dynamic-my-team__header-text {
|
|
37
|
-
font-size: 16px;
|
|
38
|
-
font-weight: 600;
|
|
39
|
-
color: #3f4755;
|
|
40
|
-
line-height: 24px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.titaui-dynamic-my-team__content {
|
|
44
|
-
margin-top: 20px;
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.titaui-dynamic-my-team__content-superior {
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
align-items: center;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.titaui-dynamic-my-team__content-superior-text {
|
|
57
|
-
margin-top: 4px;
|
|
58
|
-
font-size: 12px;
|
|
59
|
-
color: #6f7886;
|
|
60
|
-
line-height: 18px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.titaui-dynamic-my-team__content-superior::after {
|
|
64
|
-
content: "";
|
|
65
|
-
width: 1px;
|
|
66
|
-
height: 16px;
|
|
67
|
-
background-color: #e9ecf0;
|
|
68
|
-
margin-bottom: 4px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.titaui-dynamic-my-team__content-add-subordinate {
|
|
72
|
-
width: 190px;
|
|
73
|
-
height: 31px;
|
|
74
|
-
background: url("./img/line.png") no-repeat;
|
|
75
|
-
background-size: 190px 22px;
|
|
76
|
-
background-position-y: 9px;
|
|
77
|
-
display: flex;
|
|
78
|
-
justify-content: center;
|
|
79
|
-
margin-top: 12px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.titaui-dynamic-my-team__content-add-subordinate-icon {
|
|
83
|
-
width: 20px;
|
|
84
|
-
height: 20px;
|
|
85
|
-
background: #e9f1ff;
|
|
86
|
-
display: flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
border-radius: 50%;
|
|
90
|
-
cursor: pointer;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.titaui-dynamic-my-team__content-add-subordinate-icon-img {
|
|
94
|
-
width: 12px;
|
|
95
|
-
height: 12px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.titaui-dynamic-my-team__content-subordinate {
|
|
99
|
-
width: 100%;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.titaui-dynamic-my-team__content-subordinate--empty {
|
|
103
|
-
margin-top: 12px;
|
|
104
|
-
font-size: 14px;
|
|
105
|
-
color: #6f7886;
|
|
106
|
-
line-height: 22px;
|
|
107
|
-
text-align: center;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.titaui-dynamic-my-team__subordinates {
|
|
111
|
-
display: flex;
|
|
112
|
-
align-items: center;
|
|
113
|
-
position: relative;
|
|
114
|
-
width: 100%;
|
|
115
|
-
height: 46px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.titaui-dynamic-my-team__subordinates-left-mask {
|
|
119
|
-
width: 20px;
|
|
120
|
-
height: 46px;
|
|
121
|
-
background: #ffffff;
|
|
122
|
-
opacity: 0.9;
|
|
123
|
-
position: absolute;
|
|
124
|
-
left: 0;
|
|
125
|
-
z-index: 1;
|
|
126
|
-
display: flex;
|
|
127
|
-
align-items: center;
|
|
128
|
-
justify-content: center;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.titaui-dynamic-my-team__subordinates-left-mask-icon {
|
|
132
|
-
font-size: 16px;
|
|
133
|
-
color: #89919f;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.titaui-dynamic-my-team__subordinates-left-mask-icon:hover {
|
|
137
|
-
color: #2879ff;
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.titaui-dynamic-my-team__subordinates-right-mask {
|
|
142
|
-
width: 20px;
|
|
143
|
-
height: 46px;
|
|
144
|
-
background: #ffffff;
|
|
145
|
-
opacity: 0.9;
|
|
146
|
-
position: absolute;
|
|
147
|
-
right: 0;
|
|
148
|
-
z-index: 1;
|
|
149
|
-
display: flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
justify-content: center;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.titaui-dynamic-my-team__subordinates-right-mask-icon {
|
|
155
|
-
font-size: 16px;
|
|
156
|
-
color: #89919f;
|
|
157
|
-
transform: rotate(180deg);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.titaui-dynamic-my-team__subordinates-right-mask-icon:hover {
|
|
161
|
-
cursor: pointer;
|
|
162
|
-
color: #2879ff;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.titaui-dynamic-my-team__subordinates-content {
|
|
166
|
-
flex: 1;
|
|
167
|
-
display: flex;
|
|
168
|
-
align-items: center;
|
|
169
|
-
word-break: keep-all;
|
|
170
|
-
white-space: nowrap;
|
|
171
|
-
overflow: hidden;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.titaui-dynamic-my-team__subordinates-item {
|
|
175
|
-
margin-left: 12px;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.titaui-dynamic-my-team__subordinates-item:first-of-type {
|
|
179
|
-
margin-left: 20px;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.titaui-dynamic-my-team__subordinates-item:last-of-type {
|
|
183
|
-
margin-right: 20px;
|
|
184
|
-
}
|