@yueglobal/ui 1.0.7 → 1.0.8

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": "@yueglobal/ui",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "粤链全球 - react组件库",
5
5
  "license": "MIT",
6
6
  "module": "index.js",
@@ -56,10 +56,7 @@
56
56
  }
57
57
  }
58
58
 
59
- .ant-menu-item::after {
60
- content: none;
61
- }
62
-
59
+ .ant-menu-item,
63
60
  .ant-menu-submenu {
64
61
  &::after {
65
62
  width: 0;
@@ -68,7 +65,6 @@
68
65
  transform: translateX(-50%);
69
66
  border: 14px solid transparent;
70
67
  border-top-width: 0;
71
- transition: border-bottom-width 0.2s ease-in-out;
72
68
  }
73
69
  }
74
70
 
@@ -76,15 +72,42 @@
76
72
  border-bottom-color: rgba(4, 41, 131, 80%) !important;
77
73
  }
78
74
 
79
- .ant-menu-submenu-selected:first-child {
80
- &::after {
75
+ .ant-menu-item-selected,
76
+ .ant-menu-submenu-selected {
77
+ &:nth-child(1)::after {
81
78
  border-bottom-color: #17c8b8;
82
79
  }
80
+ &:nth-child(2)::after {
81
+ border-bottom-color: #18b8c1;
82
+ }
83
+ &:nth-child(3)::after {
84
+ border-bottom-color: #18acc8;
85
+ }
86
+ &:nth-child(4)::after {
87
+ border-bottom-color: #18a2ce;
88
+ }
89
+ &:nth-child(5)::after {
90
+ border-bottom-color: #1896d4;
91
+ }
92
+ &:nth-child(6)::after {
93
+ border-bottom-color: #198bdb;
94
+ }
95
+ }
96
+
97
+ .ant-menu-item-active:not(.ant-menu-item-selected)::after {
98
+ border-bottom-color: transparent !important;
99
+ }
100
+
101
+ &.single {
102
+ .ant-menu-item::after {
103
+ content: none;
104
+ }
83
105
  }
84
106
 
85
107
  &.single,
86
108
  &.open {
87
- .ant-menu-submenu-selected:first-child {
109
+ .ant-menu-item-selected,
110
+ .ant-menu-submenu-selected {
88
111
  &::after {
89
112
  border-bottom-color: transparent;
90
113
  }
@@ -84,6 +84,11 @@ export var firstMenuList = [{
84
84
  }, {
85
85
  key: "".concat(mainHost, "/aboutus"),
86
86
  label: '关于我们'
87
+ /*children: [
88
+ { key: `${mainHost}/aboutus?key=1`, label: '企业宣传片' },
89
+ { key: `${mainHost}/aboutus?key=2`, label: '企业宣传册' },
90
+ { key: `${mainHost}/aboutus?key=3`, label: '企业资质' },
91
+ ],*/
87
92
  }];
88
93
 
89
94
  /**