docs: nav-phone-icon display normal (#6906)
parent
9464158c0c
commit
1f01ae0728
|
@ -20,19 +20,7 @@
|
||||||
Surely Form AI 助手内测开放申请
|
Surely Form AI 助手内测开放申请
|
||||||
<a target="_blank" href="https://form.antdv.com">立即申请</a>
|
<a target="_blank" href="https://form.antdv.com">立即申请</a>
|
||||||
</div>
|
</div>
|
||||||
<a-popover
|
<a-row :style="{ flexFlow: 'nowrap', height: 64, position: 'relative' }">
|
||||||
v-model:open="menuVisible"
|
|
||||||
overlay-class-name="popover-menu"
|
|
||||||
placement="bottomRight"
|
|
||||||
trigger="click"
|
|
||||||
arrow-point-at-center
|
|
||||||
>
|
|
||||||
<UnorderedListOutlined class="nav-phone-icon" />
|
|
||||||
<template #content>
|
|
||||||
<Menu :is-mobile="isMobile" />
|
|
||||||
</template>
|
|
||||||
</a-popover>
|
|
||||||
<a-row :style="{ flexFlow: 'nowrap', height: 64 }">
|
|
||||||
<a-col v-bind="colProps[0]">
|
<a-col v-bind="colProps[0]">
|
||||||
<Logo />
|
<Logo />
|
||||||
</a-col>
|
</a-col>
|
||||||
|
@ -45,6 +33,18 @@
|
||||||
/>
|
/>
|
||||||
<Menu v-if="!isMobile" />
|
<Menu v-if="!isMobile" />
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-popover
|
||||||
|
v-model:open="menuOpen"
|
||||||
|
overlay-class-name="popover-menu"
|
||||||
|
placement="bottomRight"
|
||||||
|
trigger="click"
|
||||||
|
arrow-point-at-center
|
||||||
|
>
|
||||||
|
<UnorderedListOutlined class="nav-phone-icon" />
|
||||||
|
<template #content>
|
||||||
|
<Menu :is-mobile="isMobile" />
|
||||||
|
</template>
|
||||||
|
</a-popover>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-modal
|
<a-modal
|
||||||
title="新版发布,邀您体验"
|
title="新版发布,邀您体验"
|
||||||
|
@ -105,7 +105,7 @@ export default defineComponent({
|
||||||
return ['', 'index', 'index-cn'].includes(route.path);
|
return ['', 'index', 'index-cn'].includes(route.path);
|
||||||
});
|
});
|
||||||
|
|
||||||
const menuVisible = ref(false);
|
const menuOpen = ref(false);
|
||||||
const colProps = isHome.value
|
const colProps = isHome.value
|
||||||
? [{ flex: 'none' }, { flex: 'auto' }]
|
? [{ flex: 'none' }, { flex: 'auto' }]
|
||||||
: [
|
: [
|
||||||
|
@ -175,7 +175,7 @@ export default defineComponent({
|
||||||
'home-header': isHome.value,
|
'home-header': isHome.value,
|
||||||
},
|
},
|
||||||
colProps,
|
colProps,
|
||||||
menuVisible,
|
menuOpen,
|
||||||
onTriggerSearching,
|
onTriggerSearching,
|
||||||
visibleAlertBanner,
|
visibleAlertBanner,
|
||||||
cancelButtonProps,
|
cancelButtonProps,
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
.nav-phone-icon {
|
.nav-phone-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 25px;
|
top: 50%;
|
||||||
right: 30px;
|
right: 16px;
|
||||||
|
transform: translateY(-50%);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
display: none;
|
display: none;
|
||||||
width: 16px;
|
|
||||||
height: 22px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
font-size: 18px;
|
||||||
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 992px) {
|
@media only screen and (max-width: 992px) {
|
||||||
|
|
Loading…
Reference in New Issue