@titaui/pc 1.10.25 → 1.10.26

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.
@@ -39,12 +39,13 @@
39
39
 
40
40
  .titaui-dynamic-first-level-tabs__tab--point {
41
41
  position: absolute;
42
- width: 8px;
43
- height: 8px;
42
+ width: 6px;
43
+ height: 6px;
44
44
  background: #f05e5e;
45
45
  border-radius: 50%;
46
- right: -2px;
46
+ right: -6px;
47
47
  top: 22px;
48
+ border: 2px solid #ffffff;
48
49
  }
49
50
 
50
51
  .titaui-dynamic-first-level-tabs__hide-first-level-tabs {
@@ -109,7 +109,7 @@ var DynamicTask = function DynamicTask(_ref) {
109
109
  var renderDesc = (0, _react.useMemo)(function () {
110
110
  var dom;
111
111
 
112
- if (obj === null) {
112
+ if (obj === null || !obj.objName) {
113
113
  dom = "".concat((0, _getLocale.getLocale)("Mod_InChargeof")).concat((0, _getLocale.getLocale)("Mod_Tasks"));
114
114
  } else {
115
115
  dom = /*#__PURE__*/_react["default"].createElement("span", {
@@ -101,7 +101,7 @@
101
101
  .titaui-dynamic-item__footer-icon-redenvelopes::before {
102
102
  content: '';
103
103
  display: inline-block;
104
- background: url("../img/dynamic-redenvelopes-normal.svg") no-repeat;
104
+ background: url("../img/dynamic-reward-normal.svg") no-repeat;
105
105
  background-size: 20px 20px;
106
106
  width: 20px;
107
107
  height: 20px;
@@ -112,7 +112,7 @@
112
112
  }
113
113
 
114
114
  .titaui-dynamic-item__footer-icon-redenvelopes:hover::before {
115
- background: url("../img/dynamic-redenvelopes-hover.svg") no-repeat;
115
+ background: url("../img/dynamic-reward-hover.svg") no-repeat;
116
116
  }
117
117
 
118
118
  .titaui-dynamic-item__footer-number {
@@ -0,0 +1 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="74.137%" y1="76.285%" x2="7.656%" y2=".727%" id="a"><stop stop-color="#F05E5E" offset="0%"/><stop stop-color="#FFA5A5" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><rect width="20" height="20" rx=".167"/><path d="M2.88 4.641c.366.221.82.422 1.345.599 1.478.498 3.52.806 5.775.806 2.255 0 4.296-.308 5.775-.806.42-.142.795-.299 1.117-.469l.228-.129.14.332c.604 1.524.907 3.2.907 5.026 0 1.979-.355 3.78-1.066 5.403h.001a3.5 3.5 0 0 1-1.78 1.793c-1.45.647-3.225.97-5.322.97s-3.872-.323-5.323-.969v-.001a3.5 3.5 0 0 1-1.779-1.792C2.188 13.78 1.833 11.979 1.833 10c0-1.96.349-3.747 1.046-5.359zm5.843 4.776a.67.67 0 0 0-.924-.125.54.54 0 0 0-.1.758l1.114 1.459h-.667a.485.485 0 1 0 0 .97h1.213v.75H8.021a.614.614 0 0 0 0 1.227h1.338v.55a.668.668 0 0 0 1.337 0v-.55h1.355a.614.614 0 0 0 0-1.227h-1.355v-.75h1.23a.485.485 0 1 0 0-.97h-.662l.989-1.431a.572.572 0 0 0-.177-.817.658.658 0 0 0-.876.186l-1.159 1.645zM10 1.833c2.097 0 3.872.324 5.323.97v.001a3.5 3.5 0 0 1 1.24.929c-.33.224-.911.428-1.7.595-1.282.273-3.013.428-4.863.428-1.85 0-3.58-.155-4.863-.428-.79-.168-1.37-.372-1.7-.595.338-.396.76-.714 1.24-.929v-.001c1.348-.6 2.974-.922 4.878-.965L10 1.833z" fill="url(#a)"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect width="20" height="20" rx=".167"/><path d="M2.88 4.641c.366.221.82.422 1.345.599 1.478.498 3.52.806 5.775.806 2.255 0 4.296-.308 5.775-.806.42-.142.795-.299 1.117-.469l.228-.129.14.332c.604 1.524.907 3.2.907 5.026 0 1.979-.355 3.78-1.066 5.403h.001a3.5 3.5 0 0 1-1.78 1.793c-1.45.647-3.225.97-5.322.97s-3.872-.323-5.323-.969v-.001a3.5 3.5 0 0 1-1.779-1.792C2.188 13.78 1.833 11.979 1.833 10c0-1.96.349-3.747 1.046-5.359zm5.843 4.776a.67.67 0 0 0-.924-.125.54.54 0 0 0-.1.758l1.114 1.459h-.667a.485.485 0 1 0 0 .97h1.213v.75H8.021a.614.614 0 0 0 0 1.227h1.338v.55a.668.668 0 0 0 1.337 0v-.55h1.355a.614.614 0 0 0 0-1.227h-1.355v-.75h1.23a.485.485 0 1 0 0-.97h-.662l.989-1.431a.572.572 0 0 0-.177-.817.658.658 0 0 0-.876.186l-1.159 1.645zM10 1.833c2.097 0 3.872.324 5.323.97v.001a3.5 3.5 0 0 1 1.24.929c-.33.224-.911.428-1.7.595-1.282.273-3.013.428-4.863.428-1.85 0-3.58-.155-4.863-.428-.79-.168-1.37-.372-1.7-.595.338-.396.76-.714 1.24-.929v-.001c1.348-.6 2.974-.922 4.878-.965L10 1.833z" fill="#A4ACB9"/></g></svg>
@@ -40,8 +40,6 @@
40
40
  }
41
41
 
42
42
  .titaui-nav-top-menu__menu--hasNum {
43
- display: flex;
44
- align-items: center;
45
43
  position: absolute;
46
44
  right: 4px;
47
45
  top: 6px;
@@ -51,8 +49,10 @@
51
49
  height: 16px;
52
50
  font-size: 12px;
53
51
  color: #ffffff;
54
- line-height: 18px;
52
+ line-height: 16px;
55
53
  padding: 0 4px;
54
+ text-align: center;
55
+ min-width: 8px;
56
56
  }
57
57
 
58
58
  .titaui-nav-top-menu__hide-menus {
@@ -35,6 +35,8 @@
35
35
  padding: 0 4px;
36
36
  top: -4px;
37
37
  left: 12px;
38
+ text-align: center;
39
+ min-width: 8px;
38
40
  }
39
41
 
40
42
  .titaui-user-message__popup-right-top-enter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.25",
3
+ "version": "1.10.26",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -1 +0,0 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="74.137%" y1="76.285%" x2="7.656%" y2=".727%" id="a"><stop stop-color="#F05E5E" offset="0%"/><stop stop-color="#FFA5A5" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><rect width="20" height="20" rx=".167"/><path d="M16.905 4.805c0 .004.003.01.005.014.67 1.56 1.007 3.286 1.007 5.181s-.336 3.622-1.008 5.18v.001a3.5 3.5 0 0 1-1.814 1.823c-1.394.609-3.093.913-5.095.913s-3.7-.304-5.095-.912A3.5 3.5 0 0 1 3.09 15.18c-.67-1.56-1.007-3.286-1.007-5.181 0-1.75.287-3.355.86-4.818l.147-.363.006-.013c.356.213.797.408 1.306.58 1.433.482 3.412.78 5.598.78s4.165-.298 5.598-.78c.51-.172.95-.367 1.307-.58zm-8.143 4.63a.65.65 0 0 0-.895-.121.524.524 0 0 0-.098.735l1.08 1.413h-.646a.47.47 0 1 0 0 .94h1.176v.728H8.082a.595.595 0 0 0 0 1.19h1.297v.532a.648.648 0 1 0 1.296 0v-.532h1.313a.595.595 0 0 0 0-1.19h-1.313v-.728h1.192a.47.47 0 0 0 0-.94h-.641l.958-1.387a.555.555 0 0 0-.172-.79.638.638 0 0 0-.849.179l-1.123 1.594zM10 2.083c2.002 0 3.7.304 5.095.912a3.5 3.5 0 0 1 1.26.933c-.32.216-.88.412-1.64.574-1.244.264-2.922.415-4.715.415-1.793 0-3.471-.151-4.714-.415-.76-.162-1.32-.358-1.642-.573.342-.4.772-.72 1.26-.933v-.001c1.296-.564 2.853-.867 4.672-.907L10 2.083z" fill="url(#a)"/></g></svg>
@@ -1 +0,0 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect width="20" height="20" rx=".167"/><path d="M16.905 4.805c0 .004.003.01.005.014.67 1.56 1.007 3.286 1.007 5.181s-.336 3.622-1.008 5.18v.001a3.5 3.5 0 0 1-1.814 1.823c-1.394.609-3.093.913-5.095.913s-3.7-.304-5.095-.912A3.5 3.5 0 0 1 3.09 15.18c-.67-1.56-1.007-3.286-1.007-5.181 0-1.75.287-3.355.86-4.818l.147-.363.006-.013c.356.213.797.408 1.306.58 1.433.482 3.412.78 5.598.78s4.165-.298 5.598-.78c.51-.172.95-.367 1.307-.58zm-8.143 4.63a.65.65 0 0 0-.895-.121.524.524 0 0 0-.098.735l1.08 1.413h-.646a.47.47 0 1 0 0 .94h1.176v.728H8.082a.595.595 0 0 0 0 1.19h1.297v.532a.648.648 0 1 0 1.296 0v-.532h1.313a.595.595 0 0 0 0-1.19h-1.313v-.728h1.192a.47.47 0 0 0 0-.94h-.641l.958-1.387a.555.555 0 0 0-.172-.79.638.638 0 0 0-.849.179l-1.123 1.594zM10 2.083c2.002 0 3.7.304 5.095.912a3.5 3.5 0 0 1 1.26.933c-.32.216-.88.412-1.64.574-1.244.264-2.922.415-4.715.415-1.793 0-3.471-.151-4.714-.415-.76-.162-1.32-.358-1.642-.573.342-.4.772-.72 1.26-.933v-.001c1.296-.564 2.853-.867 4.672-.907L10 2.083z" fill="#A4ACB9"/></g></svg>