n20-common-lib 1.1.98 → 1.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "1.1.98",
3
+ "version": "1.2.2",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -20,8 +20,8 @@
20
20
 
21
21
  .el-tooltip,
22
22
  .el-submenu__title {
23
- padding-left: 10px !important;
24
- padding-right: 10px !important;
23
+ padding-left: 16px !important;
24
+ padding-right: 16px !important;
25
25
  }
26
26
 
27
27
  .open-collapsed-btn {
@@ -38,6 +38,14 @@
38
38
  padding-left: 16px !important;
39
39
  }
40
40
 
41
+ /* 处理默认宽度24px导致的二级图标不居中问题 */
42
+ .el-menu--collapse > .el-menu-item [class^="el-icon-"], .el-menu--collapse > .el-submenu > .el-submenu__title [class^="el-icon-"] {
43
+ margin: 0;
44
+ vertical-align: middle;
45
+ width: 18px;
46
+ text-align: center;
47
+ }
48
+
41
49
  .open-collapsed-btn {
42
50
  box-sizing: border-box;
43
51
  position: sticky;
@@ -71,3 +71,7 @@
71
71
  color: var(--color-danger);
72
72
  }
73
73
  }
74
+
75
+ .read {
76
+ color: #bac4cf;
77
+ }
@@ -52,7 +52,7 @@
52
52
  :key="item.ntId"
53
53
  :class="[
54
54
  'flex-box flex-v m-b-ss notice-item',
55
- item.readStatus == 0 ? 'noread' : 'read'
55
+ item.readStatus == 0 ? 'unread-notice' : 'read'
56
56
  ]"
57
57
  @click="seeDetailsAffiche(item)"
58
58
  >
@@ -289,12 +289,3 @@ export default {
289
289
  }
290
290
  }
291
291
  </script>
292
-
293
- <style>
294
- .read {
295
- color: #bac4cf;
296
- }
297
- .noread {
298
- color: black;
299
- }
300
- </style>