@opendesign-plus-test/components 0.0.1-rc.96 → 0.0.1-rc.97

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.
Files changed (36) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +1 -1
  3. package/dist/components/header/types.d.ts +2 -0
  4. package/dist/components/header-search/OHeaderSearch.vue.d.ts +2 -2
  5. package/dist/components.cjs.js +36 -36
  6. package/dist/components.css +1 -1
  7. package/dist/components.es.js +4155 -4106
  8. package/dist/treeshaking/_virtual/icon-avatar-line.mjs +1 -1
  9. package/dist/treeshaking/_virtual/icon-chevron-right.mjs +4 -1
  10. package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.mjs +1 -1
  11. package/dist/treeshaking/components/element-plus/OElCookieNotice2.css +145 -145
  12. package/dist/treeshaking/components/header/OHeader.css +36 -11
  13. package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
  14. package/dist/treeshaking/components/header/OHeader.vue2.mjs +35 -38
  15. package/dist/treeshaking/components/header/components/HeaderContent.css +312 -554
  16. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  17. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +169 -136
  18. package/dist/treeshaking/components/header/components/HeaderNav.css +60 -30
  19. package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
  20. package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +1 -1
  21. package/dist/treeshaking/components/header/components/HeaderNavMobile.css +108 -130
  22. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
  23. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +126 -121
  24. package/dist/treeshaking/components/header/types.d.ts +2 -0
  25. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +32 -32
  26. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
  27. package/dist/treeshaking/components/header-search/OHeaderSearch.css +42 -37
  28. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +2 -2
  29. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +1 -1
  30. package/dist/treeshaking/components/header-search/OHeaderSearch.vue2.mjs +4 -1
  31. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +57 -27
  32. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +1 -1
  33. package/dist/treeshaking/components/header-user/OHeaderUser.css +26 -26
  34. package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
  35. package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +32 -26
  36. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./HeaderContent.vue2.mjs";
2
2
  import './HeaderContent.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-252ea1d2"]]);
4
+ const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8df309f3"]]);
5
5
  export {
6
6
  HeaderContent as default
7
7
  };
@@ -1,35 +1,35 @@
1
- import { defineComponent, ref, resolveDirective, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createVNode, withCtx, Fragment, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, createCommentVNode, createTextVNode } from "vue";
2
- import { OScroller, OIcon, OTag } from "@opensig/opendesign";
3
- import ContentWrapper from "../../common/ContentWrapper.vue.mjs";
1
+ import { defineComponent, ref, resolveDirective, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createVNode, withCtx, Fragment, renderList, toDisplayString, withDirectives, createBlock, createTextVNode, createCommentVNode, resolveDynamicComponent } from "vue";
2
+ import { OScroller, OTag, OIcon, OPopover } from "@opensig/opendesign";
4
3
  import { useTheme } from "../../../shared/theme.mjs";
5
4
  import { useI18n } from "../../../i18n/index.mjs";
6
- const _hoisted_1 = { class: "nav-sub-content" };
7
- const _hoisted_2 = { class: "content-left" };
8
- const _hoisted_3 = { class: "content-label" };
9
- const _hoisted_4 = { class: "content-container" };
10
- const _hoisted_5 = ["href", "target"];
11
- const _hoisted_6 = { class: "item-name" };
12
- const _hoisted_7 = {
5
+ const _hoisted_1 = { class: "header-content-nav" };
6
+ const _hoisted_2 = { class: "nav-sub-content" };
7
+ const _hoisted_3 = { class: "content-left" };
8
+ const _hoisted_4 = { class: "content-label" };
9
+ const _hoisted_5 = { class: "content-container" };
10
+ const _hoisted_6 = ["href", "target"];
11
+ const _hoisted_7 = { class: "item-name" };
12
+ const _hoisted_8 = {
13
13
  key: 0,
14
14
  class: "desc-container"
15
15
  };
16
- const _hoisted_8 = ["title"];
17
- const _hoisted_9 = {
16
+ const _hoisted_9 = { class: "popover-item-desc" };
17
+ const _hoisted_10 = {
18
18
  key: 0,
19
19
  class: "split-line"
20
20
  };
21
- const _hoisted_10 = {
21
+ const _hoisted_11 = {
22
22
  key: 1,
23
23
  class: "content-right"
24
24
  };
25
- const _hoisted_11 = { class: "content-label" };
26
- const _hoisted_12 = ["href", "target"];
27
- const _hoisted_13 = ["title"];
28
- const _hoisted_14 = ["href", "target"];
29
- const _hoisted_15 = ["src"];
30
- const _hoisted_16 = { class: "review-content" };
31
- const _hoisted_17 = { class: "review-label" };
32
- const _hoisted_18 = { class: "review-property" };
25
+ const _hoisted_12 = { class: "content-label" };
26
+ const _hoisted_13 = ["href", "target"];
27
+ const _hoisted_14 = { class: "popover-shortcut" };
28
+ const _hoisted_15 = ["href", "target"];
29
+ const _hoisted_16 = ["src"];
30
+ const _hoisted_17 = { class: "review-content" };
31
+ const _hoisted_18 = { class: "review-label" };
32
+ const _hoisted_19 = { class: "review-property" };
33
33
  const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  __name: "HeaderContent",
35
35
  props: {
@@ -107,128 +107,161 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
107
107
  class: "nav-background-right",
108
108
  style: normalizeStyle({ backgroundImage: `url(${props.bgRight})` })
109
109
  }, null, 4),
110
- createVNode(ContentWrapper, null, {
111
- default: withCtx(() => [
112
- createVNode(unref(OScroller), {
113
- class: "nav-scroller",
114
- "show-type": "always",
115
- size: "small",
116
- "disabled-y": ""
117
- }, {
118
- default: withCtx(() => {
119
- var _a2, _b2, _c2, _d, _e, _f, _g, _h;
120
- return [
121
- createElementVNode("div", _hoisted_1, [
122
- createElementVNode("div", _hoisted_2, [
123
- (openBlock(true), createElementBlock(Fragment, null, renderList((_a2 = props.itemData) == null ? void 0 : _a2.children, (sub, s) => {
124
- return openBlock(), createElementBlock("div", {
125
- class: "item-sub",
126
- key: s
127
- }, [
128
- createElementVNode("span", _hoisted_3, toDisplayString(sub.label), 1),
129
- createElementVNode("div", _hoisted_4, [
130
- (openBlock(true), createElementBlock(Fragment, null, renderList(sub.children, (subItem) => {
131
- return openBlock(), createElementBlock("div", {
132
- key: subItem.label,
133
- class: "content-item"
110
+ createElementVNode("div", _hoisted_1, [
111
+ createVNode(unref(OScroller), {
112
+ class: "nav-scroller",
113
+ "show-type": "always",
114
+ size: "small",
115
+ "disabled-y": ""
116
+ }, {
117
+ default: withCtx(() => {
118
+ var _a2, _b2, _c2, _d, _e, _f, _g, _h;
119
+ return [
120
+ createElementVNode("div", _hoisted_2, [
121
+ createElementVNode("div", _hoisted_3, [
122
+ (openBlock(true), createElementBlock(Fragment, null, renderList((_a2 = props.itemData) == null ? void 0 : _a2.children, (sub, s) => {
123
+ return openBlock(), createElementBlock("div", {
124
+ class: "item-sub",
125
+ key: s
126
+ }, [
127
+ createElementVNode("span", _hoisted_4, toDisplayString(sub.label), 1),
128
+ createElementVNode("div", _hoisted_5, [
129
+ (openBlock(true), createElementBlock(Fragment, null, renderList(sub.children, (subItem) => {
130
+ return openBlock(), createElementBlock("div", {
131
+ key: subItem.label,
132
+ class: normalizeClass(["content-item", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
133
+ }, [
134
+ withDirectives((openBlock(), createElementBlock("a", {
135
+ href: subItem.href,
136
+ target: (subItem == null ? void 0 : subItem.target) || "_self",
137
+ rel: "noopener noreferrer",
138
+ class: "item-label"
134
139
  }, [
135
- withDirectives((openBlock(), createElementBlock("a", {
136
- href: subItem.href,
137
- target: (subItem == null ? void 0 : subItem.target) || "_self",
138
- rel: "noopener noreferrer",
139
- class: "item-label"
140
- }, [
141
- createElementVNode("span", _hoisted_6, toDisplayString(subItem.label), 1),
142
- subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
143
- default: withCtx(() => [
144
- (openBlock(), createBlock(resolveDynamicComponent(subItem.icon)))
145
- ]),
146
- _: 2
147
- }, 1024)) : createCommentVNode("", true),
148
- subItem.tag ? (openBlock(), createBlock(unref(OTag), {
149
- key: 1,
150
- round: "pill",
151
- color: "danger",
152
- size: "small",
153
- class: "content-tag"
154
- }, {
155
- default: withCtx(() => [
156
- createTextVNode(toDisplayString(subItem.tag), 1)
157
- ]),
158
- _: 2
159
- }, 1024)) : createCommentVNode("", true)
160
- ], 8, _hoisted_5)), [
161
- [_directive_analytics, () => onClickNavHref(sub, subItem)]
162
- ]),
163
- subItem.description ? (openBlock(), createElementBlock("div", _hoisted_7, [
164
- createElementVNode("p", {
165
- class: "item-desc",
166
- title: showDesc.value ? subItem.description : void 0,
167
- onMouseenter: _cache[0] || (_cache[0] = ($event) => descMouseenter($event))
168
- }, toDisplayString(subItem.description), 41, _hoisted_8)
169
- ])) : createCommentVNode("", true)
170
- ]);
171
- }), 128))
172
- ])
173
- ]);
174
- }), 128))
175
- ]),
176
- ((_c2 = (_b2 = props.itemData) == null ? void 0 : _b2.shortcut) == null ? void 0 : _c2.length) ? (openBlock(), createElementBlock("div", _hoisted_9)) : createCommentVNode("", true),
177
- ((_e = (_d = props.itemData) == null ? void 0 : _d.shortcut) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_10, [
178
- createElementVNode("span", _hoisted_11, toDisplayString(unref(locale) === "zh" ? "快捷链接" : "Quick Link"), 1),
179
- !((_f = props.itemData) == null ? void 0 : _f.withPicture) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList((_g = props.itemData) == null ? void 0 : _g.shortcut, (shortcut) => {
180
- return openBlock(), createElementBlock("div", {
181
- key: shortcut.label,
182
- class: "shortcut"
183
- }, [
184
- withDirectives((openBlock(), createElementBlock("a", {
185
- href: shortcut.href,
186
- target: (shortcut == null ? void 0 : shortcut.target) || "_self",
187
- rel: "noopener noreferrer",
188
- class: "shortcut-link"
189
- }, [
190
- createElementVNode("span", {
191
- title: shortcut.label
192
- }, toDisplayString(shortcut.label), 9, _hoisted_13),
193
- shortcut.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
194
- default: withCtx(() => [
195
- (openBlock(), createBlock(resolveDynamicComponent(shortcut.icon)))
140
+ createElementVNode("span", _hoisted_7, toDisplayString(subItem.label), 1),
141
+ subItem.tag ? (openBlock(), createBlock(unref(OTag), {
142
+ key: 0,
143
+ round: "pill",
144
+ color: "danger",
145
+ size: "small",
146
+ class: "content-tag"
147
+ }, {
148
+ default: withCtx(() => [
149
+ createTextVNode(toDisplayString(subItem.tag), 1)
150
+ ]),
151
+ _: 2
152
+ }, 1024)) : createCommentVNode("", true),
153
+ subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 1 }, {
154
+ default: withCtx(() => [
155
+ (openBlock(), createBlock(resolveDynamicComponent(subItem.icon)))
156
+ ]),
157
+ _: 2
158
+ }, 1024)) : createCommentVNode("", true)
159
+ ], 8, _hoisted_6)), [
160
+ [_directive_analytics, () => onClickNavHref(sub, subItem)]
196
161
  ]),
197
- _: 2
198
- }, 1024)) : createCommentVNode("", true)
199
- ], 8, _hoisted_12)), [
200
- [_directive_analytics, () => onClickShortcut(shortcut)]
201
- ])
202
- ]);
203
- }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList((_h = props.itemData) == null ? void 0 : _h.shortcut, (shortcut) => {
204
- return withDirectives((openBlock(), createElementBlock("a", {
205
- key: shortcut.label,
162
+ subItem.description ? (openBlock(), createElementBlock("div", _hoisted_8, [
163
+ showDesc.value ? (openBlock(), createBlock(unref(OPopover), {
164
+ key: 0,
165
+ trigger: "hover",
166
+ position: "bottom",
167
+ "adjust-min-width": false,
168
+ "adjust-width": false
169
+ }, {
170
+ target: withCtx(() => [
171
+ createElementVNode("p", {
172
+ class: normalizeClass(["item-desc", [`item-desc-line-${subItem == null ? void 0 : subItem.line}`]]),
173
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => descMouseenter($event))
174
+ }, toDisplayString(subItem.description), 35)
175
+ ]),
176
+ default: withCtx(() => [
177
+ createElementVNode("p", _hoisted_9, toDisplayString(subItem.description), 1)
178
+ ]),
179
+ _: 2
180
+ }, 1024)) : (openBlock(), createElementBlock("p", {
181
+ key: 1,
182
+ class: normalizeClass(["item-desc", [`item-desc-line-${subItem == null ? void 0 : subItem.line}`]]),
183
+ onMouseenter: _cache[1] || (_cache[1] = ($event) => descMouseenter($event))
184
+ }, toDisplayString(subItem.description), 35))
185
+ ])) : createCommentVNode("", true)
186
+ ], 2);
187
+ }), 128))
188
+ ])
189
+ ]);
190
+ }), 128))
191
+ ]),
192
+ ((_c2 = (_b2 = props.itemData) == null ? void 0 : _b2.shortcut) == null ? void 0 : _c2.length) ? (openBlock(), createElementBlock("div", _hoisted_10)) : createCommentVNode("", true),
193
+ ((_e = (_d = props.itemData) == null ? void 0 : _d.shortcut) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_11, [
194
+ createElementVNode("span", _hoisted_12, toDisplayString(unref(locale) === "zh" ? "快捷链接" : "Quick Link"), 1),
195
+ !((_f = props.itemData) == null ? void 0 : _f.withPicture) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList((_g = props.itemData) == null ? void 0 : _g.shortcut, (shortcut) => {
196
+ return openBlock(), createElementBlock("div", {
197
+ key: shortcut.label,
198
+ class: "shortcut"
199
+ }, [
200
+ withDirectives((openBlock(), createElementBlock("a", {
206
201
  href: shortcut.href,
207
202
  target: (shortcut == null ? void 0 : shortcut.target) || "_self",
208
203
  rel: "noopener noreferrer",
209
- class: "review"
204
+ class: "shortcut-link"
210
205
  }, [
211
- createElementVNode("img", {
212
- src: shortcut.picture,
213
- class: "review-picture"
214
- }, null, 8, _hoisted_15),
215
- createElementVNode("div", _hoisted_16, [
216
- createElementVNode("p", _hoisted_17, toDisplayString(shortcut.label), 1),
217
- createElementVNode("div", _hoisted_18, toDisplayString(shortcut.remark), 1)
218
- ])
219
- ], 8, _hoisted_14)), [
206
+ showDesc.value ? (openBlock(), createBlock(unref(OPopover), {
207
+ key: 0,
208
+ trigger: "hover",
209
+ position: "bottom",
210
+ "adjust-min-width": false,
211
+ "adjust-width": false
212
+ }, {
213
+ target: withCtx(() => [
214
+ createElementVNode("p", {
215
+ class: "shortcut-title",
216
+ onMouseenter: _cache[2] || (_cache[2] = ($event) => descMouseenter($event))
217
+ }, toDisplayString(shortcut.label), 33)
218
+ ]),
219
+ default: withCtx(() => [
220
+ createElementVNode("p", _hoisted_14, toDisplayString(shortcut.label), 1)
221
+ ]),
222
+ _: 2
223
+ }, 1024)) : (openBlock(), createElementBlock("p", {
224
+ key: 1,
225
+ class: "shortcut-title",
226
+ onMouseenter: _cache[3] || (_cache[3] = ($event) => descMouseenter($event))
227
+ }, toDisplayString(shortcut.label), 33)),
228
+ shortcut.icon ? (openBlock(), createBlock(unref(OIcon), { key: 2 }, {
229
+ default: withCtx(() => [
230
+ (openBlock(), createBlock(resolveDynamicComponent(shortcut.icon)))
231
+ ]),
232
+ _: 2
233
+ }, 1024)) : createCommentVNode("", true)
234
+ ], 8, _hoisted_13)), [
220
235
  [_directive_analytics, () => onClickShortcut(shortcut)]
221
- ]);
222
- }), 128))
223
- ])) : createCommentVNode("", true)
224
- ])
225
- ];
226
- }),
227
- _: 1
228
- })
229
- ]),
230
- _: 1
231
- })
236
+ ])
237
+ ]);
238
+ }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList((_h = props.itemData) == null ? void 0 : _h.shortcut, (shortcut) => {
239
+ return withDirectives((openBlock(), createElementBlock("a", {
240
+ key: shortcut.label,
241
+ href: shortcut.href,
242
+ target: (shortcut == null ? void 0 : shortcut.target) || "_self",
243
+ rel: "noopener noreferrer",
244
+ class: "review"
245
+ }, [
246
+ createElementVNode("img", {
247
+ src: shortcut.picture,
248
+ class: "review-picture"
249
+ }, null, 8, _hoisted_16),
250
+ createElementVNode("div", _hoisted_17, [
251
+ createElementVNode("p", _hoisted_18, toDisplayString(shortcut.label), 1),
252
+ createElementVNode("div", _hoisted_19, toDisplayString(shortcut.remark), 1)
253
+ ])
254
+ ], 8, _hoisted_15)), [
255
+ [_directive_analytics, () => onClickShortcut(shortcut)]
256
+ ]);
257
+ }), 128))
258
+ ])) : createCommentVNode("", true)
259
+ ])
260
+ ];
261
+ }),
262
+ _: 1
263
+ })
264
+ ])
232
265
  ], 2)) : createCommentVNode("", true)
233
266
  ], 32);
234
267
  };
@@ -1,31 +1,31 @@
1
- .hover-icon-rotate .o-icon[data-v-7e0de1ab] {
1
+ .hover-icon-rotate .o-icon[data-v-64df272e] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-7e0de1ab] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-64df272e] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .header-nav-wrap[data-v-7e0de1ab] {
9
+ .header-nav-wrap[data-v-64df272e] {
10
10
  height: 100%;
11
11
  }
12
- .header-nav-wrap .header-nav[data-v-7e0de1ab] {
12
+ .header-nav-wrap .header-nav[data-v-64df272e] {
13
13
  height: 100%;
14
14
  display: flex;
15
15
  justify-content: space-between;
16
16
  width: calc(100% - 64px);
17
17
  align-items: center;
18
18
  }
19
- .header-nav-wrap .header-nav-scroll[data-v-7e0de1ab] {
19
+ .header-nav-wrap .header-nav-scroll[data-v-64df272e] {
20
20
  width: calc(100% - 64px - 24px);
21
21
  }
22
- .o-nav[data-v-7e0de1ab] {
22
+ .o-nav[data-v-64df272e] {
23
23
  height: 100%;
24
24
  position: relative;
25
25
  overflow-y: hidden;
26
26
  overflow-x: auto;
27
27
  }
28
- .o-nav[data-v-7e0de1ab]::after {
28
+ .o-nav[data-v-64df272e]::after {
29
29
  content: "";
30
30
  position: absolute;
31
31
  width: 50px;
@@ -35,16 +35,36 @@
35
35
  background-image: linear-gradient(90deg, rgba(var(--o-grey-1), 0) 0%, rgba(var(--o-grey-1), 1) 100%);
36
36
  z-index: 0;
37
37
  }
38
- .o-nav[data-v-7e0de1ab]::-webkit-scrollbar {
38
+ .o-nav[data-v-64df272e]::-webkit-scrollbar {
39
39
  display: none;
40
40
  }
41
- [data-o-theme*=dark] .o-nav[data-v-7e0de1ab]::after {
41
+ .right-icon[data-v-64df272e] {
42
+ display: flex;
43
+ align-items: center;
44
+ cursor: pointer;
45
+ width: 16px;
46
+ height: 16px;
47
+ border-radius: var(--o-radius-xs);
48
+ }
49
+ .right-icon .o-icon[data-v-64df272e] {
50
+ --icon-size: 16px;
51
+ }
52
+ @media (hover: hover) {
53
+ .right-icon[data-v-64df272e]:hover {
54
+ background-color: var(--o-color-control2-light);
55
+ color: var(--o-color-link2);
56
+ }
57
+ }
58
+ .right-icon[data-v-64df272e]:active {
59
+ color: var(--o-color-link3);
60
+ }
61
+ [data-o-theme*=dark] .o-nav[data-v-64df272e]::after {
42
62
  background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 0) 0%, rgba(var(--o-grey-4), 1) 100%);
43
63
  }
44
- .o-nav-scroll[data-v-7e0de1ab]::after {
64
+ .o-nav-scroll[data-v-64df272e]::after {
45
65
  display: none;
46
66
  }
47
- .o-nav-list[data-v-7e0de1ab] {
67
+ .o-nav-list[data-v-64df272e] {
48
68
  display: flex;
49
69
  height: 100%;
50
70
  width: fit-content;
@@ -53,7 +73,7 @@
53
73
  padding: 0;
54
74
  margin: 0;
55
75
  }
56
- .o-nav-list li[data-v-7e0de1ab] {
76
+ .o-nav-list li[data-v-64df272e] {
57
77
  position: relative;
58
78
  display: flex;
59
79
  align-items: center;
@@ -61,10 +81,10 @@
61
81
  color: var(--o-color-info1);
62
82
  transition: all var(--o-duration-s) var(--o-easing-standard);
63
83
  }
64
- .o-nav-list li .nav-text[data-v-7e0de1ab] {
84
+ .o-nav-list li .nav-text[data-v-64df272e] {
65
85
  position: relative;
66
86
  }
67
- .o-nav-list li .nav-text[data-v-7e0de1ab]::after {
87
+ .o-nav-list li .nav-text[data-v-64df272e]::after {
68
88
  content: "";
69
89
  position: absolute;
70
90
  left: 0;
@@ -76,16 +96,26 @@
76
96
  background: var(--o-color-primary1);
77
97
  transition: all var(--o-duration-s) var(--o-easing-standard);
78
98
  }
79
- .o-nav-list li.is-selected .nav-text[data-v-7e0de1ab], .o-nav-list li.is-active .nav-text[data-v-7e0de1ab] {
99
+ @media (max-width: 1440px) {
100
+ .o-nav-list li .nav-text[data-v-64df272e]::after {
101
+ bottom: -21px;
102
+ }
103
+ }
104
+ @media (max-width: 1200px) {
105
+ .o-nav-list li .nav-text[data-v-64df272e]::after {
106
+ bottom: -17px;
107
+ }
108
+ }
109
+ .o-nav-list li.is-selected .nav-text[data-v-64df272e], .o-nav-list li.is-active .nav-text[data-v-64df272e] {
80
110
  color: var(--o-color-primary1);
81
111
  z-index: 99;
82
- font-weight: 500;
112
+ font-weight: 600;
83
113
  }
84
- .o-nav-list li.is-selected .nav-text[data-v-7e0de1ab]::after, .o-nav-list li.is-active .nav-text[data-v-7e0de1ab]::after {
114
+ .o-nav-list li.is-selected .nav-text[data-v-64df272e]::after, .o-nav-list li.is-active .nav-text[data-v-64df272e]::after {
85
115
  content: "";
86
116
  opacity: 1;
87
117
  }
88
- .o-nav-list .nav-item[data-v-7e0de1ab] {
118
+ .o-nav-list .nav-item[data-v-64df272e] {
89
119
  cursor: default;
90
120
  display: flex;
91
121
  align-items: center;
@@ -94,48 +124,48 @@
94
124
  line-height: 24px;
95
125
  }
96
126
  @media (min-width: 1201px) and (max-width: 1680px) {
97
- .o-nav-list .nav-item[data-v-7e0de1ab] {
127
+ .o-nav-list .nav-item[data-v-64df272e] {
98
128
  font-size: 14px;
99
129
  line-height: 22px;
100
130
  }
101
131
  }
102
132
  @media (min-width: 841px) and (max-width: 1200px) {
103
- .o-nav-list .nav-item[data-v-7e0de1ab] {
133
+ .o-nav-list .nav-item[data-v-64df272e] {
104
134
  font-size: 14px;
105
135
  line-height: 22px;
106
136
  }
107
137
  }
108
138
  @media (min-width: 601px) and (max-width: 840px) {
109
- .o-nav-list .nav-item[data-v-7e0de1ab] {
139
+ .o-nav-list .nav-item[data-v-64df272e] {
110
140
  font-size: 14px;
111
141
  line-height: 22px;
112
142
  }
113
143
  }
114
144
  @media (max-width: 600px) {
115
- .o-nav-list .nav-item[data-v-7e0de1ab] {
145
+ .o-nav-list .nav-item[data-v-64df272e] {
116
146
  font-size: 12px;
117
147
  line-height: 18px;
118
148
  }
119
149
  }
120
- @media (min-width: 1201px) and (max-width: 1680px) {
121
- .o-nav-list .nav-item[data-v-7e0de1ab] {
122
- padding: 22px 12px;
150
+ @media (max-width: 1440px) {
151
+ .o-nav-list .nav-item[data-v-64df272e] {
152
+ padding: 18px 12px;
123
153
  }
124
154
  }
125
155
  @media (min-width: 841px) and (max-width: 1200px) {
126
- .o-nav-list .nav-item[data-v-7e0de1ab] {
127
- padding: 22px 8px;
156
+ .o-nav-list .nav-item[data-v-64df272e] {
157
+ padding: 14px 8px;
128
158
  }
129
159
  }
130
160
  @media (min-width: 841px) and (max-width: 1000px) {
131
- .o-nav-list .nav-item.en[data-v-7e0de1ab] {
161
+ .o-nav-list .nav-item.en[data-v-64df272e] {
132
162
  padding: var(--o-gap-2);
133
163
  }
134
164
  }
135
- .o-nav-list .item-other[data-v-7e0de1ab] {
165
+ .o-nav-list .item-other[data-v-64df272e] {
136
166
  cursor: pointer;
137
167
  }
138
- .o-nav-list .item-other .content-tag[data-v-7e0de1ab] {
168
+ .o-nav-list .item-other .content-tag[data-v-64df272e] {
139
169
  margin-left: var(--o-gap-2);
140
170
  --layout-pkg-radius: var(--o-radius-xs);
141
171
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./HeaderNav.vue2.mjs";
2
2
  import './HeaderNav.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const HeaderNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7e0de1ab"]]);
4
+ const HeaderNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64df272e"]]);
5
5
  export {
6
6
  HeaderNav as default
7
7
  };
@@ -144,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
144
144
  key: item.id,
145
145
  class: normalizeClass({
146
146
  "is-selected": hoverIndex.value === item.id || props.hoverId === item.id,
147
- "is-active": props.activeIndex === idx
147
+ "is-active": props.activeIndex === idx || props.activeIndex === item.id
148
148
  }),
149
149
  onMouseenter: ($event) => unref(toggleDebounced)(item, "mouseenter"),
150
150
  onMouseleave: ($event) => unref(toggleDebounced)(item, "mouseleave")