@titaui/pc 1.15.19 → 1.15.21-beta.1

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.
@@ -24,6 +24,12 @@
24
24
  color: #6F7886;
25
25
  }
26
26
 
27
+ .titaui-dialog-qq-docs__cancel-btn:hover {
28
+ border-color: #2879FF;
29
+ color: #2879FF;
30
+ background-color: #fff;
31
+ }
32
+
27
33
  .titaui-dialog-qq-docs__search-null {
28
34
  height: 100%;
29
35
  display: flex;
@@ -36,7 +36,6 @@
36
36
  .titaui-user-message-msg-inform__item-photo {
37
37
  width: 32px;
38
38
  height: 32px;
39
- background-color: gray;
40
39
  border-radius: 50%;
41
40
  margin-top: 15px;
42
41
  margin-left: 8px;
@@ -213,9 +213,9 @@ var NavTop = function NavTop() {
213
213
 
214
214
  if (hash) {
215
215
  var activeMenu = menu.find(function (item) {
216
- var _item$href$split, _item$href$split$;
216
+ var _item$href$split, _item$href$split$, _item$href$split$$spl;
217
217
 
218
- return hash.includes((_item$href$split = item.href.split('#')) === null || _item$href$split === void 0 ? void 0 : (_item$href$split$ = _item$href$split[1]) === null || _item$href$split$ === void 0 ? void 0 : _item$href$split$.split('?')[0]);
218
+ return hash.includes((_item$href$split = item.href.split('#')) === null || _item$href$split === void 0 ? void 0 : (_item$href$split$ = _item$href$split[1]) === null || _item$href$split$ === void 0 ? void 0 : (_item$href$split$$spl = _item$href$split$.split('?')) === null || _item$href$split$$spl === void 0 ? void 0 : _item$href$split$$spl[0]);
219
219
  });
220
220
 
221
221
  if (hash.includes('homepage')) {
@@ -226,7 +226,11 @@ var NavTop = function NavTop() {
226
226
  if (activeMenu) {
227
227
  setActiveMenuId(activeMenu.id);
228
228
  } else {
229
- setActiveMenuId(-1);
229
+ if (menu.length <= 1) {
230
+ setActiveMenuId(-1);
231
+ } else {
232
+ setActiveMenuId(menu[1].id);
233
+ }
230
234
  }
231
235
  }
232
236
  };
@@ -23,7 +23,7 @@
23
23
  background: #fff;
24
24
  height: 16px;
25
25
  line-height: 16px;
26
- padding: 8px 24px;
26
+ padding: 8px 22px;
27
27
  border-radius: 0 0 4px 4px;
28
28
  font-size: 14px;
29
29
  color: #6F7886;
@@ -189,6 +189,7 @@ function PeriodSelector(_ref) {
189
189
  padding: '6px 12px'
190
190
  }
191
191
  }, /*#__PURE__*/_react["default"].createElement("span", {
192
+ className: "titaui-period-selector_value",
192
193
  style: {
193
194
  lineHeight: '18px',
194
195
  whiteSpace: 'nowrap'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.15.19",
3
+ "version": "1.15.21-beta.1",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",