@titaui/pc 1.12.19 → 1.12.20
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/book-demo/components/pc/components/content/index.css +14 -6
- package/lib/components/book-demo/components/pc/components/content/index.js +4 -6
- package/lib/components/book-demo/constant.js +6 -3
- package/lib/components/book-demo/img/order-award.png +0 -0
- package/lib/components/book-demo/utils.js +2 -1
- package/lib/components/nav-top/components/app-center/images/yuyue-award.png +0 -0
- package/lib/components/nav-top/components/app-center/index.css +9 -3
- package/lib/components/nav-top/components/app-center/index.js +3 -3
- package/lib/components/nav-top/components/menu/index.js +2 -2
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +18 -18
- package/lib/components/nav-top/components/user-message/index.css +4 -4
- package/lib/components/nav-top/images/app-center.svg +21 -0
- package/lib/components/nav-top/index.css +20 -5
- package/lib/components/nav-top/index.js +3 -3
- package/lib/pages/aha2021/index.css +1 -1
- package/package.json +1 -1
|
@@ -7,8 +7,21 @@
|
|
|
7
7
|
.titaui-book-demo-pc-content__left {
|
|
8
8
|
width: 358px;
|
|
9
9
|
height: 502px;
|
|
10
|
-
background: linear-gradient(
|
|
10
|
+
background: linear-gradient(135deg, #FFC04E 0%, #FF0041 100%);
|
|
11
11
|
border-radius: 24px 0px 0px 24px;
|
|
12
|
+
position: relative;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.titaui-book-demo-pc-content__left__bg {
|
|
17
|
+
position: absolute;
|
|
18
|
+
left: 0;
|
|
19
|
+
right: 0;
|
|
20
|
+
bottom: 0;
|
|
21
|
+
top: 0;
|
|
22
|
+
background-image: url("../../../../img/order-award.png");
|
|
23
|
+
background-size: cover;
|
|
24
|
+
height: 100%;
|
|
12
25
|
}
|
|
13
26
|
|
|
14
27
|
.titaui-book-demo-pc-content__left-title {
|
|
@@ -26,11 +39,6 @@
|
|
|
26
39
|
line-height: 22px;
|
|
27
40
|
}
|
|
28
41
|
|
|
29
|
-
.titaui-book-demo-pc-content__left-img {
|
|
30
|
-
margin-top: 30px;
|
|
31
|
-
width: 358px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
42
|
.titaui-book-demo-pc-content__right {
|
|
35
43
|
flex: 1;
|
|
36
44
|
margin: 48px 0 0 32px;
|
|
@@ -176,7 +176,7 @@ var BookDemoPCContent = function BookDemoPCContent(_ref) {
|
|
|
176
176
|
source: source > 0 ? source : Source
|
|
177
177
|
}).then(function (res) {
|
|
178
178
|
if (res.data.Code) {
|
|
179
|
-
(0, _request.sendBookDemoJson)((0, _utils.bookDemoTransformDataToJson)(result, source > 0 ? source : Source, _constant.DemoTypeTextMap[type], content));
|
|
179
|
+
(0, _request.sendBookDemoJson)((0, _utils.bookDemoTransformDataToJson)(result, source > 0 ? source : Source, _constant.DemoTypeTextMap[type], content, uid));
|
|
180
180
|
|
|
181
181
|
_toast["default"].Success("提交成功", {
|
|
182
182
|
style: {
|
|
@@ -317,15 +317,13 @@ var BookDemoPCContent = function BookDemoPCContent(_ref) {
|
|
|
317
317
|
className: preCls
|
|
318
318
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
319
319
|
className: "".concat(preCls, "__left")
|
|
320
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
321
|
+
className: "".concat(preCls, "__left__bg")
|
|
320
322
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
321
323
|
className: "".concat(preCls, "__left-title")
|
|
322
324
|
}, data.title), /*#__PURE__*/_react["default"].createElement("div", {
|
|
323
325
|
className: "".concat(preCls, "__left-desc")
|
|
324
|
-
}, data.desc), /*#__PURE__*/_react["default"].createElement("
|
|
325
|
-
className: "".concat(preCls, "__left-img"),
|
|
326
|
-
alt: "\u9884\u7EA6\u6F14\u793A",
|
|
327
|
-
src: data.img
|
|
328
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
326
|
+
}, data.desc))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
329
327
|
className: "".concat(preCls, "__right")
|
|
330
328
|
}, /*#__PURE__*/_react["default"].createElement(_scrollbar["default"], {
|
|
331
329
|
style: {
|
|
@@ -7,7 +7,7 @@ exports.trackerInfo = exports.defaultBookDemoJsonValue = exports["default"] = ex
|
|
|
7
7
|
|
|
8
8
|
var _interface = require("./interface");
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _orderAward = _interopRequireDefault(require("./img/order-award.png"));
|
|
11
11
|
|
|
12
12
|
var _demoOkr = _interopRequireDefault(require("./img/demo-okr.jpg"));
|
|
13
13
|
|
|
@@ -23,8 +23,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
23
23
|
|
|
24
24
|
var bookTypeInfo = (_bookTypeInfo = {}, _defineProperty(_bookTypeInfo, _interface.EDemoType.UniversalBookDemo, {
|
|
25
25
|
title: "立即预约演示",
|
|
26
|
-
desc: "
|
|
27
|
-
img:
|
|
26
|
+
desc: "成功预约完成演示就送大礼包!",
|
|
27
|
+
img: _orderAward["default"],
|
|
28
28
|
formField: [{
|
|
29
29
|
name: "姓名",
|
|
30
30
|
type: "text",
|
|
@@ -150,6 +150,9 @@ var bookTypeInfo = (_bookTypeInfo = {}, _defineProperty(_bookTypeInfo, _interfac
|
|
|
150
150
|
}, {
|
|
151
151
|
text: "计划管理",
|
|
152
152
|
value: "interestTask"
|
|
153
|
+
}, {
|
|
154
|
+
text: "一对一面谈",
|
|
155
|
+
value: "oneOnOneInterviews"
|
|
153
156
|
}],
|
|
154
157
|
required: true,
|
|
155
158
|
multiSelect: true,
|
|
Binary file
|
|
@@ -33,7 +33,7 @@ var getSource = function getSource() {
|
|
|
33
33
|
|
|
34
34
|
exports.getSource = getSource;
|
|
35
35
|
|
|
36
|
-
var bookDemoTransformDataToJson = function bookDemoTransformDataToJson(data, source, appliedProduct, content) {
|
|
36
|
+
var bookDemoTransformDataToJson = function bookDemoTransformDataToJson(data, source, appliedProduct, content, uid) {
|
|
37
37
|
var result = _objectSpread({}, _constant.defaultBookDemoJsonValue);
|
|
38
38
|
|
|
39
39
|
data.forEach(function (item) {
|
|
@@ -70,6 +70,7 @@ var bookDemoTransformDataToJson = function bookDemoTransformDataToJson(data, sou
|
|
|
70
70
|
result.source = source;
|
|
71
71
|
result.appliedProduct = appliedProduct;
|
|
72
72
|
result.content = content;
|
|
73
|
+
result.tenantId = uid;
|
|
73
74
|
delete result.verificationCode;
|
|
74
75
|
return result;
|
|
75
76
|
};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
|
|
3
1
|
.app-center {
|
|
4
2
|
padding: 32px 120px 28px;
|
|
5
3
|
position: relative;
|
|
6
|
-
box-shadow: 0 8px 24px 0 rgb 127 145 180/20%;
|
|
7
4
|
}
|
|
8
5
|
|
|
9
6
|
.app-center__title {
|
|
@@ -151,6 +148,7 @@
|
|
|
151
148
|
.app-center__drawer .drawer-content-wrapper,
|
|
152
149
|
.app-center__drawer .drawer-content {
|
|
153
150
|
border-radius: 24px;
|
|
151
|
+
box-shadow: 0 8px 24px 0 rgba(127, 145, 180, 0.2);
|
|
154
152
|
}
|
|
155
153
|
|
|
156
154
|
.app-center__drawer .drawer-mask {
|
|
@@ -168,3 +166,11 @@
|
|
|
168
166
|
width: 120px;
|
|
169
167
|
height: 144px;
|
|
170
168
|
}
|
|
169
|
+
|
|
170
|
+
.titaui-drawer.drawer-open.drawer-top .drawer-content-wrapper {
|
|
171
|
+
box-shadow: none;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.drawer-top.drawer-open .drawer-content-wrapper {
|
|
175
|
+
box-shadow: none;
|
|
176
|
+
}
|
|
@@ -25,7 +25,7 @@ require("./index.css");
|
|
|
25
25
|
|
|
26
26
|
var _interface = require("./interface");
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _yuyueAward = _interopRequireDefault(require("./images/yuyue-award.png"));
|
|
29
29
|
|
|
30
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
31
31
|
|
|
@@ -88,7 +88,7 @@ var AppCenter = function AppCenter(props) {
|
|
|
88
88
|
|
|
89
89
|
if (hash) {
|
|
90
90
|
var activeApp = apps.find(function (app) {
|
|
91
|
-
return hash.includes(app.
|
|
91
|
+
return hash.includes(app.code);
|
|
92
92
|
});
|
|
93
93
|
return (activeApp === null || activeApp === void 0 ? void 0 : activeApp.id) || apps[0].id;
|
|
94
94
|
}
|
|
@@ -194,7 +194,7 @@ var AppCenter = function AppCenter(props) {
|
|
|
194
194
|
onClick: handlePoint
|
|
195
195
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
196
196
|
className: "".concat(precls, "__app-right-img__img"),
|
|
197
|
-
src:
|
|
197
|
+
src: _yuyueAward["default"],
|
|
198
198
|
alt: "\u9884\u7EA6\u6709\u5956"
|
|
199
199
|
})), /*#__PURE__*/_react["default"].createElement(_errorBoundary["default"], {
|
|
200
200
|
errorLevel: _errorLevel["default"].P0,
|
|
@@ -175,8 +175,8 @@ var Menu = function Menu(_ref) {
|
|
|
175
175
|
}, items.map(function (menu) {
|
|
176
176
|
var href = menu.href;
|
|
177
177
|
|
|
178
|
-
if (menu.title === "Learning") {
|
|
179
|
-
href = "".concat(apiPath, "/").concat(
|
|
178
|
+
if (menu.title === "Learning" || menu.code === "learning") {
|
|
179
|
+
href = "".concat(apiPath, "/").concat(href);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
@@ -35,7 +35,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
35
35
|
|
|
36
36
|
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; }
|
|
37
37
|
|
|
38
|
-
var preCls =
|
|
38
|
+
var preCls = "titaui-user-message-msg-inform";
|
|
39
39
|
|
|
40
40
|
function Inform(props) {
|
|
41
41
|
var item = props.item,
|
|
@@ -51,7 +51,7 @@ function Inform(props) {
|
|
|
51
51
|
user = item.user;
|
|
52
52
|
|
|
53
53
|
if (objType === _constant.EObjType.Kr) {
|
|
54
|
-
_drawerManager["default"].open(
|
|
54
|
+
_drawerManager["default"].open("krDetail", {
|
|
55
55
|
krId: objId
|
|
56
56
|
});
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ function Inform(props) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
if (objType === _constant.EObjType.O) {
|
|
62
|
-
_drawerManager["default"].open(
|
|
62
|
+
_drawerManager["default"].open("okrDetail", {
|
|
63
63
|
okrId: objId
|
|
64
64
|
});
|
|
65
65
|
|
|
@@ -73,13 +73,13 @@ function Inform(props) {
|
|
|
73
73
|
|
|
74
74
|
if (objType === _constant.EObjType.Task) {
|
|
75
75
|
// @ts-ignore
|
|
76
|
-
window.Talent.app.vent.trigger(
|
|
76
|
+
window.Talent.app.vent.trigger("global-pull-screen", objId, "task");
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
if (objType === _constant.EObjType.Remind) {
|
|
81
81
|
// @ts-ignore
|
|
82
|
-
window.Talent.app.vent.trigger(
|
|
82
|
+
window.Talent.app.vent.trigger("global-daily-detail-pull-screen", objId);
|
|
83
83
|
return;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -92,7 +92,7 @@ function Inform(props) {
|
|
|
92
92
|
if (messageType == 135) {
|
|
93
93
|
var redisKey = item.content.match(/redisKey=(\S*?)"/)[1]; // @ts-ignore
|
|
94
94
|
|
|
95
|
-
Talent.app.vent.trigger(
|
|
95
|
+
Talent.app.vent.trigger("open-weekly-report-modal", redisKey);
|
|
96
96
|
return;
|
|
97
97
|
} // 处理合并的消息
|
|
98
98
|
|
|
@@ -118,13 +118,13 @@ function Inform(props) {
|
|
|
118
118
|
if (objType === 0) {
|
|
119
119
|
var str = item.content.match(/\/\/.*?[\"|\']/gi);
|
|
120
120
|
if (!str) return;
|
|
121
|
-
str = str.join(
|
|
121
|
+
str = str.join("");
|
|
122
122
|
|
|
123
123
|
var _url = str.slice(0, str.length - 1);
|
|
124
124
|
|
|
125
125
|
if (_url) {
|
|
126
|
-
if (item.content.indexOf(
|
|
127
|
-
window.open(_url,
|
|
126
|
+
if (item.content.indexOf("点击此处下载") !== -1) {
|
|
127
|
+
window.open(_url, "_self");
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
(0, _tools.openPage)(_url);
|
|
@@ -154,7 +154,7 @@ function Inform(props) {
|
|
|
154
154
|
var _str = item.content.match(/\/\/.*?[\"|\']/gi);
|
|
155
155
|
|
|
156
156
|
if (!_str) return;
|
|
157
|
-
_str = _str.join(
|
|
157
|
+
_str = _str.join("");
|
|
158
158
|
|
|
159
159
|
var _url3 = _str.slice(0, _str.length - 1);
|
|
160
160
|
|
|
@@ -166,7 +166,7 @@ function Inform(props) {
|
|
|
166
166
|
var _str2 = item.content.match(/https:.*?[\"|\']/gi);
|
|
167
167
|
|
|
168
168
|
if (!_str2) return;
|
|
169
|
-
_str2 = _str2.join(
|
|
169
|
+
_str2 = _str2.join("");
|
|
170
170
|
|
|
171
171
|
var _url4 = _str2.slice(0, _str2.length - 1);
|
|
172
172
|
|
|
@@ -185,7 +185,7 @@ function Inform(props) {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
var reg = /href='.*?(?=')/g;
|
|
188
|
-
var url =
|
|
188
|
+
var url = "";
|
|
189
189
|
item.content.replace(reg, function ($0) {
|
|
190
190
|
url = $0.slice(6);
|
|
191
191
|
});
|
|
@@ -196,22 +196,22 @@ function Inform(props) {
|
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
var notificationType =
|
|
199
|
+
var notificationType = "e-report"; // E-周报提醒消息合并
|
|
200
200
|
|
|
201
201
|
var content = domRef.current.textContent;
|
|
202
202
|
|
|
203
|
-
if (messageType ==
|
|
203
|
+
if (messageType == "83") {
|
|
204
204
|
// 项目,目标进展提醒消息合并
|
|
205
|
-
notificationType =
|
|
205
|
+
notificationType = "project-objective";
|
|
206
206
|
} else if (Number(messageType) > 93 && Number(messageType) <= 100) {
|
|
207
207
|
// OKR 仪表盘消息提醒
|
|
208
|
-
notificationType =
|
|
208
|
+
notificationType = "okr-dashBoard";
|
|
209
209
|
} else if (messageType == 131 || messageType == 136) {
|
|
210
|
-
notificationType =
|
|
210
|
+
notificationType = "performance";
|
|
211
211
|
content = item.content;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
_drawerManager["default"].open(
|
|
214
|
+
_drawerManager["default"].open("NotificationMergeDetail", {
|
|
215
215
|
config: {
|
|
216
216
|
content: content,
|
|
217
217
|
messageId: item.messageId,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.titaui-user-message__msg {
|
|
2
2
|
position: relative;
|
|
3
3
|
box-sizing: border-box;
|
|
4
|
-
width:
|
|
5
|
-
height:
|
|
4
|
+
width: 28px;
|
|
5
|
+
height: 28px;
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.titaui-user-message__msg img {
|
|
18
|
-
width:
|
|
19
|
-
height:
|
|
18
|
+
width: 22px;
|
|
19
|
+
height: 22px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.titaui-user-message__msg-img {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="22px" height="22px" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>切片</title>
|
|
4
|
+
<g id="导航" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="试用版-滑出一级菜单1" transform="translate(-163.000000, -16.000000)">
|
|
6
|
+
<g id="一级菜单" transform="translate(136.000000, 0.000000)">
|
|
7
|
+
<g id="编组-17" transform="translate(24.000000, 13.000000)">
|
|
8
|
+
<g id="work-s" transform="translate(3.000000, 3.000000)">
|
|
9
|
+
<rect id="矩形" x="0" y="0" width="22" height="22"></rect>
|
|
10
|
+
<g id="菜单" transform="translate(2.750000, 2.750000)" stroke-width="1.46666667">
|
|
11
|
+
<path d="M3.66666667,0.733333333 C4.4766843,0.733333333 5.21001763,1.06165785 5.74084656,1.59248678 C6.27167548,2.1233157 6.6,2.85664903 6.6,3.66666667 L6.6,3.66666667 L6.6,6.6 L3.66666667,6.6 C2.85664903,6.6 2.1233157,6.27167548 1.59248678,5.74084656 C1.06165785,5.21001763 0.733333333,4.4766843 0.733333333,3.66666667 C0.733333333,2.85664903 1.06165785,2.1233157 1.59248678,1.59248678 C2.1233157,1.06165785 2.85664903,0.733333333 3.66666667,0.733333333 Z" id="矩形" stroke="#57FBFF"></path>
|
|
12
|
+
<path d="M12.8333333,0.733333333 C13.643351,0.733333333 14.3766843,1.06165785 14.9075132,1.59248678 C15.4383421,2.1233157 15.7666667,2.85664903 15.7666667,3.66666667 C15.7666667,4.4766843 15.4383421,5.21001763 14.9075132,5.74084656 C14.3766843,6.27167548 13.643351,6.6 12.8333333,6.6 L12.8333333,6.6 L9.9,6.6 L9.9,3.66666667 C9.9,2.85664903 10.2283245,2.1233157 10.7591534,1.59248678 C11.2899824,1.06165785 12.0233157,0.733333333 12.8333333,0.733333333 Z" id="矩形" stroke="#FFFFFF"></path>
|
|
13
|
+
<path d="M6.6,9.9 L6.6,12.8333333 C6.6,13.643351 6.27167548,14.3766843 5.74084656,14.9075132 C5.21001763,15.4383421 4.4766843,15.7666667 3.66666667,15.7666667 C2.85664903,15.7666667 2.1233157,15.4383421 1.59248678,14.9075132 C1.06165785,14.3766843 0.733333333,13.643351 0.733333333,12.8333333 C0.733333333,12.0233157 1.06165785,11.2899824 1.59248678,10.7591534 C2.1233157,10.2283245 2.85664903,9.9 3.66666667,9.9 L3.66666667,9.9 L6.6,9.9 Z" id="矩形" stroke="#FFFFFF"></path>
|
|
14
|
+
<path d="M12.8333333,9.9 C13.643351,9.9 14.3766843,10.2283245 14.9075132,10.7591534 C15.4383421,11.2899824 15.7666667,12.0233157 15.7666667,12.8333333 C15.7666667,13.643351 15.4383421,14.3766843 14.9075132,14.9075132 C14.3766843,15.4383421 13.643351,15.7666667 12.8333333,15.7666667 C12.0233157,15.7666667 11.2899824,15.4383421 10.7591534,14.9075132 C10.2283245,14.3766843 9.9,13.643351 9.9,12.8333333 L9.9,12.8333333 L9.9,9.9 Z" id="矩形" stroke="#57FBFF"></path>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</g>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</g>
|
|
21
|
+
</svg>
|
|
@@ -30,21 +30,32 @@
|
|
|
30
30
|
display: inline-flex;
|
|
31
31
|
border-radius: 4px;
|
|
32
32
|
margin-right: 24px;
|
|
33
|
+
margin-top: 4px;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
.titaui-nav-top__left-home--active {
|
|
36
37
|
background: #5c8eff;
|
|
37
38
|
}
|
|
38
39
|
|
|
40
|
+
.titaui-nav-top__left-home a {
|
|
41
|
+
width: 28px;
|
|
42
|
+
height: 28px;
|
|
43
|
+
text-align: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
39
46
|
.titaui-nav-top__left-home-img {
|
|
40
|
-
width:
|
|
41
|
-
height:
|
|
47
|
+
width: 22px;
|
|
48
|
+
height: 22px;
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
.titaui-nav-top__left-home--hover:hover {
|
|
45
52
|
cursor: pointer;
|
|
46
53
|
}
|
|
47
54
|
|
|
55
|
+
.titaui-nav-top__left-home:hover {
|
|
56
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
57
|
+
}
|
|
58
|
+
|
|
48
59
|
.titaui-nav-top__left-logo {
|
|
49
60
|
max-width: 120px;
|
|
50
61
|
max-height: 24px;
|
|
@@ -56,12 +67,12 @@
|
|
|
56
67
|
|
|
57
68
|
.titaui-nav-top__left-dynamic, .titaui-nav-top__left-app-center {
|
|
58
69
|
display: inline-block;
|
|
59
|
-
width:
|
|
60
|
-
height:
|
|
70
|
+
width: 22px;
|
|
71
|
+
height: 22px;
|
|
61
72
|
background: url("./images/app-center.png") no-repeat;
|
|
62
73
|
background-size: contain;
|
|
63
74
|
color: #ffffff;
|
|
64
|
-
|
|
75
|
+
border: 3px solid rgba(0, 0, 0, 0);
|
|
65
76
|
border-radius: 8px;
|
|
66
77
|
transition: transform 0.3s;
|
|
67
78
|
cursor: pointer;
|
|
@@ -158,3 +169,7 @@
|
|
|
158
169
|
font-size: 20px;
|
|
159
170
|
color: #ffffff;
|
|
160
171
|
}
|
|
172
|
+
|
|
173
|
+
.titaui-nav-top-no-shadow {
|
|
174
|
+
box-shadow: none;
|
|
175
|
+
}
|
|
@@ -63,7 +63,7 @@ var hasOKRApp = newNavigation.find(function (item) {
|
|
|
63
63
|
var preCls = "titaui-nav-top";
|
|
64
64
|
|
|
65
65
|
var NavTop = function NavTop() {
|
|
66
|
-
var
|
|
66
|
+
var _classNames4;
|
|
67
67
|
|
|
68
68
|
var isUseNewMenu = window.BSGlobal.isUseNewMenu;
|
|
69
69
|
|
|
@@ -145,7 +145,7 @@ var NavTop = function NavTop() {
|
|
|
145
145
|
};
|
|
146
146
|
}, [menu]);
|
|
147
147
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
148
|
-
className: (0, _classnames["default"])(preCls, _defineProperty({}, "".concat(preCls, "--position"), appCenterVisible))
|
|
148
|
+
className: (0, _classnames["default"])(preCls, _defineProperty({}, "".concat(preCls, "--position"), appCenterVisible), _defineProperty({}, "".concat(preCls, "-no-shadow"), appCenterVisible))
|
|
149
149
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
150
150
|
className: "".concat(preCls, "__left"),
|
|
151
151
|
href: "#dynamic"
|
|
@@ -166,7 +166,7 @@ var NavTop = function NavTop() {
|
|
|
166
166
|
menus: menu,
|
|
167
167
|
activeMenuId: activeMenuId
|
|
168
168
|
})), hasOKRApp && /*#__PURE__*/_react["default"].createElement("div", {
|
|
169
|
-
className: (0, _classnames["default"])("".concat(preCls, "__left-home"), (
|
|
169
|
+
className: (0, _classnames["default"])("".concat(preCls, "__left-home"), (_classNames4 = {}, _defineProperty(_classNames4, "".concat(preCls, "__left-home--active"), activeMenuId === 99999), _defineProperty(_classNames4, "".concat(preCls, "__left-home--hover"), hasOKRApp), _classNames4))
|
|
170
170
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
171
171
|
href: "#homepage"
|
|
172
172
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|