|
20 | 20 | Surely Form AI 助手内测开放申请 |
21 | 21 | <a target="_blank" href="https://form.antdv.com">立即申请</a> |
22 | 22 | </div> |
23 | | - <a-popover |
24 | | - v-model:open="menuVisible" |
25 | | - overlay-class-name="popover-menu" |
26 | | - placement="bottomRight" |
27 | | - trigger="click" |
28 | | - arrow-point-at-center |
29 | | - > |
30 | | - <UnorderedListOutlined class="nav-phone-icon" /> |
31 | | - <template #content> |
32 | | - <Menu :is-mobile="isMobile" /> |
33 | | - </template> |
34 | | - </a-popover> |
35 | | - <a-row :style="{ flexFlow: 'nowrap', height: 64 }"> |
| 23 | + <a-row :style="{ flexFlow: 'nowrap', height: 64, position: 'relative' }"> |
36 | 24 | <a-col v-bind="colProps[0]"> |
37 | 25 | <Logo /> |
38 | 26 | </a-col> |
|
45 | 33 | /> |
46 | 34 | <Menu v-if="!isMobile" /> |
47 | 35 | </a-col> |
| 36 | + <a-popover |
| 37 | + v-model:open="menuOpen" |
| 38 | + overlay-class-name="popover-menu" |
| 39 | + placement="bottomRight" |
| 40 | + trigger="click" |
| 41 | + arrow-point-at-center |
| 42 | + > |
| 43 | + <UnorderedListOutlined class="nav-phone-icon" /> |
| 44 | + <template #content> |
| 45 | + <Menu :is-mobile="isMobile" /> |
| 46 | + </template> |
| 47 | + </a-popover> |
48 | 48 | </a-row> |
49 | 49 | <a-modal |
50 | 50 | title="新版发布,邀您体验" |
@@ -105,7 +105,7 @@ export default defineComponent({ |
105 | 105 | return ['', 'index', 'index-cn'].includes(route.path); |
106 | 106 | }); |
107 | 107 |
|
108 | | - const menuVisible = ref(false); |
| 108 | + const menuOpen = ref(false); |
109 | 109 | const colProps = isHome.value |
110 | 110 | ? [{ flex: 'none' }, { flex: 'auto' }] |
111 | 111 | : [ |
@@ -175,7 +175,7 @@ export default defineComponent({ |
175 | 175 | 'home-header': isHome.value, |
176 | 176 | }, |
177 | 177 | colProps, |
178 | | - menuVisible, |
| 178 | + menuOpen, |
179 | 179 | onTriggerSearching, |
180 | 180 | visibleAlertBanner, |
181 | 181 | cancelButtonProps, |
|
0 commit comments