@titaui/pc 1.7.81 → 1.7.85
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/dynamic/dynamic-item/dynamic-share-to-dynamic/index.css +13 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share-to-dynamic/index.js +4 -3
- package/lib/components/form/form-fields/user/index.js +5 -0
- package/lib/components/nav-top/components/menu/index.css +3 -2
- package/lib/components/nav-top/components/menu/index.js +4 -4
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +7 -0
- package/lib/components-v1/radio/style/index.css +2 -2
- package/package.json +1 -1
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
white-space: nowrap;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
.titaui-dynamic-share-to-dynamic__content-title a, .titaui-dynamic-share-to-dynamic__content-title b {
|
|
41
|
+
color: #2879ff;
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
.titaui-dynamic-share-to-dynamic__share {
|
|
41
45
|
box-sizing: border-box;
|
|
42
46
|
height: 104px;
|
|
@@ -54,6 +58,14 @@
|
|
|
54
58
|
height: 80px;
|
|
55
59
|
border-radius: 8px;
|
|
56
60
|
margin-right: 12px;
|
|
61
|
+
background-color: #E9F1FF;
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
padding: 16px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.titaui-dynamic-share-to-dynamic__share-img > img {
|
|
67
|
+
width: 48px;
|
|
68
|
+
height: 48px;
|
|
57
69
|
}
|
|
58
70
|
|
|
59
71
|
.titaui-dynamic-share-to-dynamic__share-right {
|
|
@@ -63,7 +75,7 @@
|
|
|
63
75
|
.titaui-dynamic-share-to-dynamic__share-right-title {
|
|
64
76
|
display: block;
|
|
65
77
|
font-size: 16px;
|
|
66
|
-
font-weight:
|
|
78
|
+
font-weight: 700;
|
|
67
79
|
color: #141c28;
|
|
68
80
|
line-height: 24px;
|
|
69
81
|
margin-bottom: 8px;
|
|
@@ -140,10 +140,11 @@ var DynamicShare = function DynamicShare(_ref) {
|
|
|
140
140
|
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
141
|
className: (0, _classnames["default"])("".concat(prefix, "__share")),
|
|
142
142
|
onClick: handleClick
|
|
143
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
144
|
-
src: _guanlian["default"],
|
|
143
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
145
144
|
className: (0, _classnames["default"])("".concat(prefix, "__share-img"))
|
|
146
|
-
}
|
|
145
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
146
|
+
src: _guanlian["default"]
|
|
147
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
147
148
|
className: (0, _classnames["default"])("".concat(prefix, "__share-right"))
|
|
148
149
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
149
150
|
className: (0, _classnames["default"])("".concat(prefix, "__share-right-title"))
|
|
@@ -223,6 +223,11 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
223
223
|
'depart': true,
|
|
224
224
|
'group': false
|
|
225
225
|
},
|
|
226
|
+
searchedPanes: {
|
|
227
|
+
user: true,
|
|
228
|
+
depart: false,
|
|
229
|
+
group: false
|
|
230
|
+
},
|
|
226
231
|
onPopupVisibleChange: onPopupVisibleChangeHandler
|
|
227
232
|
}, /*#__PURE__*/_react["default"].createElement(_userInput["default"], {
|
|
228
233
|
users: selectNodes.users,
|
|
@@ -121,13 +121,14 @@
|
|
|
121
121
|
display: block;
|
|
122
122
|
font-size: 14px;
|
|
123
123
|
color: #ffffff;
|
|
124
|
-
line-height:
|
|
124
|
+
line-height: 22px;
|
|
125
|
+
font-weight: 600;
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
.titaui-nav-top-menu__tips-box-content {
|
|
128
129
|
font-size: 12px;
|
|
129
130
|
color: #ffffff;
|
|
130
|
-
line-height:
|
|
131
|
+
line-height: 18px;
|
|
131
132
|
margin-top: 10px;
|
|
132
133
|
margin-left: 20px;
|
|
133
134
|
}
|
|
@@ -130,7 +130,7 @@ var Menu = function Menu(_ref) {
|
|
|
130
130
|
return /*#__PURE__*/_react["default"].createElement(_rcOverflow["default"].Item, {
|
|
131
131
|
component: "span"
|
|
132
132
|
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
133
|
-
condition: menu.
|
|
133
|
+
condition: menu.title !== "Learning"
|
|
134
134
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
135
135
|
className: (0, _classnames["default"])("".concat(prefix, "__menu-show"), _defineProperty({}, "".concat(prefix, "__menu-show--active"), activeMenuId == menu.id)),
|
|
136
136
|
href: "".concat(menu.href),
|
|
@@ -139,7 +139,7 @@ var Menu = function Menu(_ref) {
|
|
|
139
139
|
return handleTracker(menu);
|
|
140
140
|
}
|
|
141
141
|
}, menu.title)), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
142
|
-
condition: menu.
|
|
142
|
+
condition: menu.title === "Learning"
|
|
143
143
|
}, /*#__PURE__*/_react["default"].createElement(_popup["default"], {
|
|
144
144
|
popupVisible: !isKnow,
|
|
145
145
|
popup: popup,
|
|
@@ -168,14 +168,14 @@ var Menu = function Menu(_ref) {
|
|
|
168
168
|
className: "".concat(prefix, "__hide-menus")
|
|
169
169
|
}, items.map(function (menu) {
|
|
170
170
|
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
171
|
-
condition: menu.
|
|
171
|
+
condition: menu.title !== "Learning"
|
|
172
172
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
173
173
|
className: (0, _classnames["default"])("".concat(prefix, "__menu-hide"), _defineProperty({}, "".concat(prefix, "__menu-hide--active"), activeMenuId == menu.id)),
|
|
174
174
|
href: "".concat(menu.href),
|
|
175
175
|
key: menu.id,
|
|
176
176
|
target: "_self"
|
|
177
177
|
}, menu.title)), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
178
|
-
condition: menu.
|
|
178
|
+
condition: menu.title === "Learning"
|
|
179
179
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
180
180
|
className: (0, _classnames["default"])("".concat(prefix, "__menu-hide"), _defineProperty({}, "".concat(prefix, "__menu-hide--active"), activeMenuId == menu.id)),
|
|
181
181
|
href: "".concat(apiPath, "/").concat(userId, "/eLearningHome#/"),
|
|
@@ -63,6 +63,11 @@ var Inform = function Inform(props) {
|
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
if (objType === _constant.EObjType.Project) {
|
|
67
|
+
(0, _tools.openPage)("".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/messages?messageType=2&tabAppId=1&tabAppType=1&isRead=2&messageSubNav=1"));
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
|
|
66
71
|
if (objType === _constant.EObjType.Task) {
|
|
67
72
|
window.Talent.app.vent.trigger('global-pull-screen', objId, 'task');
|
|
68
73
|
return;
|
|
@@ -108,6 +113,8 @@ var Inform = function Inform(props) {
|
|
|
108
113
|
} else if (messageType === _constant.informType.todayJob) {
|
|
109
114
|
window.open("".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#plan?tag_id=0&tag_type=0&filter=1"));
|
|
110
115
|
return;
|
|
116
|
+
} else if (objType === 0 && messageType === 93) {
|
|
117
|
+
(0, _tools.openPage)("".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/messages?messageType=2&tabAppId=1&tabAppType=1&isRead=2&messageSubNav=1"));
|
|
111
118
|
} else if (objType === 0) {
|
|
112
119
|
var str = item.content.match(/\/\/.*?[\"|\']/gi);
|
|
113
120
|
if (!str) return;
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
height: 8px;
|
|
45
45
|
min-height: 8px;
|
|
46
46
|
border-radius: 50%;
|
|
47
|
-
background-color: #2879ff;
|
|
47
|
+
background-color: #2879ff !important;
|
|
48
48
|
transform: scale(0);
|
|
49
49
|
opacity: 0;
|
|
50
50
|
transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.tita-radio .tita-radio-input:checked + .tita-radio-inner {
|
|
54
|
-
border-color: #2879ff;
|
|
54
|
+
border-color: #2879ff !important;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.tita-radio .tita-radio-input:checked + .tita-radio-inner:after {
|